See: https://developer.gnome.org/gtk3/3.2/GtkScale.html
gtk :: GtkScale :: clear_marks
Removes any marks that have been added with gtk_scale_add_mark().gtk :: GtkScale :: defaultinit
gtk :: GtkScale :: draw_value
gtk :: GtkScale :: draw_value=
gtk :: GtkScale :: has_origin
gtk :: GtkScale :: has_origin=
gtk :: GtkScale :: value_position
gtk :: GtkScale :: value_position=
gtk :: GtkScale :: with_range
core :: Pointer :: address_is_null
Is the address behind this Object at NULL?gtk :: GtkRange :: adjustment
gtk :: GtkRange :: adjustment=
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
gtk :: GtkScale :: clear_marks
Removes any marks that have been added with gtk_scale_add_mark().gtk :: GtkScale :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: defaultinit
gtk :: GtkRange :: defaultinit
gtk :: GtkWidget :: defaultinit
gtk :: GtkScale :: draw_value
gtk :: GtkScale :: draw_value=
gtk :: GtkRange :: fill_level
Gets the current position of the fill level indicator.gtk :: GtkRange :: fill_level=
gtk :: GtkScale :: has_origin
gtk :: GtkScale :: has_origin=
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
gtk :: GtkRange :: min_slider_size
gtk :: GtkRange :: min_slider_size=
core :: Object :: output_class_name
Display class name on stdout (debug only).gtk :: GtkRange :: restricted_to_fill_level
Gets whether the range is restricted to the fill level.gtk :: GtkRange :: round_digits
gtk :: GtkRange :: round_digits=
gtk :: GtkWidget :: sensitive=
Sets the sensitivity of a widget. sensitive -> the user can interact with it.gtk :: GtkRange :: set_increments
gtk :: GtkWidget :: set_size_request
Set the minimum dimension of this widgetgtk :: GtkRange :: show_fill_level
Gets whether the range displays the fill level graphically.gtk :: GtkRange :: show_fill_level=
gtk :: GtkWidget :: signal_connect
gtk :: GtkRange :: size_fixed
gtk :: GtkRange :: size_fixed=
gtk :: GtkScale :: value_position
gtk :: GtkScale :: value_position=
gtk :: GtkScale :: with_range
# A slider widget for selecting a value from a range
# See: https://developer.gnome.org/gtk3/3.2/GtkScale.html
extern class GtkScale `{GtkScale *`}
super GtkRange
new (orientation: GtkOrientation, adjustment: GtkAdjustment) `{
return (GtkScale *)gtk_scale_new(orientation, adjustment);
`}
new with_range (orientation: GtkOrientation, min: Float, max: Float, step: Float) `{
return (GtkScale *)gtk_scale_new_with_range(orientation, min, max, step);
`}
fun digits: Int `{
return gtk_scale_get_digits(self);
`}
fun digits=(nb_digits: Int) `{
gtk_scale_set_digits(self, nb_digits);
`}
fun draw_value: Bool `{
return gtk_scale_get_draw_value(self);
`}
fun draw_value=(is_displayed: Bool) `{
gtk_scale_set_draw_value(self, is_displayed);
`}
fun value_position: GtkPositionType `{
return gtk_scale_get_value_pos(self);
`}
fun value_position=(pos: GtkPositionType) `{
gtk_scale_set_value_pos(self, pos);
`}
fun has_origin: Bool `{
return gtk_scale_get_has_origin(self);
`}
fun has_origin=(orig: Bool) `{
gtk_scale_set_has_origin(self, orig);
`}
fun add_mark(value: Float, position: GtkPositionType, markup: String)
import String.to_cstring `{
gtk_scale_add_mark(self, value, position, String_to_cstring(markup));
`}
# Removes any marks that have been added with gtk_scale_add_mark().
fun clear_marks `{
gtk_scale_clear_marks(self);
`}
end
lib/gtk/v3_4/gtk_core.nit:603,1--657,3