Documentation
¶
Overview ¶
Package Slider provides methods for working with Slider object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- 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() Range.Instance
- func (self Instance) AsSlider() Instance
- func (self Instance) Editable() bool
- func (self Instance) OnDragEnded(cb func(value_changed bool))
- func (self Instance) OnDragStarted(cb func())
- func (self Instance) Scrollable() bool
- func (self Instance) SetEditable(value bool)
- func (self Instance) SetScrollable(value bool)
- func (self Instance) SetTickCount(value int)
- func (self Instance) SetTicksOnBorders(value bool)
- func (self Instance) TickCount() int
- func (self Instance) TicksOnBorders() bool
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
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 Instance ¶
Abstract base class for sliders, used to adjust a value by moving a grabber along a horizontal or vertical axis. Sliders are [Range]-based controls.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsCanvasItem ¶
func (self Instance) AsCanvasItem() CanvasItem.Instance
func (Instance) OnDragEnded ¶
func (Instance) OnDragStarted ¶
func (self Instance) OnDragStarted(cb func())
func (Instance) Scrollable ¶
func (Instance) SetEditable ¶
func (Instance) SetScrollable ¶
func (Instance) SetTickCount ¶
func (Instance) SetTicksOnBorders ¶
func (Instance) TicksOnBorders ¶
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.