Scale Class Reference

Inheritance diagram for Scale:

Range HScale VScale List of all members.

Detailed Description

A interactive visual representation of a value inside a range.

A scale has not arrows on the ends and can display it current value


Public Types

enum  
 The position to display the value. More...

Public Member Functions

void setDigits (int digits)
 Sets the number of digits to the right of the floting point.
int getDigits ()
 Gets the current number of digits to the right of the floting point.
bit getDrawValue ()
 Gets the draw value ???
void setValuePos (GtkPositionType pos)
 Sets the value display position.
int getValuePos ()
 Gets the value display position.

Static Public Member Functions

GType getType ()
 Gets this class type.

Public Attributes

enum Scale:: { ... }  ST_COMPLETE
 The position to display the value.


Member Enumeration Documentation

anonymous enum
 

The position to display the value.


Member Function Documentation

int Scale.getDigits  ) 
 

Gets the current number of digits to the right of the floting point.

Returns:
the current number of digits to the right of the floating point to be displayed

bit Scale.getDrawValue  ) 
 

Gets the draw value ???

Returns:
the draw valud

GType Scale.getType  )  [static]
 

Gets this class type.

Returns:
this class type

Reimplemented from Range.

Reimplemented in HScale, and VScale.

int Scale.getValuePos  ) 
 

Gets the value display position.

Returns:
the value display position

void Scale.setDigits int  digits  ) 
 

Sets the number of digits to the right of the floting point.

Parameters:
digits the new number of digits to the right of the floating point to be displayed

void Scale.setValuePos GtkPositionType  pos  ) 
 

Sets the value display position.

Parameters:
pos the new valud display position


Member Data Documentation

enum { ... } Scale.ST_COMPLETE
 

The position to display the value.


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