Documentation
¶
Index ¶
- Variables
- type ChainNode
- type ClickableData
- type ClickableElement
- type ClickableNode
- type ClickableOption
- type ClickableOptions
- type DrawModifierNode
- type Element
- type GioClickable
- type InspectableModifier
- type LayoutContext
- type LayoutModifierNode
- type LayoutWidget
- type Modifier
- type ModifierInspectorInfo
- type Node
- type PointerModifierNode
- type TreeNode
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyModifier = modifier.EmptyModifier
View Source
var ToNRGBA = helpers.ToNRGBA
Functions ¶
This section is empty.
Types ¶
type ChainNode ¶
func NewClickableNode ¶
func NewClickableNode(element ClickableElement) ChainNode
type ClickableData ¶
type ClickableData struct {
OnClick func()
Clickable *GioClickable
}
type ClickableElement ¶
type ClickableElement struct {
// contains filtered or unexported fields
}
func (ClickableElement) ClickableData ¶
func (e ClickableElement) ClickableData() ClickableData
func (ClickableElement) Create ¶
func (e ClickableElement) Create() Node
Create creates a new Chain Node instance
func (ClickableElement) Equals ¶
func (e ClickableElement) Equals(other Element) bool
Equals checks if this element is equivalent to another used during filter operations like Modifier.Any
func (ClickableElement) Update ¶
func (e ClickableElement) Update(node Node)
Update updates an existing Chain node for efficiency
type ClickableNode ¶
type ClickableNode struct {
ChainNode
// contains filtered or unexported fields
}
type ClickableOption ¶
type ClickableOption func(*ClickableOptions)
func WithClickable ¶
func WithClickable(clickable *GioClickable) ClickableOption
type ClickableOptions ¶
type ClickableOptions struct {
Clickable *GioClickable
}
func DefaultClickableOptions ¶
func DefaultClickableOptions() ClickableOptions
type DrawModifierNode ¶
type DrawModifierNode = layoutnode.DrawModifierNode
type GioClickable ¶
type InspectableModifier ¶
type InspectableModifier = modifier.InspectableModifier
type LayoutContext ¶
type LayoutContext = layoutnode.LayoutContext
type LayoutModifierNode ¶
type LayoutModifierNode = layoutnode.LayoutModifierNode
type LayoutWidget ¶
type LayoutWidget = layoutnode.LayoutWidget
type ModifierInspectorInfo ¶
type ModifierInspectorInfo = modifier.InspectorInfo
type PointerModifierNode ¶
type PointerModifierNode = layoutnode.PointerInputModifierNode
Click to show internal directories.
Click to hide internal directories.