forked from AuroraMiddleware/gtk
28c2b0a31f
Thu Jun 20 19:41:09 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c tests/*.c: Renames: gdk_get_default_display => gdk_display_get_default gdk_get_default_screen => gdk_screen_get_default gdk_open_display => gdk_display_open
208 lines
2.9 KiB
Plaintext
208 lines
2.9 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GdkDisplay
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
controls the keyboard/mouse pointer grabs and a set of <type>GdkScreen</type>s
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
#GdkDisplay objects purpose are two fold:
|
|
<itemizedlist>
|
|
<listitem><para>To grab/ungrab keyboard focus and mouse pointer</para></listitem>
|
|
<listitem><para>To manage and provide information about the #GdkScreen(s)
|
|
available for this #GdkDisplay
|
|
</para></listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
<para>
|
|
#GdkDisplay objects are the GDK representation of the X Display which can be
|
|
described as <emphasis>a workstation consisting of a keyboard a pointing
|
|
device (such as a mouse) and one or more screens</emphasis>.
|
|
It is used to open and keep track of various #GdkScreen objects currently
|
|
instanciated by the application. It is also used to grab and release the keyboard
|
|
and the mouse pointer.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GdkDisplay ##### -->
|
|
<para>
|
|
The <structname>GdkDisplay</structname> struct is the GDK representation
|
|
of an X display. All its fields are private and should not be accessed directly.
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_open ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display_name:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_get_default ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_get_name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_get_n_screens ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_get_screen ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@screen_num:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_get_default_screen ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_pointer_ungrab ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@time:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_keyboard_ungrab ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@time:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_pointer_is_grabbed ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_beep ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_sync ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_close ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_list_devices ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_get_event ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_peek_event ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_put_event ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@event:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_add_client_message_filter ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@message_type:
|
|
@func:
|
|
@data:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_set_double_click_time ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@msec:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_display_set_sm_client_id ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@display:
|
|
@sm_client_id:
|
|
|
|
|