Class Index | Cross Index | Namespace Index |
A base class for GtkHScale and GtkVScale.
Contained in: Gtk
Derived from:
Gtk::Range
Derived by:
Gtk::HScale
Gtk::VScale
#include <gtk--/scale.h>
public function member index: |
||
emitable signal void | draw_value | (); |
gint | get_digits | () const; |
gint | get_value_width | () const; |
GtkScale* | gtkobj | (); |
const GtkScale* | gtkobj | () const; |
static bool | isA | (Object* object); |
void | set_digits | (gint digits); |
void | set_draw_value | (gint draw_value); |
void | set_value_pos | (GtkPositionType pos); |
virtual | ~Scale | (); |
protected function member index: |
||
Scale | (); | |
virtual void | draw_value_impl | (); |
Returns: The maximum width needed to display the value string.
digits: The number of decimal places to display, e.g. use 1 to display 1.0, 2 to display 1.00 etc.
pos: The position in which the current value is displayed. Possible values are: GTK_POS_LEFT, GTK_POS_RIGHT, GTK_POS_TOP, or GTK_POS_BOTTOM.