atk.ValueAtk.ValueAtk Class Reference

List of all members.

Detailed Description

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.


Public Member Functions

AtkValuegetValueAtkStruct ()
 this (AtkValue *atkValue)
 Sets our main struct and passes it to the parent class.
void getCurrentValue (Value value)
 Gets the value of this object.
void getMaximumValue (Value value)
 Gets the maximum value of this object.
void getMinimumValue (Value value)
 Gets the minimum value of this object.
int setCurrentValue (Value value)
 Sets the value of this object.
void getMinimumIncrement (Value value)
 Gets the minimum increment by which the value of this object may be changed.

Protected Member Functions

void * getStruct ()
 the main Gtk struct as a void*

Protected Attributes

AtkValueatkValue
 the main Gtk struct


Constructor & Destructor Documentation

atk.ValueAtk.ValueAtk.this ( AtkValue atkValue  ) 

Sets our main struct and passes it to the parent class.


Member Function Documentation

void atk.ValueAtk.ValueAtk.getCurrentValue ( Value  value  ) 

Gets the value of this object.

obj: a GObject instance that implements AtkValueIface value: a GValue representing the current accessible value

void atk.ValueAtk.ValueAtk.getMaximumValue ( Value  value  ) 

Gets the maximum value of this object.

obj: a GObject instance that implements AtkValueIface value: a GValue representing the maximum accessible value

void atk.ValueAtk.ValueAtk.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. obj: a GObject instance that implements AtkValueIface value: a GValue representing the minimum increment by which the accessible value may be changed Since ATK 1.12

void atk.ValueAtk.ValueAtk.getMinimumValue ( Value  value  ) 

Gets the minimum value of this object.

obj: a GObject instance that implements AtkValueIface value: a GValue representing the minimum accessible value

void* atk.ValueAtk.ValueAtk.getStruct (  )  [protected]

the main Gtk struct as a void*

AtkValue* atk.ValueAtk.ValueAtk.getValueAtkStruct (  ) 

int atk.ValueAtk.ValueAtk.setCurrentValue ( Value  value  ) 

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.


Member Data Documentation

AtkValue* atk.ValueAtk.ValueAtk.atkValue [protected]

the main Gtk struct


SourceForge.net Logo DSource.org Logo digitalmars.com Logo