gtk.VScale.VScale Class Reference

Inheritance diagram for gtk.VScale.VScale:

gtk.Scale.Scale gtk.Range.Range gtk.Widget.Widget gtk.ObjectGtk.ObjectGtk gobject.ObjectG.ObjectG List of all members.

Public Member Functions

GtkVScalegetVScaleStruct ()
 this (GtkVScale *gtkVScale)
 Sets our main struct and passes it to the parent class.
 this (Adjustment adjustment)
 Creates a new GtkVScale.
 this (double min, double max, double step)
 Creates a new vertical scale widget that lets the user input a number between min and max (including min and max) with the increment step.

Protected Member Functions

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

Protected Attributes

GtkVScalegtkVScale
 the main Gtk struct

Constructor & Destructor Documentation

gtk.VScale.VScale.this ( GtkVScale gtkVScale  ) 

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

gtk.VScale.VScale.this ( Adjustment  adjustment  ) 

Creates a new GtkVScale.

adjustment: the GtkAdjustment which sets the range of the scale. Returns: a new GtkVScale.

gtk.VScale.VScale.this ( double  min,
double  max,
double  step 
)

Creates a new vertical scale widget that lets the user input a number between min and max (including min and max) with the increment step.

step must be nonzero; it's the distance the slider moves when using the arrow keys to adjust the scale value. Note that the way in which the precision is derived works best if step is a power of ten. If the resulting precision is not suitable for your needs, use gtk_scale_set_digits() to correct it. min: minimum value max: maximum value step: step increment (tick size) used with keyboard shortcuts Returns: a new GtkVScale


Member Function Documentation

void* gtk.VScale.VScale.getStruct (  )  [protected]

the main Gtk struct as a void*

Reimplemented from gtk.Scale.Scale.

GtkVScale* gtk.VScale.VScale.getVScaleStruct (  ) 


Member Data Documentation

GtkVScale* gtk.VScale.VScale.gtkVScale [protected]

the main Gtk struct


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