Expand description
Gesture events and control, on_click, click_shortcut and more.
These events aggregate multiple lower-level events to represent a user interaction. Prefer using these events over the events directly tied to an input device.
Structs§
- Click
Args CLICK_EVENTarguments.
Enums§
- Mnemonic
- Defines the mnemonic char key that clicks the widget when pressed and focus is within the parent mnemonic scope.
Statics§
- ACTIVE_
MNEMONICS_ VAR - Inside an active
mnemonic_scopethis context var is a read-only map of the selectedcharfor each descendant of the scope.
Traits§
- Mnemonic
Widget Info Ext - Extension methods for widget info about mnemonic metadata.
Functions§
- click_
shortcut PKeyboard shortcuts that focus and clicks this widget.- context_
click_ shortcut PKeyboard shortcuts that focus and context clicks this widget.- get_
mnemonic PGets the mnemonic mode enabled for this widget or ancestor.- get_
mnemonic_ char PGet the active mnemonic shortcut char for this widget or ancestor.- mnemonic
PDefines the mnemonic char key that clicks the widget when pressed and focus is within the parent mnemonic scope.- mnemonic_
scope PDefines a mnemonic shortcut scope.- mnemonic_
txt PDefines the inner text of amnemonicparent widget.- on_
any_ click POn widget click from any source and of any click count and the widget is enabled.- on_
any_ double_ click POn widget double click from any source and the widget is enabled.- on_
any_ single_ click POn widget click from any source but excluding double/triple clicks and the widget is enabled.- on_
any_ triple_ click POn widget triple click from any source and the widget is enabled.- on_
click POn widget click with the primary button and any click count and the widget is enabled.- on_
context_ click POn widget click with the secondary/context button and the widget is enabled.- on_
disabled_ click POn widget click from any source and of any click count and the widget is disabled.- on_
double_ click POn widget double click with the primary button and the widget is enabled.- on_
pre_ any_ click POn widget click from any source and of any click count and the widget is enabled.- on_
pre_ any_ double_ click POn widget double click from any source and the widget is enabled.- on_
pre_ any_ single_ click POn widget click from any source but excluding double/triple clicks and the widget is enabled.- on_
pre_ any_ triple_ click POn widget triple click from any source and the widget is enabled.- on_
pre_ click POn widget click with the primary button and any click count and the widget is enabled.- on_
pre_ context_ click POn widget click with the secondary/context button and the widget is enabled.- on_
pre_ disabled_ click POn widget click from any source and of any click count and the widget is disabled.- on_
pre_ double_ click POn widget double click with the primary button and the widget is enabled.- on_
pre_ single_ click POn widget click with the primary button, excluding double/triple clicks and the widget is enabled.- on_
pre_ triple_ click POn widget triple click with the primary button and the widget is enabled.- on_
single_ click POn widget click with the primary button, excluding double/triple clicks and the widget is enabled.- on_
triple_ click POn widget triple click with the primary button and the widget is enabled.