Documentation ¶
Index ¶
- type Layout
- func (l *Layout) Arrange(start layout.Container)
- func (l *Layout) ArrangeRoot()
- func (l *Layout) Focus(ctx context.Context, c layout.Container)
- func (l *Layout) Focused(ctx context.Context) layout.Container
- func (l *Layout) FocusedByType(ctx context.Context, typ layout.ContainerType) layout.Container
- func (l *Layout) Move(ctx context.Context, dir layout.Direction)
- func (l *Layout) NewOutput(ctx context.Context, output backend.Output)
- func (l *Layout) NewView(ctx context.Context, view backend.View)
- func (l *Layout) NewWorkspace(ctx context.Context, output *layout.Output, name string, num uint)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layout ¶
type Layout struct {
// contains filtered or unexported fields
}
Layout defines an i3 inspired layout handler.
func (*Layout) ArrangeRoot ¶
func (l *Layout) ArrangeRoot()
ArrangeRoot arranges the layout starting from the root container and all the way down through the layout tree.
func (*Layout) Focused ¶
Focused returns the focused container lowest in the three, or nil if none is found.
func (*Layout) FocusedByType ¶
FocusedByType returns the currently focused container by type.
Click to show internal directories.
Click to hide internal directories.