Clickable¶
- component fbx.ui.base.Clickable¶
Button base class. Only defines a clickable zone (with mouse) and a keyboard-focusable element.
Clickable { focus: true onClicked: console.log("Hey") }
- signal clicked()¶
Widget got clicked, either through mouse interaction or keyboard press.
- property pressed¶
Emitted when user clicked the widget, either through mouse interaction or keyboard press.
- property hovered¶
Whether button is currently hovered
- property enabled¶
Whether widget should accept user interaction