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

Method do_update_layer_sources

src/laybasic/laybasic/layLayoutViewBase.cc:2449–2463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2447}
2448
2449void
2450LayoutViewBase::do_update_layer_sources ()
2451{
2452 // inform the layer list observers that they need to recompute the property selectors
2453 layer_list_changed_event (1);
2454
2455 // recompute the source
2456 // TODO: this is a side effect of this method - provide a special method for this purpose
2457 for (unsigned int i = 0; i < layer_lists (); ++i) {
2458 m_layer_properties_lists [i]->attach_view (this, i);
2459 }
2460
2461 // schedule a redraw request - since the layer views might have changed, this is necessary
2462 redraw_later ();
2463}
2464
2465void
2466LayoutViewBase::signal_plugin_enabled_changed ()

Callers

nothing calls this directly

Calls 2

layer_listsFunction · 0.85
attach_viewMethod · 0.45

Tested by

no test coverage detected