Scale
Creates a new GtkScale
.
Return
a new GtkScale
Parameters
orientation
the scale’s orientation.
adjustment
the class@Gtk.Adjustment which sets the range of the scale, or null to create a new adjustment.
constructor(orientation: Orientation, min: <Error class: unknown class>, max: <Error class: unknown class>, step: <Error class: unknown class>)
Creates a new scale widget with a range from @min to @max.
The returns scale will have the given orientation and will let 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
Return
a new GtkScale
Parameters
orientation
the scale’s orientation.
min
minimum value
max
maximum value
step
step increment (tick size) used with keyboard shortcuts
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)