button_properties.h File Reference

Variables

static PropertyType< bool > IsPressedProperty
 IsPressed property. More...
 
static PropertyType< float > LongPressIntervalProperty
 LongPressInterval property. More...
 
static PropertyType< bool > PressOnHoverProperty
 PressOnHover property. More...
 
static PropertyType< float > AutoClickIntervalProperty
 AutoClickInterval property. More...
 
static PropertyType< int > ToggleStateProperty
 ToggleState property. More...
 
static PropertyType< int > ToggleStateCountProperty
 ToggleStateCount property. More...
 
static PropertyType< int > IndexInGroupProperty
 IndexInGroup property. More...
 

Variable Documentation

PropertyType<bool> IsPressedProperty
static

IsPressed property.

Whether the button is in down state. The default value is false.

See also
setIsPressed(), isIsPressed()
PropertyType<float> 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> 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> 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()
PropertyType<int> ToggleStateProperty
static

ToggleState property.

The current toggle state of a toggle button. The default value is 0.

See also
setToggleState(), getToggleState()
PropertyType<int> ToggleStateCountProperty
static

ToggleStateCount property.

The number of toggle states of a toggle button. The default value is 0.

See also
setToggleStateCount(), getToggleStateCount()
PropertyType<int> IndexInGroupProperty
static

IndexInGroup property.

The default value is -1.

See also
setIndexInGroup(), getIndexInGroup()