Sets our main struct and passes it to the parent class.
Creates a new gtk.VScale
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.
the main Gtk struct as a void*
Get the main Gtk struct
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Adds a mark at value.
Removes any marks that have been added with Scale.addMark.
Gets the number of decimal places that are displayed in the value.
Returns whether the current value is displayed as a string next to the slider.
Returns whether the scale has an origin.
Gets the gtk.Layout used to display the scale. The returned object is owned by the scale so does not need to be freed by the caller.
Obtains the coordinates where the scale will draw the gtk.Layout representing the text in the scale. Remember when using the gtk.Layout function you need to convert to and from pixels using PANGO_PIXELS() or PANGO_SCALE
Gets the position in which the current value is displayed.
Sets the number of decimal places that are displayed in the value. Also causes the value of the adjustment to be rounded to this number of digits, so the retrieved value matches the displayed one, if draw-value is TRUE when the value changes. If you want to enforce rounding the value when draw-value is FALSE, you can set round-digits instead.
Specifies whether the current value is displayed as a string next to the slider.
If has-origin is set to TRUE (the default), the scale will highlight the part of the trough between the origin (bottom or left side) and the current value.
Sets the position in which the current value is displayed.
Signal which allows you to change how the scale value is displayed. Connect a signal handler which returns an allocated string representing value. That string will then be used to display the scale's value.
The gtk.VScale widget is used to allow the user to select a value using a vertical slider. To create one, use gtk_hscale_new_with_range().
The position to show the current value, and the number of decimal places shown can be set using the parent gtk.Scale class’s functions.
GtkVScale has been deprecated, use gtk.Scale instead.