Learn R Programming

RGtk2 (version 2.20.31)

GdkDisplay: GdkDisplay

Description

Controls the keyboard/mouse pointer grabs and a set of s

Arguments

Methods and Functions

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)

Hierarchy

GObject
   +----GdkDisplay

Detailed Description

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.

Structures

Convenient Construction

gdkDisplay is the equivalent of gdkDisplayOpen.

Signals

References

http://library.gnome.org/devel//gdk/GdkDisplay.html