klyn.gui.windows.Widget.isPressed
property
public property isPressed as Boolean
Description

Pressed-state flag consumed by the KSS :pressed pseudo-state.

Interactive widgets set this flag while their primary action is held. Keeping the state on the base widget lets custom controls participate in themed pressed feedback without inheriting from a specific button type.

widget.isPressed = true
widget.repaint()