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

Method GetId

src/SFGUI/Widget.cpp:606–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604}
605
606std::string Widget::GetId() const {
607 if( !m_class_id ) {
608 return "";
609 }
610
611 return m_class_id->id;
612}
613
614void Widget::SetClass( const std::string& cls ) {
615 if( cls.empty() ) {

Callers 3

MatchesMethod · 0.80
SearchContainerForIdFunction · 0.80
GetWidgetByIdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected