Top |
Description
The purpose of the GdkDisplayManager singleton object is to offer notification when displays appear or disappear or the default display changes.
Functions
gdk_display_manager_get ()
GdkDisplayManager *
gdk_display_manager_get (void
);
Gets the singleton GdkDisplayManager object.
Returns
The global GdkDisplayManager singleton; gdk_parse_pargs()
,
gdk_init()
, or gdk_init_check()
must have been called first.
[transfer none]
Since 2.2
gdk_display_manager_get_default_display ()
GdkDisplay *
gdk_display_manager_get_default_display
(GdkDisplayManager *display_manager
);
Gets the default GdkDisplay.
Since 2.2
gdk_display_manager_set_default_display ()
void gdk_display_manager_set_default_display (GdkDisplayManager *display_manager
,GdkDisplay *display
);
Sets display
as the default display.
Since 2.2
gdk_display_manager_list_displays ()
GSList *
gdk_display_manager_list_displays (GdkDisplayManager *display_manager
);
List all currently open displays.
Returns
a newly allocated
GSList of GdkDisplay objects. Free this list with g_slist_free()
when you
are done with it.
[transfer container][element-type GdkDisplay]
Since 2.2
gdk_display_get_core_pointer ()
GdkDevice *
gdk_display_get_core_pointer (GdkDisplay *display
);
Returns the core pointer device for the given display
Since 2.2
Property Details
The “default-display”
property
“default-display” GdkDisplay *
The default display for GDK.
Flags: Read / Write
Signal Details
The “display-opened”
signal
void user_function (GdkDisplayManager *display_manager, GdkDisplay *display, gpointer user_data)
The ::display_opened signal is emitted when a display is opened.
Parameters
display_manager |
the object on which the signal is emitted |
|
display |
the opened display |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 2.2