MCPcopy Create free account
hub / github.com/TankOs/SFGUI / SetActiveWidget

Method SetActiveWidget

src/SFGUI/Context.cpp:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void Context::SetActiveWidget( std::shared_ptr<Widget> widget ) {
72 m_active_widget = widget;
73}
74
75std::shared_ptr<Widget> Context::GetActiveWidget() const {
76 return m_active_widget.lock();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected