gtk :: GtkSpinButton
See: https://developer.gnome.org/gtk3/3.2/GtkSpinButton.html
gtk :: GtkSpinButton :: adjustment
gtk :: GtkSpinButton :: adjustment=
gtk :: GtkSpinButton :: configure
gtk :: GtkSpinButton :: defaultinit
gtk :: GtkSpinButton :: digits
gtk :: GtkSpinButton :: digits=
gtk :: GtkSpinButton :: new
gtk :: GtkSpinButton :: spin
gtk :: GtkSpinButton :: val=
gtk :: GtkSpinButton :: value
gtk :: GtkSpinButton :: with_range
gtk $ GtkSpinButton :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?gtk :: GtkSpinButton :: adjustment
gtk :: GtkSpinButton :: adjustment=
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
gtk :: GtkSpinButton :: configure
gtk :: GtkSpinButton :: defaultinit
gtk :: GtkWidget :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: defaultinit
gtk :: GtkEntry :: defaultinit
gtk :: GtkSpinButton :: digits
gtk :: GtkSpinButton :: digits=
gtk :: GtkEntry :: input_purpose=
Input purpose, tweaks the behavior of this widgetcore :: 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 :: GtkEntry :: max_length
gtk :: GtkEntry :: max_length=
gtk :: GtkSpinButton :: new
core :: Object :: output_class_name
Display class name on stdout (debug only).gtk :: GtkWidget :: sensitive=
Sets the sensitivity of a widget. sensitive -> the user can interact with it.gtk :: GtkWidget :: set_size_request
Set the minimum dimension of this widgetgtk :: GtkWidget :: signal_connect
gtk :: GtkSpinButton :: spin
gtk :: GtkSpinButton :: val=
gtk :: GtkSpinButton :: value
gtk :: GtkEntry :: visiblility
Is the text visible or is it the invisible char (such as '*')?gtk :: GtkSpinButton :: with_range
# Retrieve an integer or floating-point number from the user
# See: https://developer.gnome.org/gtk3/3.2/GtkSpinButton.html
extern class GtkSpinButton `{GtkSpinButton *`}
super GtkEntry
new (adjustment: GtkAdjustment, climb_rate: Float, digits: Int)is extern `{
return (GtkSpinButton *)gtk_spin_button_new(adjustment, climb_rate, digits);
`}
new with_range(min: Float, max: Float, step: Float)is extern `{
return (GtkSpinButton *)gtk_spin_button_new_with_range(min, max, step);
`}
fun configure (adjustment: GtkAdjustment, climb_rate: Float, digits: Int) `{
gtk_spin_button_configure(self, adjustment, climb_rate, digits);
`}
fun adjustment: GtkAdjustment `{
return gtk_spin_button_get_adjustment(self);
`}
fun adjustment=(value: GtkAdjustment) `{
gtk_spin_button_set_adjustment(self, value);
`}
fun digits: Int `{
return gtk_spin_button_get_digits(self);
`}
fun digits=(nb_digits: Int) `{
gtk_spin_button_set_digits(self, nb_digits);
`}
fun value: Float `{
return gtk_spin_button_get_value(self);
`}
fun val=(val: Float) `{
gtk_spin_button_set_value(self, val);
`}
fun spin(direction: GtkSpinType, increment: Float)`{
gtk_spin_button_spin(self, direction, increment);
`}
end
lib/gtk/v3_4/gtk_widgets_ext.nit:161,1--205,3