mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 08:05:18 +02:00
Replace settings tab with button
This commit is contained in:
committed by
Gregor Parzefall
parent
798b9eae4a
commit
48ab1835da
@@ -75,7 +75,7 @@ methods:
|
||||
^ handler: function(tabview,fields) --> returns true to finish button processing false to continue
|
||||
- set_parent(parent)
|
||||
^ set parent to attach tabview to. TV's with parent are hidden if their parent
|
||||
is hidden and they don't set their specified size.
|
||||
is hidden and they don't set their specified size.
|
||||
^ parent: component to attach to
|
||||
- show()
|
||||
^ show tabview
|
||||
@@ -85,6 +85,12 @@ methods:
|
||||
^ delete tabview
|
||||
- set_fixed_size(state)
|
||||
^ true/false set to fixed size, variable size
|
||||
- set_end_button(info)
|
||||
^ info is a table with:
|
||||
* name: button name
|
||||
* label: tooltip text
|
||||
* icon: path to icon
|
||||
* on_click(tabview): callback function
|
||||
|
||||
File: fst/dialog.lua
|
||||
---------------------
|
||||
|
Reference in New Issue
Block a user