MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / setComponentTab

Method setComponentTab

Source/UIComponents/CtrlrComponents/CtrlrComponent.cpp:525–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523}
524
525void CtrlrComponent::setComponentTab (const String &newTab)
526{
527 if (newTab == "")
528 {
529 componentTree.removeProperty(Ids::componentTabName, 0);
530 componentTree.removeProperty(Ids::componentTabId, 0);
531 }
532 else
533 {
534 setProperty (Ids::componentTabName, newTab, false);
535 }
536}
537
538void CtrlrComponent::setGroupped (const bool addToGroup)
539{

Callers

nothing calls this directly

Calls 2

setPropertyFunction · 0.85
removePropertyMethod · 0.45

Tested by

no test coverage detected