Class

GdkWayland.WaylandDisplay

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().

Ancestors

  • GdkDisplay
  • GObject

Instance methods

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 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.

Class structure

struct GdkWaylandWaylandDisplayClass {
  /* no available fields */
}