widget_fold
The row a fold reads: whether it shows what is under its header. The widget_fold component of the Balaur game engine: its 1 property, and the functions a…
Sur cette page
ui · 1 property · UI
The row a fold reads: whether it shows what is under its header.
In a scene, widget_fold is the node key that applies it. A script reaches each property below as a field on node.widget_fold: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.widget_fold.get() and node.widget_fold.set(table).
Properties
| property | type | default | description |
|---|---|---|---|
open |
bool | true |
Whether a fold shows its children; its header flips it and calls on_change with the new state |