Button concept class.
More...
#include <kanzi/ui/node/concept/button.hpp>
optional<int> kanzi::ButtonConcept::getEffectiveButtonGroupId |
( |
| ) |
const |
|
inline |
Measure function for a Node2D button.
IsPressed property.
Whether the button is in down state. The default value is false.
- See also
- setIsPressed(), isIsPressed()
PropertyType<float> kanzi::ButtonConcept::LongPressIntervalProperty |
|
static |
LongPressInterval property.
Occurs when the button is in down state for the set amount of milliseconds. Set to 0 to disable. The default value is 0.0f.
- See also
- setLongPressInterval(), getLongPressInterval()
PropertyType<bool> kanzi::ButtonConcept::PressOnHoverProperty |
|
static |
PressOnHover property.
Whether hovering the pointer over the button makes sets it into down state. The default value is false.
- See also
- setPressOnHover(), isPressOnHover()
PropertyType<float> kanzi::ButtonConcept::AutoClickIntervalProperty |
|
static |
AutoClickInterval property.
An interval in milliseconds after which a held down button sends a button click message. Set to 0 to disable. The default value is 0.0f.
- See also
- setAutoClickInterval(), getAutoClickInterval()
ToggleState property.
The current toggle state of a toggle button. The default value is 0.
- See also
- setToggleState(), getToggleState()
PropertyType<int> kanzi::ButtonConcept::ToggleStateCountProperty |
|
static |
ToggleStateCount property.
The number of toggle states of a toggle button. The default value is 0.
- See also
- setToggleStateCount(), getToggleStateCount()
PropertyType<int> kanzi::ButtonConcept::IndexInGroupProperty |
|
static |
IndexInGroup property.
The default value is -1.
- See also
- setIndexInGroup(), getIndexInGroup()
optional<int> kanzi::ButtonConcept::m_effectiveButtonGroupId |
|
protected |
The documentation for this class was generated from the following file: