![]() |
![]() |
![]() |
libatspi Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Known Implementations |
atspi-valueatspi-value — An interface supporting a one-dimensional scalar to be modified, or which reflects its value. |
AtspiValue; gdouble atspi_value_get_minimum_value (AtspiValue *obj
,GError **error
); gdouble atspi_value_get_current_value (AtspiValue *obj
,GError **error
); gdouble atspi_value_get_maximum_value (AtspiValue *obj
,GError **error
); gboolean atspi_value_set_current_value (AtspiValue *obj
,gdouble new_value
,GError **error
); gdouble atspi_value_get_minimum_increment (AtspiValue *obj
,GError **error
);
An interface supporting a one-dimensional scalar to be modified, or which reflects its value. If STATE_EDITABLE is not present, the value is treated as "read only".
gdouble atspi_value_get_minimum_value (AtspiValue *obj
,GError **error
);
Gets the minimum allowed value for an AtspiValue.
|
a pointer to the AtspiValue implementor on which to operate. |
Returns : |
the minimum allowed value for this object. |
gdouble atspi_value_get_current_value (AtspiValue *obj
,GError **error
);
Gets the current value for an AtspiValue.
|
a pointer to the AtspiValue implementor on which to operate. |
Returns : |
the current value for this object. |
gdouble atspi_value_get_maximum_value (AtspiValue *obj
,GError **error
);
Gets the maximum allowed value for an AtspiValue.
|
a pointer to the AtspiValue implementor on which to operate. |
Returns : |
the maximum allowed value for this object. |
gboolean atspi_value_set_current_value (AtspiValue *obj
,gdouble new_value
,GError **error
);
Sets the current value of an AtspiValue.
|
a pointer to the AtspiValue implementor on which to operate. |
|
a gdouble value which is the desired new value of the object. |
Returns : |
TRUE if the value could be assigned the specified value, FALSE otherwise. |
gdouble atspi_value_get_minimum_increment (AtspiValue *obj
,GError **error
);
Gets the minimum increment by which an AtspiValue can be adjusted.
|
a pointer to the AtspiValue implementor on which to operate. |
Returns : |
the minimum increment by which the value may be changed, or zero if the minimum increment cannot be determined. |