Module xdg_toplevel_icon_v1

Source
Available on crate features staging and server only.
Expand description

a toplevel window icon

This interface defines a toplevel icon. An icon can have a name, and multiple buffers. In order to be applied, the icon must have either a name, or at least one buffer assigned. Applying an empty icon (with no buffer or name) to a toplevel should reset its icon to the default icon.

It is up to compositor policy whether to prefer using a buffer or loading an icon via its name. See ‘set_name’ and ‘add_buffer’ for details.

Structs§

XdgToplevelIconV1
a toplevel window icon

Enums§

Error
Event
Request

Constants§

REQ_ADD_BUFFER_OPCODE
The wire opcode for this request
REQ_ADD_BUFFER_SINCE
The minimal object version supporting this request
REQ_DESTROY_OPCODE
The wire opcode for this request
REQ_DESTROY_SINCE
The minimal object version supporting this request
REQ_SET_NAME_OPCODE
The wire opcode for this request
REQ_SET_NAME_SINCE
The minimal object version supporting this request