Slider

Base class for GUI sliders.

Note: The Range.changed and Range.valueChanged signals are part of the Range class which this class inherits from.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

_guiInput
void _guiInput(InputEvent arg0)
getTicks
long getTicks()
getTicksOnBorders
bool getTicksOnBorders()
isEditable
bool isEditable()
isScrollable
bool isScrollable()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(Slider other)
opEquals
bool opEquals(typeof(null) n)
setEditable
void setEditable(bool editable)
setScrollable
void setScrollable(bool scrollable)
setTicks
void setTicks(long count)
setTicksOnBorders
void setTicksOnBorders(bool ticks_on_border)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

editable
bool editable [@property getter]
bool editable [@property setter]

If true, the slider can be interacted with. If false, the value can be changed only by code.

scrollable
bool scrollable [@property getter]
bool scrollable [@property setter]

If true, the value can be changed using the mouse wheel.

tickCount
long tickCount [@property getter]
long tickCount [@property setter]

Number of ticks displayed on the slider, including border ticks. Ticks are uniformly-distributed value markers.

ticksOnBorders
bool ticksOnBorders [@property getter]
bool ticksOnBorders [@property setter]

If true, the slider will display ticks for minimum and maximum values.

Static functions

_new
Slider _new()

Construct a new instance of Slider. Note: use memnew!Slider instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta