Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ AddWidget
Method
AddWidget
LibLemon/src/gui/widgets.cpp:93–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
void Container::AddWidget(Widget* w){
94
children.push_back(w);
95
96
w->SetParent(this);
97
w->window = window;
98
99
UpdateFixedBounds();
100
}
101
102
void Container::RemoveWidget(Widget* w){
103
w->SetParent(nullptr);
Callers
nothing calls this directly
Calls
1
SetParent
Method · 0.80
Tested by
no test coverage detected