{"modulePath":"github.com/wavetermdev/waveterm","version":"v0.9.3","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package wlayout\n\n## Constants\n\n```go\nconst (\n\tLayoutActionDataType_Insert        = \"insert\"\n\tLayoutActionDataType_InsertAtIndex = \"insertatindex\"\n\tLayoutActionDataType_Remove        = \"delete\"\n\tLayoutActionDataType_ClearTree     = \"clear\"\n)\n```\n\n## Functions\n\n```go\nfunc ApplyPortableLayout(ctx context.Context, tabId string, layout PortableLayout) error\n```\n\n```go\nfunc BootstrapNewWindowLayout(ctx context.Context, window *waveobj.Window) error\n```\n\n```go\nfunc BootstrapStarterLayout(ctx context.Context) error\n```\n\n```go\nfunc GetLayoutIdForTab(ctx context.Context, tabId string) (string, error)\n```\n\n```go\nfunc QueueLayoutAction(ctx context.Context, layoutStateId string, actions ...waveobj.LayoutActionData) error\n```\n\n```go\nfunc QueueLayoutActionForTab(ctx context.Context, tabId string, actions ...waveobj.LayoutActionData) error\n```\n\n## Types\n\n```go\ntype PortableLayout []struct {\n\tIndexArr []int             `json:\"indexarr\"`\n\tSize     *uint             `json:\"size,omitempty\"`\n\tBlockDef *waveobj.BlockDef `json:\"blockdef\"`\n\tFocused  bool              `json:\"focused\"`\n}\n```\n\n```go\nfunc GetNewTabLayout() PortableLayout\n```\n\n```go\nfunc GetStarterLayout() PortableLayout\n```\n\n","path":"github.com/wavetermdev/waveterm/pkg/wlayout","name":"wlayout","synopsis":"","isRedistributable":true}
