MCPcopy Create free account
hub / github.com/KLayout/klayout / activate

Method activate

src/laybasic/laybasic/layEditorOptionsPage.cc:121–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void
122EditorOptionsPage::activate (bool active)
123{
124 if (m_active != active) {
125 m_active = active;
126 if (m_active) {
127 if (mp_owner) {
128 mp_owner->activate_page (this);
129 }
130 activated ();
131 } else {
132 deactivated ();
133 }
134 }
135}
136
137}
138

Callers 1

modeMethod · 0.45

Calls 3

activate_pageMethod · 0.80
activatedFunction · 0.70
deactivatedFunction · 0.70

Tested by

no test coverage detected