MCPcopy Index your code
hub / github.com/g3n/engine / Add

Method Add

gui/window.go:120–124  ·  view source on GitHub ↗

Add adds a child panel to the client area of this window

(ichild IPanel)

Source from the content-addressed store, hash-verified

118
119// Add adds a child panel to the client area of this window
120func (w *Window) Add(ichild IPanel) *Window {
121
122 w.client.Add(ichild)
123 return w
124}
125
126// Removes a child from the client (content) panel
127func (w *Window) Remove(ichild IPanel) bool {

Callers 5

buildWindowFunction · 0.95
NewWindowFunction · 0.45
SetTitleMethod · 0.45
newWindowTitleFunction · 0.45
setCloseButtonMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected