MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getSelCount

Method getSelCount

Engine/source/gui/controls/guiListBoxCtrl.cpp:404–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404S32 GuiListBoxCtrl::getSelCount()
405{
406 return mSelectedItems.size();
407}
408
409DefineEngineMethod( GuiListBoxCtrl, getSelectedItem, S32, (),,
410 "@brief Returns the selected items index or -1 if none selected. If multiple selections exist it returns the first selected item. \n\n"

Callers 1

guiListBoxCtrl.cppFile · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected