Package: gdk

GFlags gdk:toplevel-state

Declaration

(gobject:define-gflags "GdkToplevelState" toplevel-state
  (:export t
   :type-initializer "gdk_toplevel_state_get_type")
  (:minimized #.(ash 1 0))
  (:maximized #.(ash 1 1))
  (:sticky #.(ash 1 2))
  (:fullscreen #.(ash 1 3))
  (:above #.(ash 1 4))
  (:below #.(ash 1 5))
  (:focused #.(ash 1 6))
  (:tiled #.(ash 1 7))
  (:top-tiled #.(ash 1 8))
  (:top-resizable #.(ash 1 9))
  (:right-tiled #.(ash 1 10))
  (:right-resizable #.(ash 1 11))
  (:bottom-tiled #.(ash 1 12))
  (:bottom-resizable #.(ash 1 13))
  (:left-tiled #.(ash 1 14))
  (:left-resizable #.(ash 1 15)))  

Values

:minimized
The surface is minimized.
:maximized
The surface is maximized.
:sticky
The surface is sticky.
:fullscreen
The surface is maximized without decorations.
:above
The surface is kept above other surfaces.
:below
The surface is kept below other surfaces.
:focused
The surface is presented as focused (with active decorations).
:tiled
The surface is in a tiled state.
:top-tiled
Whether the top edge is tiled.
:top-resizable
Whether the top edge is resizable.
:right-tiled
Whether the right edge is tiled.
:right-resizable
Whether the right edge is resizable.
:bottom-tiled
Whether the bottom edge is tiled.
:bottom-resizable
Whether the bottom edge is resizable.
:left-tiled
Whether the left edge is tiled.
:left-resizable
Whether the left edge is resizable.

Details

Specifies the state of a toplevel surface. On platforms that support information about individual edges, the :state-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.
 

See also

2024-7-12