![]() |

This 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 Atk::Object representations which implement Atk::Value on the component's behalf. Atk::Values may be read-only, in which case attempts to alter the value return false to indicate failure.
Public Member Functions | |
| void | get_current_value (Glib::ValueBase& value) const |
| Gets the value of this object. | |
| void | get_maximum_value (Glib::ValueBase& value) const |
| Gets the maximum value of this object. | |
| void | get_minimum_value (Glib::ValueBase& value) const |
| Gets the minimum value of this object. | |
| const AtkValue* | gobj () const |
| Provides access to the underlying C GObject. | |
| AtkValue* | gobj () |
| Provides access to the underlying C GObject. | |
| bool | set_current_value (const Glib::ValueBase& value) |
| Sets the value of this object. | |
| virtual | ~Value () |
Static Public Member Functions | |
| void | add_interface (GType gtype_implementer) |
Protected Member Functions | |
| virtual void | get_current_value_vfunc (Glib::ValueBase& value) const |
| virtual void | get_maximum_value_vfunc (Glib::ValueBase& value) const |
| virtual void | get_minimum_value_vfunc (Glib::ValueBase& value) const |
| virtual bool | set_current_value_vfunc (const Glib::ValueBase& value) |
Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<Atk::Value> | wrap (AtkValue* object, bool take_copy=false) |
|
|
|
|
|
|
|
|
Gets the value of this object.
|
|
|
|
|
|
Gets the maximum value of this object.
|
|
|
|
|
|
Gets the minimum value of this object.
|
|
|
|
|
|
Provides access to the underlying C GObject.
Reimplemented from Glib::Interface. Reimplemented in Atk::NoOpObject. |
|
|
Provides access to the underlying C GObject.
Reimplemented from Glib::Interface. Reimplemented in Atk::NoOpObject. |
|
|
Sets the value of this object.
|
|
|
|
|
||||||||||||
|
|