Slider

package
v0.0.0-...-80877a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package Slider provides methods for working with Slider object instances.

Index

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 Any

type Any interface {
	gd.IsClass
	AsSlider() Instance
}

type Instance

type Instance [1]gdclass.Slider

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 New

func New() Instance

func (Instance) AsCanvasItem

func (self Instance) AsCanvasItem() CanvasItem.Instance

func (Instance) AsControl

func (self Instance) AsControl() Control.Instance

func (Instance) AsNode

func (self Instance) AsNode() Node.Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsRange

func (self Instance) AsRange() Range.Instance

func (Instance) AsSlider

func (self Instance) AsSlider() Instance

func (Instance) Editable

func (self Instance) Editable() bool

func (Instance) OnDragEnded

func (self Instance) OnDragEnded(cb func(value_changed bool))

func (Instance) OnDragStarted

func (self Instance) OnDragStarted(cb func())

func (Instance) Scrollable

func (self Instance) Scrollable() bool

func (Instance) SetEditable

func (self Instance) SetEditable(value bool)

func (Instance) SetScrollable

func (self Instance) SetScrollable(value bool)

func (Instance) SetTickCount

func (self Instance) SetTickCount(value int)

func (Instance) SetTicksOnBorders

func (self Instance) SetTicksOnBorders(value bool)

func (Instance) TickCount

func (self Instance) TickCount() int

func (Instance) TicksOnBorders

func (self Instance) TicksOnBorders() bool

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL