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

types.dt_lua_align_t

The horizontal alignment of the button label

Attributes:

🔗lua_button.ellipsize

types.dt_lua_ellipsize_mode_t

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

types.dt_lua_align_t

The horizontal alignment of the button image

Attributes:

🔗lua_button.clicked_callback

function(
  widget : types.lua_widget
)

A function to call on button click

Attributes: