Documentation ¶
Index ¶
- type Group
- func (m Group) Binds() *bind.BindScope
- func (g *Group) ChildByName(name string) (node Node, ok bool)
- func (g *Group) Children() []Node
- func (m Group) Id() int32
- func (g *Group) Leaves() []Node
- func (m Group) Name() string
- func (g *Group) NewGroup() *Group
- func (g *Group) NewPane(ctx context.Context, screen mux.Screen) *Pane
- func (m Group) Params() *params.Parameters
- func (m Group) Protected() bool
- func (m Group) SetName(name string)
- func (m Group) SetProtected(value bool)
- type Node
- type NodeEvent
- type NodeID
- type Pane
- type Tree
- func (t *Tree) GroupById(id NodeID) (*Group, bool)
- func (t *Tree) Leaves() []Node
- func (t *Tree) NodeById(id NodeID) (Node, bool)
- func (t *Tree) PaneById(id NodeID) (*Pane, bool)
- func (t *Tree) PathTo(node Node) []Node
- func (t *Tree) RemoveNode(id NodeID) error
- func (t *Tree) Reset()
- func (t *Tree) Root() *Group
- type TreeOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { deadlock.RWMutex // contains filtered or unexported fields }
func (*Group) ChildByName ¶ added in v0.2.0
func (Group) Params ¶ added in v0.1.6
func (m Group) Params() *params.Parameters
func (Group) Protected ¶ added in v0.2.0
func (m Group) Protected() bool
Protected reports whether or not this node is protected (or cannot be removed.)
func (Group) SetProtected ¶ added in v0.2.0
func (m Group) SetProtected(value bool)
SetProtected sets whether or not this node can be removed.
type Pane ¶
func (Pane) Params ¶ added in v0.1.6
func (m Pane) Params() *params.Parameters
func (Pane) Protected ¶ added in v0.2.0
func (m Pane) Protected() bool
Protected reports whether or not this node is protected (or cannot be removed.)
func (Pane) SetProtected ¶ added in v0.2.0
func (m Pane) SetProtected(value bool)
SetProtected sets whether or not this node can be removed.
type Tree ¶
type Tree struct { deadlock.RWMutex *mux.UpdatePublisher // contains filtered or unexported fields }
func NewTree ¶
func NewTree(options ...TreeOption) *Tree
func (*Tree) RemoveNode ¶ added in v0.1.1
type TreeOption ¶ added in v0.1.6
type TreeOption func(*Tree)
func WithParams ¶ added in v0.1.6
func WithParams(p *params.Parameters) TreeOption
Click to show internal directories.
Click to hide internal directories.