Skip to content

Search

Dokumentace

widget_tabs

The row a tabs reads: which child it shows. The widget_tabs component of the Balaur game engine: its 1 property, and the functions a script calls on it.

Na této stránce

ui · 1 property · UI

The row a tabs reads: which child it shows.

In a scene, widget_tabs is the node key that applies it. A script reaches each property below as a field on node.widget_tabs: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.widget_tabs.get() and node.widget_tabs.set(table).

Properties

property type default description
current_page string — Which child a tabs shows, by node name; empty shows the first. A click on the strip writes it and calls on_change with the page's name

Opravdu?