Documentation
¶
Overview ¶
Package GraphFrame provides methods for working with GraphFrame object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsCanvasItem() CanvasItem.Instance
- func (self Instance) AsContainer() Container.Instance
- func (self Instance) AsControl() Control.Instance
- func (self Instance) AsGraphElement() GraphElement.Instance
- func (self Instance) AsGraphFrame() Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AutoshrinkEnabled() bool
- func (self Instance) AutoshrinkMargin() int
- func (self Instance) DragMargin() int
- func (self Instance) GetTitlebarHbox() [1]gdclass.HBoxContainer
- func (self Instance) OnAutoshrinkChanged(cb func())
- func (self Instance) SetAutoshrinkEnabled(value bool)
- func (self Instance) SetAutoshrinkMargin(value int)
- func (self Instance) SetDragMargin(value int)
- func (self Instance) SetTintColor(value Color.RGBA)
- func (self Instance) SetTintColorEnabled(value bool)
- func (self Instance) SetTitle(value string)
- func (self Instance) TintColor() Color.RGBA
- func (self Instance) TintColorEnabled() bool
- func (self Instance) Title() string
- 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 ¶
type Instance [1]gdclass.GraphFrame
GraphFrame is a special [GraphElement] to which other [GraphElement]s can be attached. It can be configured to automatically resize to enclose all attached [GraphElement]s. If the frame is moved, all the attached [GraphElement]s inside it will be moved as well. A GraphFrame is always kept behind the connection layer and other [GraphElement]s inside a [GraphEdit].
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) AsContainer ¶
func (Instance) AsGraphElement ¶
func (self Instance) AsGraphElement() GraphElement.Instance
func (Instance) AsGraphFrame ¶
func (Instance) AutoshrinkEnabled ¶
func (Instance) AutoshrinkMargin ¶
func (Instance) DragMargin ¶
func (Instance) GetTitlebarHbox ¶
func (self Instance) GetTitlebarHbox() [1]gdclass.HBoxContainer
Returns the [HBoxContainer] used for the title bar, only containing a [Label] for displaying the title by default. This can be used to add custom controls to the title bar such as option or close buttons.
func (Instance) OnAutoshrinkChanged ¶
func (self Instance) OnAutoshrinkChanged(cb func())