ValueAtk

Description AtkValue should be implemented for components which either display a value from a bounded range, or which allow the user to specify a value from a bounded range, or both. For instance, most sliders and range controls, as well as dials, should have AtkObject representations which implement AtkValue on the component's behalf. AtKValues may be read-only, in which case attempts to alter the value return FALSE to indicate failure.

Constructors

this
this(AtkValue* atkValue)

Sets our main struct and passes it to the parent class

Members

Functions

getCurrentValue
void getCurrentValue(Value value)

Gets the value of this object.

getMaximumValue
void getMaximumValue(Value value)

Gets the maximum value of this object.

getMinimumIncrement
void getMinimumIncrement(Value value)

Gets the minimum increment by which the value of this object may be changed. If zero, the minimum increment is undefined, which may mean that it is limited only by the floating point precision of the platform. Since 1.12

getMinimumValue
void getMinimumValue(Value value)

Gets the minimum value of this object.

getStruct
void* getStruct()

the main Gtk struct as a void*

getValueAtkStruct
AtkValue* getValueAtkStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
setCurrentValue
int setCurrentValue(Value value)

Sets the value of this object.

Variables

atkValue
AtkValue* atkValue;

the main Gtk struct

Meta