MCPcopy Create free account
hub / github.com/MyGUI/mygui / notifyTabChangeSelect

Method notifyTabChangeSelect

Tools/EditorFramework/Control.cpp:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 void Control::notifyTabChangeSelect(MyGUI::TabControl* _sender, size_t _index)
96 {
97 if (_index != MyGUI::ITEM_NONE)
98 CommandManager::getInstance().executeCommand(
99 MyGUI::UString(_sender->getItemAt(_index)->getUserString("CommandActivate")));
100 }
101
102 void Control::notifyWindowButtonPressed(MyGUI::Window* _sender, std::string_view _name)
103 {

Callers

nothing calls this directly

Calls 4

UStringFunction · 0.85
getUserStringMethod · 0.80
executeCommandMethod · 0.45
getItemAtMethod · 0.45

Tested by

no test coverage detected