gtk.HScale.HScale Class Reference

Inheritance diagram for gtk.HScale.HScale:

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

Public Member Functions

GtkHScalegetHScaleStruct ()
 this (GtkHScale *gtkHScale)
 Sets our main struct and passes it to the parent class.
 this (Adjustment adjustment)
 Creates a new GtkHScale.
 this (double min, double max, double step)
 Creates a new horizontal 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

GtkHScalegtkHScale
 the main Gtk struct

Constructor & Destructor Documentation

gtk.HScale.HScale.this ( GtkHScale gtkHScale  ) 

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

gtk.HScale.HScale.this ( Adjustment  adjustment  ) 

Creates a new GtkHScale.

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

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

Creates a new horizontal 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 GtkHScale


Member Function Documentation

GtkHScale* gtk.HScale.HScale.getHScaleStruct (  ) 

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

the main Gtk struct as a void*

Reimplemented from gtk.Scale.Scale.


Member Data Documentation

GtkHScale* gtk.HScale.HScale.gtkHScale [protected]

the main Gtk struct


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