Inheritance diagram for gtk.HScale.HScale:
Public Member Functions
|GtkHScale *||getHScaleStruct ()|
|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* |
|the main Gtk struct |
Sets our main struct and passes it to the parent class.
Creates a new GtkHScale.
adjustment: the GtkAdjustment which sets the range of the scale. Returns: a new GtkHScale.
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
the main Gtk struct as a void*
Reimplemented from gtk.Scale.Scale.