Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.Scale

Class Scale

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Range.Range
                                dui.Scale.Scale

Implemented interfaces:


public class

Scale



A interactive visual representation of a value inside a range.
A scale has not arrows on the ends and can display it current value

Constructor Summary
(GtkWidget* gtkWidget)
          

Methods Summary
static GType getType()
          Gets this class type
public 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
void setDrawValue(bit drawValue)
          
bit getDrawValue()
          Gets the draw value ???
void setValuePos(GtkPositionType pos)
          Sets the value display position
int getValuePos()
          Gets the value display position


getType

static GType getType()
Gets this class type

Returns:
this class type



ctor(Scale)(GtkWidget* gtkWidget)

setDigits

public void 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

getDigits

int 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

setDrawValue

void setDrawValue(bit drawValue)

getDrawValue

bit getDrawValue()
Gets the draw value ???

Returns:
the draw valud

setValuePos

void setValuePos(GtkPositionType pos)
Sets the value display position

Parameters:
pos - the new valud display position

getValuePos

int getValuePos()
Gets the value display position

Returns:
the value display position