Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gdk.Display

Class Gdk.Display

Import line: Gdk = imports.gi.Gdk;
GIR File: Gdk-3.0.gir
C documentation: GdkDisplay
Class : Display
Extends: GObject.Object
GdkDisplay objects purpose are two fold:


To manage and provide information about input devices (pointers
and keyboards)


To manage and provide information about the available GdkScreens


GdkDisplay objects are the GDK representation of an 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 instantiated by the application. It is also used to
access the keyboard(s) and mouse pointer(s) of the display.
Most of the input device handling has been factored out into
the separate GdkDeviceManager object. Every display has a
device manager, which you can obtain using
gdk_display_get_device_manager().
Properties
None
Methods / Constructors
Method / Constructor Defined By
 
new Gdk.Display ()
Create a new Gdk.Display
Create a new Gdk.Display
 
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gdk
Method
Gdk.selection_owner_get_for_display (Display display, Atom selection) : Gdk.Window
Determine the owner of the given selection.
Gdk
Method
Gdk.selection_owner_set_for_display (Display display, Window owner, Atom selection, guint32 time_, gboolean send_event) : gboolean
Sets the GdkWindow owner as the current owner of the selection selection.
Gdk
Method
Gdk.selection_send_notify_for_display (Display display, Window requestor, Atom selection, Atom target, Atom property, guint32 time_) : none
Send a response to SelectionRequest event.
Gdk
Method
Gdk.text_property_to_utf8_list_for_display (Display display, Atom encoding, gint32 format, String text, gint32 length, Object out_values) : gint32
Converts a text property in the given encoding to
a list of UTF-8 strings.
Gdk.AppLaunchContext
Property
display : Gdk.Display
Gdk.AppLaunchContext
Method
set_display (Display display) : none
Sets the display on which applications will be launched when
using this context.
Gdk.Cursor
Property
display : Gdk.Display
Gdk.Cursor
Method
new Gdk.Cursor.for_display (Display display, CursorType cursor_type) : Gdk.Cursor
Create a new Gdk.Cursor
Gdk.Cursor
Method
new Gdk.Cursor.from_name (Display display, String name) : Gdk.Cursor
Create a new Gdk.Cursor
Gdk.Cursor
Method
new Gdk.Cursor.from_pixbuf (Display display, Pixbuf pixbuf, gint32 x, gint32 y) : Gdk.Cursor
Create a new Gdk.Cursor
Gdk.Cursor
Method
get_display () : Gdk.Display
Returns the display on which the GdkCursor is defined.
Gdk.Device
Property
display : Gdk.Display
The GdkDisplay the GdkDevice pertains to.
Gdk.Device
Method
Gdk.Device.grab_info_libgtk_only (Display display, Device device, Object out_values) : gboolean
Determines information about the current keyboard grab.
Gdk.Device
Method
get_display () : Gdk.Display
Returns the GdkDisplay to which device pertains.
Gdk.DeviceManager
Property
display : Gdk.Display
Gdk.DeviceManager
Method
get_display () : Gdk.Display
Gets the GdkDisplay associated to device_manager.
Gdk.DisplayManager
Property
default_display : Gdk.Display
Gdk.DisplayManager
Signal
display_opened (DisplayManager self, Display display) : none
The ::display-opened signal is emitted when a display is opened.
Gdk.DisplayManager
Method
get_default_display () : Gdk.Display
Gets the default GdkDisplay.
Gdk.DisplayManager
Method
open_display (String name) : Gdk.Display
Opens a display.
Gdk.DisplayManager
Method
set_default_display (Display display) : none
Sets display as the default display.
Gdk.Keymap
Method
Gdk.Keymap.get_for_display (Display display) : Gdk.Keymap
Returns the GdkKeymap attached to display.
Gdk.Screen
Method
get_display () : Gdk.Display
Gets the display to which the screen belongs.
Gdk.Window
Method
get_display () : Gdk.Display
Gets the GdkDisplay associated with a GdkWindow.
GdkX11
Method
GdkX11.x11_get_xatom_name_for_display (Display display, Atom xatom) : String
Returns the name of an X atom for its display.
GdkX11
Method
GdkX11.x11_lookup_xdisplay (Display xdisplay) : Gdk.Display
Find the GdkDisplay corresponding to display, if any exists.
GdkX11
Method
GdkX11.x11_register_standard_event_type (Display display, gint32 event_base, gint32 n_events) : none
Registers interest in receiving extension events with type codes
between event_base and event_base + n_events - 1.
GdkX11.X11Display
Method
GdkX11.X11Display.error_trap_pop (Display display) : gint32
Pops the error trap pushed by gdk_x11_display_error_trap_push().
GdkX11.X11Display
Method
GdkX11.X11Display.error_trap_pop_ignored (Display display) : none
Pops the error trap pushed by gdk_x11_display_error_trap_push().
GdkX11.X11Display
Method
GdkX11.X11Display.error_trap_push (Display display) : none
Begins a range of X requests on display for which X error events
will be ignored.
GdkX11.X11Display
Method
GdkX11.X11Display.get_startup_notification_id (Display display) : String
Gets the startup notification ID for a display.
GdkX11.X11Display
Method
GdkX11.X11Display.get_user_time (Display display) : guint32
Returns the timestamp of the last user interaction on
by user interaction such as key presses or pointer
movements.
GdkX11.X11Display
Method
GdkX11.X11Display.grab (Display display) : none
Call XGrabServer() on display.
GdkX11.X11Display
Method
GdkX11.X11Display.set_cursor_theme (Display display, String theme, gint32 size) : none
Sets the cursor theme from which the images for cursor
should be taken.
GdkX11.X11Display
Method
GdkX11.X11Display.set_startup_notification_id (Display display, String startup_id) : none
Sets the startup notification ID for a display.
GdkX11.X11Display
Method
GdkX11.X11Display.string_to_compound_text (Display display, String str, Object out_values) : gint32
Convert a string from the encoding of the current
locale into a form suitable for storing in a window property.
GdkX11.X11Display
Method
GdkX11.X11Display.text_property_to_text_list (Display display, Atom encoding, gint32 format, guint8 text, gint32 length, String list) : gint32
Convert a text string from the encoding as it is stored
in a property into an array of strings in the encoding of
the current locale.
GdkX11.X11Display
Method
GdkX11.X11Display.ungrab (Display display) : none
Ungrab display after it has been grabbed with
gdk_x11_display_grab().
GdkX11.X11Display
Method
GdkX11.X11Display.utf8_to_compound_text (Display display, String str, Object out_values) : gboolean
Converts from UTF-8 to compound text.
GdkX11.X11Window
Method
new GdkX11.X11Window.foreign_new_for_display (Display display, Window window) : Gdk.Window
Create a new GdkX11.X11Window
GdkX11.X11Window
Method
GdkX11.X11Window.lookup_for_display (Display display, Window window) : Gdk.Window
Looks up the GdkWindow that wraps the given native window handle.
Gtk
Method
Gtk.selection_owner_set_for_display (Display display, Widget widget, Atom selection, guint32 time_) : gboolean
Claim ownership of a given selection for a particular widget, or,
if widget is NULL, release ownership of the selection.
Gtk.Clipboard
Method
Gtk.Clipboard.get_for_display (Display display, Atom selection) : Gtk.Clipboard
Returns the clipboard object for the given selection.
Gtk.Clipboard
Method
get_display () : Gdk.Display
Gets the GdkDisplay associated with clipboard
Gtk.SelectionData
Method
get_display () : Gdk.Display
Retrieves the display of the selection.
Gtk.Tooltip
Method
Gtk.Tooltip.trigger_tooltip_query (Display display) : none
Triggers a new tooltip query on display, in order to update the current
visible tooltip, or to show/hide the current tooltip.
Gtk.Widget
Method
get_display () : Gdk.Display
Get the GdkDisplay for the toplevel window associated with
this widget.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:10:55 GMT+0800 (HKT)