### 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_egl_display

Retrieves the EGL display connection object for the given GDK display.

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.

deprecated: 4.10.

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

deprecated: 4.16

###### gdk_wayland_display_set_startup_notification_id

Sets the startup notification ID for a display.

deprecated: 4.10.

##### Methods inherited from GdkDisplay (28)

Please see GdkDisplay for a full list of methods.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

##### Properties inherited from GdkDisplay (5)

###### Gdk.Display:composited

`TRUE` if the display properly composites the alpha channel.

###### Gdk.Display:dmabuf-formats

The dma-buf formats that are supported on this display.

###### Gdk.Display:input-shapes

`TRUE` if the display supports input shapes.

###### Gdk.Display:rgba

`TRUE` if the display supports an alpha channel.

###### Gdk.Display:shadow-width

`TRUE` if the display supports extensible frames.

#### Signals

##### Signals inherited from GdkDisplay (5)

###### GdkDisplay::closed

Emitted when the connection to the windowing system for `display` is closed.

###### GdkDisplay::opened

Emitted when the connection to the windowing system for `display` is opened.

###### GdkDisplay::seat-added

Emitted whenever a new seat is made known to the windowing system.

###### GdkDisplay::seat-removed

Emitted whenever a seat is removed by the windowing system.

###### GdkDisplay::setting-changed

Emitted whenever a setting changes its value.

##### Signals inherited from GObject (1)

###### GObject::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.

#### Class structure

    struct GdkWaylandWaylandDisplayClass {
      /* no available fields */
    }

No description available.