Trait gdk4_wayland::prelude::WaylandSurfaceExtManual

source ·
pub trait WaylandSurfaceExtManual: Sealed + IsA<WaylandSurface> + 'static {
    // Provided method
    fn wl_surface(&self) -> Option<WlSurface> { ... }
}
Expand description

Trait containing manually implemented methods of WaylandSurface.

Provided Methods§

source

fn wl_surface(&self) -> Option<WlSurface>

Available on crate feature wayland_crate only.

Returns the Wayland wl_surface of a gdk::Surface.

§Returns

a Wayland wl_surface

Object Safety§

This trait is not object safe.

Implementors§