Slider

Inherits: Range < Control < CanvasItem < Node < Object

Inherited By: HSlider, VSlider

Category: Core

Brief Description

Base class for GUI Sliders.

Member Functions

int get_ticks ( ) const
bool get_ticks_on_borders ( ) const
bool is_editable ( ) const
void set_editable ( bool editable )
void set_ticks ( int count )
void set_ticks_on_borders ( bool ticks_on_border )

Member Variables

Description

Base class for GUI Sliders.

Member Function Description

  • int get_ticks ( ) const

Return amounts of ticks to display on slider.

  • bool get_ticks_on_borders ( ) const

Return true if ticks are visible on borders.

  • bool is_editable ( ) const
  • void set_editable ( bool editable )
  • void set_ticks ( int count )

Set amount of ticks to display in slider.

  • void set_ticks_on_borders ( bool ticks_on_border )

Set true if ticks are visible on borders.