![]() | ![]() | ![]() | ATK Library Reference Manual |
---|
AtkValue — The ATK interface implemented by valuators and components which display or select a value from a bounded range of values.
struct AtkValue; void atk_value_get_current_value (AtkValue *obj,GValue *value); void atk_value_get_maximum_value (AtkValue *obj,GValue *value); void atk_value_get_minimum_value (AtkValue *obj,GValue *value);gboolean atk_value_set_current_value (AtkValue *obj, constGValue *value);
GInterface +----AtkValue
AtkValue is implemented by AtkNoOpObject.
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.
void atk_value_get_current_value (AtkValue *obj,GValue *value);
Gets the value of this object.
obj : | a GObject instance that implements AtkValueIface |
value : | a |
void atk_value_get_maximum_value (AtkValue *obj,GValue *value);
Gets the maximum value of this object.
obj : | a GObject instance that implements AtkValueIface |
value : | a |
void atk_value_get_minimum_value (AtkValue *obj,GValue *value);
Gets the minimum value of this object.
obj : | a GObject instance that implements AtkValueIface |
value : | a |
gboolean atk_value_set_current_value (AtkValue *obj, constGValue *value);
Sets the value of this object.
obj : | a GObject instance that implements AtkValueIface |
value : | a |
Returns : | TRUE if new value is successfully set, FALSE otherwise. |
<< AtkUtil |