lua_button
dt_type
A clickable button
Attributes:
🔗lua_button.__call
see types.lua_widget.As a function
🔗lua_button.extra registration parameters
This widget has no extra registration parameters
🔗lua_button.label
string
The label displayed on the button
Attributes:
🔗lua_button.halign
The horizontal alignment of the button label
Attributes:
🔗lua_button.ellipsize
The ellipsize mode of the button label
Attributes:
🔗lua_button.image
image
The image displayed on the button instead of a label
Attributes:
🔗lua_button.image_align
The horizontal alignment of the button image
Attributes:
🔗lua_button.clicked_callback
function(
widget : types.lua_widget
)
A function to call on button click
- widget - types.lua_widget - The widget that triggered the callback
Attributes: