Documentation ¶
Index ¶
- type BindScope
- type Binding
- type Group
- func (m Group) Binds() *BindScope
- func (g *Group) Children() []Node
- func (m Group) Id() int32
- func (m Group) Name() string
- func (g *Group) NewCmd(ctx context.Context, options stream.CmdOptions, size geom.Vec2) (*Pane, error)
- func (g *Group) NewGroup() *Group
- func (g *Group) NewPane(ctx context.Context, stream mux.Stream, size geom.Vec2) *Pane
- func (m Group) SetName(name string)
- type Node
- type NodeID
- type Pane
- func (p *Pane) App() stream.Stream
- func (m Pane) Binds() *BindScope
- func (m Pane) Id() int32
- func (m Pane) Name() string
- func (p *Pane) Recorder() *sessions.Recorder
- func (p *Pane) Resize(size geom.Vec2)
- func (p *Pane) Screen() mux.Screen
- func (m Pane) SetName(name string)
- func (p *Pane) Write(data []byte) (n int, err error)
- type Tree
- func (t *Tree) DataDir() string
- 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) Root() *Group
- func (t *Tree) SetDataDir(dir string)
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 }
type Tree ¶
type Tree struct { deadlock.RWMutex // contains filtered or unexported fields }
func (*Tree) RemoveNode ¶ added in v0.1.1
func (*Tree) SetDataDir ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.