Documentation ¶
Overview ¶
Package Range provides methods for working with Range object instances.
Index ¶
- type Advanced
- type Any
- type Implementation
- type Instance
- func (self Instance) AllowGreater() bool
- func (self Instance) AllowLesser() bool
- func (self Instance) AsCanvasItem() CanvasItem.Instance
- func (self Instance) AsControl() Control.Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRange() Instance
- func (self Instance) ExpEdit() bool
- func (self Instance) MaxValue() Float.X
- func (self Instance) MinValue() Float.X
- func (self Instance) OnChanged(cb func())
- func (self Instance) OnValueChanged(cb func(value Float.X))
- func (self Instance) Page() Float.X
- func (self Instance) Ratio() Float.X
- func (self Instance) Rounded() bool
- func (self Instance) SetAllowGreater(value bool)
- func (self Instance) SetAllowLesser(value bool)
- func (self Instance) SetExpEdit(value bool)
- func (self Instance) SetMaxValue(value Float.X)
- func (self Instance) SetMinValue(value Float.X)
- func (self Instance) SetPage(value Float.X)
- func (self Instance) SetRatio(value Float.X)
- func (self Instance) SetRounded(value bool)
- func (self Instance) SetStep(value Float.X)
- func (self Instance) SetValue(value Float.X)
- func (self Instance) SetValueNoSignal(value Float.X)
- func (self Instance) Share(with [1]gdclass.Node)
- func (self Instance) Step() Float.X
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Unshare()
- func (self Instance) Value() Float.X
- func (self Instance) Virtual(name string) reflect.Value
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type Implementation ¶
type Implementation = implementation
Implementation implements Interface with empty methods.
type Instance ¶
Range is an abstract base class for controls that represent a number within a range, using a configured [member step] and [member page] size. See e.g. [ScrollBar] and [Slider] for examples of higher-level nodes using Range.
See [Interface] for methods that can be overridden by a [Class] that extends it.
%!(EXTRA string=Range)
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AllowGreater ¶
func (Instance) AllowLesser ¶
func (Instance) AsCanvasItem ¶
func (self Instance) AsCanvasItem() CanvasItem.Instance
func (Instance) OnValueChanged ¶
func (Instance) SetAllowGreater ¶
func (Instance) SetAllowLesser ¶
func (Instance) SetExpEdit ¶
func (Instance) SetMaxValue ¶
func (Instance) SetMinValue ¶
func (Instance) SetRounded ¶
func (Instance) SetValueNoSignal ¶
Sets the [Range]'s current value to the specified [param value], without emitting the [signal value_changed] signal.
func (Instance) Share ¶
Binds two [Range]s together along with any ranges previously grouped with either of them. When any of range's member variables change, it will share the new value with all other ranges in its group.