MCPcopy Create free account
hub / github.com/cogentcore/core / AddBottomBar

Method AddBottomBar

core/bars.go:189–191  ·  view source on GitHub ↗

AddBottomBar adds the given function for configuring a control bar at the bottom of the window

(fun func(parent Widget))

Source from the content-addressed store, hash-verified

187// AddBottomBar adds the given function for configuring a control bar
188// at the bottom of the window
189func (bd *Body) AddBottomBar(fun func(parent Widget)) {
190 bd.Scene.Bars.Bottom.Add(fun)
191}
192
193// AddAppBar adds plan maker function(s) for the top app bar, which can be used to add items to it.
194func (bd *Body) AddAppBar(m ...func(p *tree.Plan)) {

Callers 15

AddCloseDialogMethod · 0.95
AddOKOnlyMethod · 0.95
deleteFilesMethod · 0.80
InitMethod · 0.80
pasteCopyFilesCheckMethod · 0.80
pasteFilesMethod · 0.80
openValueDialogFunction · 0.80
confirmDialogMethod · 0.80
CallFuncMethod · 0.80
insertAtMethod · 0.80
AddChildNodeMethod · 0.80
editRecentPathsMethod · 0.80

Calls 1

AddMethod · 0.65

Tested by 1