Button¶
- component fbx.ui.control.Button¶
-
Button is a clickable widget.
- property text¶
Text string printed on the button.
- property hovered¶
Whether button is currently hovered by a mouse.
- property pressed¶
Whether button is currently pressed, either by a mouse or a keyboard press.
- property enabled¶
Whether button accepts user interaction. If this is set to false, the button appears grayed-out and does not react on hovering.
- signal clicked()¶
Signal raised when the button gets clicked, either with a mouse or with keyboard.