Display
GdkDisplay
objects are the GDK representation of a workstation.
Their purpose are two-fold:
To manage and provide information about input devices (pointers, keyboards, etc)
To manage and provide information about output devices (monitors, projectors, etc)
Most of the input device handling has been factored out into separate class@Gdk.Seat objects. Every display has a one or more seats, which can be accessed with method@Gdk.Display.get_default_seat and method@Gdk.Display.list_seats.
Output devices are represented by class@Gdk.Monitor objects, which can be accessed with method@Gdk.Display.get_monitor_at_surface and similar APIs.
Skipped during bindings generation
parameter
keys
: keys: Out parameter is not supportedparameter
keys
: keys: Out parameter is not supportedparameter
keyval
: keyval: Out parameter is not supportedmethod
composited
: Property has no getter nor settermethod
input-shapes
: Property has no getter nor settermethod
rgba
: Property has no getter nor settermethod
shadow-width
: Property has no getter nor setter
Constructors
Properties
Functions
Emitted when the connection to the windowing system for @display is closed.
Emitted when the connection to the windowing system for @display is opened.
Emitted whenever a new seat is made known to the windowing system.
Emitted whenever a seat is removed by the windowing system.
Emitted whenever a setting changes its value.
Creates a new GdkGLContext
for the GdkDisplay
.
Returns true if there is an ongoing grab on @device for @display.
Returns a GdkAppLaunchContext
suitable for launching applications on the given display.
Gets the clipboard used for copy/paste operations.
Returns the default GdkSeat
for this display.
Gets the monitor in which the largest area of @surface resides.
Gets the list of monitors associated with this display.
Gets the clipboard used for the primary selection.
Retrieves a desktop-wide setting such as double-click time for the @display.
Gets the startup notification ID for a Wayland display, or null if no ID has been defined.
Returns whether surfaces can reasonably be expected to have their alpha channel drawn correctly on the screen.
Indicates to the GUI environment that the application has finished loading, using a given identifier.
Returns true if the display supports input shapes.
Returns whether it's possible for a surface to draw outside of the window area.