Description Methods and Functions Hierarchy Detailed Description Structures Convenient Construction Signals Author(s) References
Controls the keyboard/mouse pointer grabs and a set of s
gdkDisplayOpen(display.name)
gdkDisplayGetDefault()
gdkDisplayGetName(object)
gdkDisplayGetNScreens(object)
gdkDisplayGetScreen(object, screen.num)
gdkDisplayGetDefaultScreen(object)
gdkDisplayPointerUngrab(object, time. = "GDK_CURRENT_TIME")
gdkDisplayKeyboardUngrab(object, time. = "GDK_CURRENT_TIME")
gdkDisplayPointerIsGrabbed(object)
gdkDisplayBeep(object)
gdkDisplaySync(object)
gdkDisplayFlush(object)
gdkDisplayClose(object)
gdkDisplayListDevices(object)
gdkDisplayGetEvent(object)
gdkDisplayPeekEvent(object)
gdkDisplayPutEvent(object, event)
gdkDisplayAddClientMessageFilter(object, message.type, func, data)
gdkDisplaySetDoubleClickTime(object, msec)
gdkDisplaySetDoubleClickDistance(object, distance)
gdkDisplayGetPointer(object)
gdkDisplayGetWindowAtPointer(object)
gdkDisplaySetPointerHooks(object, new.hooks)
gdkDisplayWarpPointer(object, screen, x, y)
gdkDisplaySupportsCursorColor(object)
gdkDisplaySupportsCursorAlpha(object)
gdkDisplayGetDefaultCursorSize(object)
gdkDisplayGetMaximalCursorSize(object)
gdkDisplayGetDefaultGroup(object)
gdkDisplaySupportsSelectionNotification(object)
gdkDisplayRequestSelectionNotification(object, selection)
gdkDisplaySupportsClipboardPersistence(object)
gdkDisplayStoreClipboard(object, clipboard.window, targets)
gdkDisplaySupportsShapes(object)
gdkDisplaySupportsInputShapes(object)
gdkDisplaySupportsComposite(object)
gdkDisplay(display.name)
1 2 | GObject
+----GdkDisplay
|
GdkDisplay
objects purpose are two fold:
To grab/ungrab keyboard focus and mouse pointer
To manage and provide information about the GdkScreen
(s)
available for this GdkDisplay
GdkDisplay
objects are the GDK representation of the X Display which can be
described as a workstation consisting of a keyboard a pointing
device (such as a mouse) and one or more screens.
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.
GdkDisplay
The GdkDisplay
struct is the GDK representation
of an X display. All its fields are private and should not be accessed directly.
Since 2.2
gdkDisplay
is the equivalent of gdkDisplayOpen
.
closed(display, is.error, user.data)
The ::closed signal is emitted when the connection to the windowing
system for display
is closed.
Since 2.2
display
the object on which the signal is emitted
is.error
TRUE
if the display was closed due to an error
user.data
user data set when the signal handler was connected.
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gdk2/stable/GdkDisplay.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.