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

Method notifyWindowButtonPressed

Demos/Demo_Console/Console.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void Console::notifyWindowButtonPressed(MyGUI::Window* _sender, std::string_view _button)
45 {
46 if (_button == "close")
47 {
48 mMainWidget->setVisible(false);
49 }
50 }
51
52 void Console::notifyMouseButtonClick(MyGUI::Widget* _sender)
53 {

Callers

nothing calls this directly

Calls 1

setVisibleMethod · 0.45

Tested by

no test coverage detected