MCPcopy 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

RefreshMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 2

ListItemClass · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected