MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / closePane

Method closePane

Gui/PythonPanels.cpp:666–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666void
667PyTabWidget::closePane()
668{
669 if (_tab->getGui()->getPanes().size() == 1) {
670 _tab->getGui()->getApp()->appendToScriptEditor( tr("Cannot close pane when this is the last one remaining.").toStdString() );
671
672 return;
673 }
674 _tab->closePane();
675 _tab->close();
676}
677
678void
679PyTabWidget::floatPane()

Callers

nothing calls this directly

Calls 6

toStdStringMethod · 0.80
sizeMethod · 0.45
getGuiMethod · 0.45
appendToScriptEditorMethod · 0.45
getAppMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected