strand

surface

group surface: node

What every surface accepts.

Also every prop and event of node.

PropType
screensScreens | [text] | textThe monitors it is on: all, focused, or output names.
layerLayerIts layer-shell layer.
open<-> boolWhether it is shown. Bound two-way (open: <-> open), Escape, click-away and focus loss write false; on a window only the compositor's close and w.close() do.
keyboardKeyboardKeyboard focus: none, on_demand or exclusive.
anchorAnchorWhere it sits on the screen: anchor: top_right.
attachEdgeGrows out of an edge with concave fillets: attach: top.
scrimcolorA colour dimming what is behind it, on a popup or panel: scrim: $shadow.alpha(0.3). A single-pixel buffer, so it costs nothing; a gradient has no single-pixel form.
inhibit_idleboolWhile it is shown, the compositor does not go idle (no screensaver, dimming or lock by timeout): bar Top { inhibit_idle: caffeine }.
Event
on showIt was shown: on show { query = "" }.
on hideIt was hidden.

This page as Markdownllms.txt