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

Method IsModal

src/SFGUI/Widget.cpp:898–904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896}
897
898bool Widget::IsModal() const {
899 if( modal_widget.lock() == shared_from_this() ) {
900 return true;
901 }
902
903 return false;
904}
905
906bool Widget::HasModal() {
907 return !modal_widget.expired();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected