ToplevelState#

class ToplevelState#

Specifies the state of a toplevel surface.

On platforms that support information about individual edges, the TILED state will be set whenever any of the individual tiled states is set. On platforms that lack that support, the tiled state will give an indication of tiledness without any of the per-edge states being set.

Fields#

class ToplevelState
ABOVE#

The surface is kept above other surfaces

BELOW#

The surface is kept below other surfaces

BOTTOM_RESIZABLE#

Whether the bottom edge is resizable

BOTTOM_TILED#

Whether the bottom edge is tiled

FOCUSED#

The surface is presented as focused (with active decorations)

FULLSCREEN#

The surface is maximized without decorations

LEFT_RESIZABLE#

Whether the left edge is resizable

LEFT_TILED#

Whether the left edge is tiled

MAXIMIZED#

The surface is maximized

MINIMIZED#

The surface is minimized

RIGHT_RESIZABLE#

Whether the right edge is resizable

RIGHT_TILED#

Whether the right edge is tiled

STICKY#

The surface is sticky

SUSPENDED#

The surface is not visible to the user.

Added in version 4.12.

TILED#

The surface is in a tiled state

TOP_RESIZABLE#

Whether the top edge is resizable

TOP_TILED#

Whether the top edge is tiled