### Class

# GdkWayland WaylandDisplay

since: 4.0

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

Available since: 4.0

#### 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. since: 4.0

###### gdk_wayland_display_get_wl_compositor

Returns the Wayland `wl_compositor` of a `GdkDisplay`.

since: 4.0

###### gdk_wayland_display_get_wl_display

Returns the Wayland `wl_display` of a `GdkDisplay`.

since: 4.0

###### gdk_wayland_display_query_registry

Returns `TRUE` if the interface was found in the display `wl_registry.global` handler.

since: 4.0

###### gdk_wayland_display_set_cursor_theme

Sets the cursor theme for the given `display`.

since: 4.0

###### gdk_wayland_display_set_startup_notification_id

Sets the startup notification ID for a display.

deprecated: 4.10. since: 4.0

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

since: 4.0

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

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

since: 4.14

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

`TRUE` if the display supports input shapes.

since: 4.0

###### Gdk.Display:rgba

`TRUE` if the display supports an alpha channel.

since: 4.0

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

`TRUE` if the display supports extensible frames.

since: 4.14

#### Signals

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

###### GdkDisplay::closed

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

since: 4.0

###### GdkDisplay::opened

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

since: 4.0

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

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

since: 4.0

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

Emitted whenever a seat is removed by the windowing system.

since: 4.0

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

Emitted whenever a setting changes its value.

since: 4.0

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

since: 2.0

#### Class structure

    struct GdkWaylandWaylandDisplayClass {
      /* no available fields */
    }

No description available.