Libraries:Gtk:Atk:Value
Types
T
ParentT
Constants
InterfaceInfo : Std.Object.T
Nil : T
Functions
GetType() : Gtk.GObject.Type.T
Methods
:GetCurrentValue(self @ T, value @ Gtk.GObject.Value.T) : Std.Object.T
Gets the value of this object.
obj | a GObject instance that implements AtkValueIface |
value | a GValue representing the current accessible value |
:GetCurrentValue(_ @ ParentT, _ @ Gtk.GObject.Value.T)
:GetMaximumValue(self @ T, value @ Gtk.GObject.Value.T) : Std.Object.T
Gets the maximum value of this object.
obj | a GObject instance that implements AtkValueIface |
value | a GValue representing the maximum accessible value |
:GetMaximumValue(_ @ ParentT, _ @ Gtk.GObject.Value.T)
:GetMinimumIncrement(self @ T, value @ Gtk.GObject.Value.T) : Std.Object.T
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.
obj | a GObject instance that implements AtkValueIface |
value | a GValue representing the minimum increment by which the accessible value may be changed |
:GetMinimumIncrement(_ @ ParentT, _ @ Gtk.GObject.Value.T)
:GetMinimumValue(self @ T, value @ Gtk.GObject.Value.T) : Std.Object.T
Gets the minimum value of this object.
obj | a GObject instance that implements AtkValueIface |
value | a GValue representing the minimum accessible value |
:GetMinimumValue(_ @ ParentT, _ @ Gtk.GObject.Value.T)
:SetCurrentValue(self @ T, value @ Gtk.GObject.Value.T) : Std.Symbol.T
Sets the value of this object.
obj | a GObject instance that implements AtkValueIface |
value | a GValue which is the desired new accessible value. |
Returns | TRUE if new value is successfully set, FALSE otherwise. |
T 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 Gtk.Atk.Object.T representations which implement T on the component's behalf. AtKValues may be read-only, in which case attempts to alter the value return FALSE to indicate failure.