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

Method clear_transient_selection

src/laybasic/laybasic/layEditable.cc:324–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void
325Editables::clear_transient_selection ()
326{
327 bool had_transient_selection = false;
328 for (iterator e = begin (); e != end (); ++e) {
329 if (e->has_transient_selection ()) {
330 had_transient_selection = true;
331 }
332 e->clear_transient_selection ();
333 }
334
335 // send a signal to the observers
336 if (had_transient_selection) {
337 signal_transient_selection_changed ();
338 }
339}
340
341void
342Editables::transient_to_selection ()

Callers 7

deactivatedMethod · 0.45
hover_resetMethod · 0.45
timeoutMethod · 0.45
deactivatedMethod · 0.45
handle_clickMethod · 0.45
clear_selectionMethod · 0.45

Calls 4

beginFunction · 0.70
endFunction · 0.70

Tested by

no test coverage detected