Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ AddItem
Method
AddItem
LibLemon/src/gui/widgets.cpp:777–785 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
775
}
776
777
int ListView::AddItem(ListItem& item){
778
int index = items.size();
779
780
items.push_back(ListItem(item));
781
782
ResetScrollBar();
783
784
return index;
785
}
786
787
void ListView::ClearItems(){
788
items.clear();
Callers
3
Refresh
Method · 0.80
main
Function · 0.80
main
Function · 0.80
Calls
2
ListItem
Class · 0.85
size
Method · 0.80
Tested by
no test coverage detected