[][src]Module wayland_protocols::xdg_shell::client::xdg_toplevel

toplevel surface

This interface defines an xdg_surface role which allows a surface to, among other things, set window-like properties such as maximize, fullscreen, and minimize, set application-specific metadata like title and id, and well as trigger user interactive operations such as interactive resize and move.

Unmapping an xdg_toplevel means that the surface cannot be shown by the compositor until it is explicitly mapped again. All active operations (e.g., move, resize) are canceled and all attributes (e.g. title, state, stacking, ...) are discarded for an xdg_toplevel surface when it is unmapped.

Attaching a null buffer to a toplevel unmaps the surface.

Structs

XdgToplevel

Enums

Event
Request
ResizeEdge

edge values for resizing

State

types of state on the surface

Constants

EVT_CLOSE_SINCE

The minimal object version supporting this event

EVT_CONFIGURE_SINCE

The minimal object version supporting this event

REQ_DESTROY_SINCE

The minimal object version supporting this request

REQ_MOVE_SINCE

The minimal object version supporting this request

REQ_RESIZE_SINCE

The minimal object version supporting this request

REQ_SET_APP_ID_SINCE

The minimal object version supporting this request

REQ_SET_FULLSCREEN_SINCE

The minimal object version supporting this request

REQ_SET_MAXIMIZED_SINCE

The minimal object version supporting this request

REQ_SET_MAX_SIZE_SINCE

The minimal object version supporting this request

REQ_SET_MINIMIZED_SINCE

The minimal object version supporting this request

REQ_SET_MIN_SIZE_SINCE

The minimal object version supporting this request

REQ_SET_PARENT_SINCE

The minimal object version supporting this request

REQ_SET_TITLE_SINCE

The minimal object version supporting this request

REQ_SHOW_WINDOW_MENU_SINCE

The minimal object version supporting this request

REQ_UNSET_FULLSCREEN_SINCE

The minimal object version supporting this request

REQ_UNSET_MAXIMIZED_SINCE

The minimal object version supporting this request

Statics

xdg_toplevel_events

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

xdg_toplevel_interface

C representation of this interface, for interop

xdg_toplevel_requests

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

Traits

EventHandler

An interface for handling events.