Class

GntSlider

Description

class Gnt.Slider : Gnt.Widget {
  parent_instance: GntWidget
}
No description available.

Constructors

gnt_slider_new

Create a new slider.

since: 2.1

Instance methods

gnt_slider_advance_step

Advance the slider forward or backward.

since: 2.1

gnt_slider_get_large_step

Gets the amount of change for a large step.

since: 2.14

gnt_slider_get_range

Get the range of the slider.

since: 2.14

gnt_slider_get_small_step

Gets the amount of change for a small step.

since: 2.14

gnt_slider_get_step

Gets the amount of change at each step.

since: 2.14

gnt_slider_get_value

Get the current value for the slider.

since: 2.1

gnt_slider_get_vertical

Get whether the slider is vertical or not.

since: 2.14

gnt_slider_reflect_label

Update a label with the value of the slider whenever the value changes.

since: 2.1

gnt_slider_set_large_step

Sets the amount of change a large step.

since: 2.2

gnt_slider_set_range

Set the range of the slider.

since: 2.1

gnt_slider_set_small_step

Sets the amount of change a small step.

since: 2.2

gnt_slider_set_step

Sets the amount of change at each step.

since: 2.1

gnt_slider_set_value

Set the current value for the slider.

since: 2.1

Methods inherited from GntWidget (48)

Please see GntWidget for a full list of methods.

Methods inherited from GntBindable (6)
gnt_bindable_bindings_view

Returns a GntTree populated with “key” -> “binding” for the widget.

since: 2.1.1

gnt_bindable_build_help_window

Builds a window that list the key bindings for a GntBindable object. From this window a user can select a listing to rebind a new key for the given action.

since: 2.1.1

gnt_bindable_check_key

Discover if a key is bound.

since: 2.4.2

gnt_bindable_perform_action_key

Perform an action from a keybinding.

gnt_bindable_perform_action_named

Perform an action on a bindable object.

gnt_bindable_remap_keys
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Gnt.Slider::changed
No description available.

Signals inherited from GntWidget (15)
GntWidget::activate
No description available.

GntWidget::clicked
No description available.

GntWidget::confirm-size
No description available.

GntWidget::context-menu
No description available.

GntWidget::destroy
No description available.

GntWidget::draw
No description available.

GntWidget::expose
No description available.

GntWidget::gained-focus
No description available.

GntWidget::hide
No description available.

GntWidget::key-pressed
No description available.

GntWidget::lost-focus
No description available.

GntWidget::map
No description available.

GntWidget::position-set
No description available.

GntWidget::size-changed
No description available.

GntWidget::size-request
No description available.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GntSliderClass {
  void (* changed) (
    GntSlider* slider,
    int value
  );
  
}

The class structure for GntSlider.

Class members
changed: void (* changed) ( GntSlider* slider, int value )
No description available.

Virtual methods

Gnt.SliderClass.changed
No description available.