Documentation
¶
Overview ¶
Package LinkButton provides methods for working with LinkButton object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsBaseButton() BaseButton.Instance
- func (self Instance) AsCanvasItem() CanvasItem.Instance
- func (self Instance) AsControl() Control.Instance
- func (self Instance) AsLinkButton() Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) Language() string
- func (self Instance) SetLanguage(value string)
- func (self Instance) SetStructuredTextBidiOverride(value gdclass.TextServerStructuredTextParser)
- func (self Instance) SetStructuredTextBidiOverrideOptions(value []any)
- func (self Instance) SetText(value string)
- func (self Instance) SetTextDirection(value gdclass.ControlTextDirection)
- func (self Instance) SetUnderline(value gdclass.LinkButtonUnderlineMode)
- func (self Instance) SetUri(value string)
- func (self Instance) StructuredTextBidiOverride() gdclass.TextServerStructuredTextParser
- func (self Instance) StructuredTextBidiOverrideOptions() []any
- func (self Instance) Text() string
- func (self Instance) TextDirection() gdclass.ControlTextDirection
- func (self Instance) Underline() gdclass.LinkButtonUnderlineMode
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Uri() string
- func (self Instance) Virtual(name string) reflect.Value
- type UnderlineMode
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 ¶
type Instance [1]gdclass.LinkButton
A button that represents a link. This type of button is primarily used for interactions that cause a context change (like linking to a web page). See also [BaseButton] which contains common properties and methods associated with this node.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsBaseButton ¶
func (self Instance) AsBaseButton() BaseButton.Instance
func (Instance) AsCanvasItem ¶
func (self Instance) AsCanvasItem() CanvasItem.Instance
func (Instance) AsLinkButton ¶
func (Instance) SetLanguage ¶
func (Instance) SetStructuredTextBidiOverride ¶
func (self Instance) SetStructuredTextBidiOverride(value gdclass.TextServerStructuredTextParser)
func (Instance) SetStructuredTextBidiOverrideOptions ¶
func (Instance) SetTextDirection ¶
func (self Instance) SetTextDirection(value gdclass.ControlTextDirection)
func (Instance) SetUnderline ¶
func (self Instance) SetUnderline(value gdclass.LinkButtonUnderlineMode)
func (Instance) StructuredTextBidiOverride ¶
func (self Instance) StructuredTextBidiOverride() gdclass.TextServerStructuredTextParser
func (Instance) StructuredTextBidiOverrideOptions ¶
func (Instance) TextDirection ¶
func (self Instance) TextDirection() gdclass.ControlTextDirection
func (Instance) Underline ¶
func (self Instance) Underline() gdclass.LinkButtonUnderlineMode
func (*Instance) UnsafePointer ¶
type UnderlineMode ¶
type UnderlineMode = gdclass.LinkButtonUnderlineMode //gd:LinkButton.UnderlineMode
const ( /*The LinkButton will always show an underline at the bottom of its text.*/ UnderlineModeAlways UnderlineMode = 0 /*The LinkButton will show an underline at the bottom of its text when the mouse cursor is over it.*/ UnderlineModeOnHover UnderlineMode = 1 /*The LinkButton will never show an underline at the bottom of its text.*/ UnderlineModeNever UnderlineMode = 2 )
Click to show internal directories.
Click to hide internal directories.