Gtk.VScale¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | Gtk.Scale (14), Gtk.Range (28), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2) | 
|---|---|
| Structs: | Gtk.WidgetClass (12), GObject.ObjectClass (5) | 
| class | new(adjustment) | 
| class | new_with_range(min, max, step) | 
Virtual Methods¶
| Inherited: | Gtk.Scale (3), Gtk.Range (6), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10) | 
|---|
Properties¶
| Inherited: | Gtk.Scale (4), Gtk.Range (8), Gtk.Widget (39), Gtk.Orientable (1) | 
|---|
Style Properties¶
| Inherited: | Gtk.Scale (2), Gtk.Range (8), Gtk.Widget (17) | 
|---|
Signals¶
| Inherited: | Gtk.Scale (1), Gtk.Range (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
Fields¶
| Inherited: | Gtk.Scale (1), Gtk.Range (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| scale | Gtk.Scale | r | 
Class Details¶
- 
class Gtk.VScale(**kwargs)¶
- Bases: - Gtk.Scale- Abstract: - No - Structure: - Gtk.VScaleClass- The - Gtk.VScalewidget 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.Scaleclass’s functions.- Gtk.VScalehas been deprecated, use- Gtk.Scaleinstead.- 
classmethod new(adjustment)[source]¶
- Parameters: - adjustment ( - Gtk.Adjustment) – the- Gtk.Adjustmentwhich sets the range of the scale.- Returns: - a new - Gtk.VScale.- Return type: - Gtk.Widget- Creates a new - Gtk.VScale.- Deprecated since version 3.2: Use - Gtk.Scale.new() with- Gtk.Orientation.VERTICALinstead
 - 
classmethod new_with_range(min, max, step)[source]¶
- Parameters: - Returns: - a new - Gtk.VScale- Return type: - 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.- Deprecated since version 3.2: Use - Gtk.Scale.new_with_range() with- Gtk.Orientation.VERTICALinstead
 
- 
classmethod