[][src]Module wayland_raw_protocol_bindings::client::wayland::wl_shell_surface

desktop-style metadata interface

An interface that may be implemented by a wl_surface, for implementations that provide a desktop-style user interface.

It provides requests to treat surfaces like toplevel, fullscreen or popup windows, move, resize or maximize them, associate metadata like title and class, etc.

On the server side the object is automatically destroyed when the related wl_surface is destroyed. On the client side, wl_shell_surface_destroy() must be called before destroying the wl_surface object.

Structs

resize

edge values for resizing

transient

details of transient behaviour

Enums

fullscreen_method

different method to set the surface fullscreen

wl_shell_surface

Statics

wl_shell_surface_events

C-representation of the messages of this interface, for interop

wl_shell_surface_interface

C representation of this interface, for interop

wl_shell_surface_requests

C-representation of the messages of this interface, for interop

Traits

wl_shell_surface_listener

An interface for handling events.

Functions

wl_shell_surface_add_listener
wl_shell_surface_add_rust_listener
wl_shell_surface_destroy
wl_shell_surface_get_user_data
wl_shell_surface_get_version
wl_shell_surface_move

start an interactive move

wl_shell_surface_pong

respond to a ping event

wl_shell_surface_resize

start an interactive resize

wl_shell_surface_set_class

set surface class

wl_shell_surface_set_fullscreen

make the surface a fullscreen surface

wl_shell_surface_set_maximized

make the surface a maximized surface

wl_shell_surface_set_popup

make the surface a popup surface

wl_shell_surface_set_title

set surface title

wl_shell_surface_set_toplevel

make the surface a toplevel surface

wl_shell_surface_set_transient

make the surface a transient surface

wl_shell_surface_set_user_data