Action Button
A button widget which is used to execute an action with clicking the button.
Native Style uses the button widget provided by the operating system,
so it may have better but different looking on different OS.
Operations
For a non-toggled button, simply clicking on the button will execute the action specified by
Click Action Index
property.
For a toggled button, pushing the button will execute the action specified by
Push Action Index
and releasing the button will execute the action specified by
Release Action Index
property.
Special Properties
- Style (style)
- Classic or Native Style.
- Push Action Index / Click Action Index (push_action_index)
-
Index of the action to be executed when
widget is pushed or clicked (for non-toggle button).
Actions are configured in
Actions
property.
- Release Action Index (release_action_index)
- Index of the action to be executed when
button is released. Actions are configured in
Actions
property.
- Toggle Button (toggle_button)
- If yes, this widget will toggle
to a state after clicking on it. If not, this widget will bounce back to the origin state after clicking on it.
- Text (text)
- Text on the button.
- Icon File (image)
- The image file of the icon on button.
See Also