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

Method HandleStateChange

examples/CustomWidget.cpp:172–174  ·  view source on GitHub ↗

You can override certain methods in order to be informed when certain events happen. This handler handles the state change event and is called when the current state of the widget changes.

Source from the content-addressed store, hash-verified

170 // when certain events happen. This handler handles the state change
171 // event and is called when the current state of the widget changes.
172 void HandleStateChange( State old_state ) override {
173 sfg::Widget::HandleStateChange( old_state );
174 }
175
176 private:
177 // This handler handles mouse enter events.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected