MCPcopy
hub / github.com/rgburke/grv / ContainerView

Struct ContainerView

cmd/grv/container_view.go:49–66  ·  view source on GitHub ↗

ContainerView is a container with no visual presence that manages the layout of its child views

Source from the content-addressed store, hash-verified

47// ContainerView is a container with no visual presence that manages the
48// layout of its child views
49type ContainerView struct {
50 channels Channels
51 config Config
52 childViews []BaseView
53 title string
54 viewWins map[WindowView]*Window
55 emptyWin *Window
56 activeViewIndex uint
57 handlers map[ActionType]containerViewHandler
58 orientation ContainerOrientation
59 childViewPositionCalculator ChildViewPositionCalculator
60 viewID ViewID
61 fullScreen bool
62 childPositions []*ChildViewPosition
63 styleConfig WindowStyleConfig
64 viewState ViewState
65 lock sync.Mutex
66}
67
68// NewContainerView creates a new instance
69func NewContainerView(channels Channels, config Config) *ContainerView {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected