Class
GdkWaylandWaylandDisplay
Description [src]
final class GdkWayland.WaylandDisplay : Gdk.Display {
/* No available fields */
}
The Wayland implementation of GdkDisplay
.
Beyond the regular GdkDisplay
API, the Wayland implementation
provides access to Wayland objects such as the wl_display
with
gdk_wayland_display_get_wl_display()
, the wl_compositor
with
gdk_wayland_display_get_wl_compositor()
.
You can find out what Wayland globals are supported by a display
with gdk_wayland_display_query_registry()
.
Instance methods
gdk_wayland_display_get_egl_display
Retrieves the EGL display connection object for the given GDK display.
Available since: 4.4
gdk_wayland_display_get_startup_notification_id
Gets the startup notification ID for a Wayland display, or NULL
if no ID has been defined.
gdk_wayland_display_get_wl_compositor
Returns the Wayland wl_compositor
of a GdkDisplay
.
gdk_wayland_display_get_wl_display
Returns the Wayland wl_display
of a GdkDisplay
.
gdk_wayland_display_query_registry
Returns TRUE
if the interface was found in the display
wl_registry.global
handler.
gdk_wayland_display_set_cursor_theme
Sets the cursor theme for the given display
.
gdk_wayland_display_set_startup_notification_id
Sets the startup notification ID for a display.
Methods inherited from GdkDisplay (26)
Please see GdkDisplay for a full list of methods.
Properties
Properties inherited from GdkDisplay (3)
Gdk.Display:composited
TRUE
if the display properly composites the alpha channel.
Gdk.Display:input-shapes
TRUE
if the display supports input shapes.
Gdk.Display:rgba
TRUE
if the display supports an alpha channel.
Signals
Signals inherited from GdkDisplay (5)
Gdk.Display::closed
Emitted when the connection to the windowing system for display
is closed.
Gdk.Display::opened
Emitted when the connection to the windowing system for display
is opened.
Gdk.Display::seat-added
Emitted whenever a new seat is made known to the windowing system.
Gdk.Display::seat-removed
Emitted whenever a seat is removed by the windowing system.
Gdk.Display::setting-changed
Emitted whenever a setting changes its value.
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.