Documentation
¶
Overview ¶
Package StatusIndicator provides methods for working with StatusIndicator object instances.
Index ¶
- type Advanced
- type Any
- type Extension
- type ID
- type Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsStatusIndicator() Instance
- func (self Instance) GetRect() Rect2.PositionSize
- func (self Instance) ID() ID
- func (self Instance) Icon() Texture2D.Instance
- func (self Instance) Menu() string
- func (self Instance) OnPressed(cb func(mouse_button int, mouse_position Vector2i.XY), flags ...Signal.Flags)
- func (self Instance) SetIcon(value Texture2D.Instance)
- func (self Instance) SetMenu(value string)
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- func (self Instance) SetTooltip(value string)
- func (self Instance) SetVisible(value bool)
- func (self Instance) Tooltip() string
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
- func (self Instance) Visible() bool
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 Extension ¶
Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this Extension
func (*Extension[T]) AsStatusIndicator ¶
type ID ¶
ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.
type Instance ¶
type Instance [1]gdclass.StatusIndicator
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsStatusIndicator ¶
func (Instance) GetRect ¶
func (self Instance) GetRect() Rect2.PositionSize
Returns the status indicator rectangle in screen coordinates. If this status indicator is not visible, returns an empty [Rect2].