GraphFrame

package
v0.0.0-...-d9f4d4e Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Package GraphFrame provides methods for working with GraphFrame 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
	AsGraphFrame() Instance
}

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 New

func New() Instance

func (Instance) AsCanvasItem

func (self Instance) AsCanvasItem() CanvasItem.Instance

func (Instance) AsContainer

func (self Instance) AsContainer() Container.Instance

func (Instance) AsControl

func (self Instance) AsControl() Control.Instance

func (Instance) AsGraphElement

func (self Instance) AsGraphElement() GraphElement.Instance

func (Instance) AsGraphFrame

func (self Instance) AsGraphFrame() Instance

func (Instance) AsNode

func (self Instance) AsNode() Node.Instance

func (Instance) AsObject

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

func (Instance) AutoshrinkEnabled

func (self Instance) AutoshrinkEnabled() bool

func (Instance) AutoshrinkMargin

func (self Instance) AutoshrinkMargin() int

func (Instance) DragMargin

func (self Instance) DragMargin() int

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())

func (Instance) SetAutoshrinkEnabled

func (self Instance) SetAutoshrinkEnabled(value bool)

func (Instance) SetAutoshrinkMargin

func (self Instance) SetAutoshrinkMargin(value int)

func (Instance) SetDragMargin

func (self Instance) SetDragMargin(value int)

func (Instance) SetTintColor

func (self Instance) SetTintColor(value Color.RGBA)

func (Instance) SetTintColorEnabled

func (self Instance) SetTintColorEnabled(value bool)

func (Instance) SetTitle

func (self Instance) SetTitle(value string)

func (Instance) TintColor

func (self Instance) TintColor() Color.RGBA

func (Instance) TintColorEnabled

func (self Instance) TintColorEnabled() bool

func (Instance) Title

func (self Instance) Title() string

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