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

Method HandleFocusChange

src/SFGUI/Widget.cpp:767–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765}
766
767void Widget::HandleFocusChange( Widget::Ptr focused_widget ) {
768 if( ( focused_widget != shared_from_this() ) && ( GetState() == State::ACTIVE ) ) {
769 SetState( State::NORMAL );
770 }
771}
772
773void Widget::HandleLocalVisibilityChange() {
774}

Callers 1

GrabFocusMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected