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

Method select_cellview

src/laybasic/laybasic/layLayoutViewBase.cc:5273–5293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5271}
5272
5273void
5274LayoutViewBase::select_cellview (int index, const CellView &cv)
5275{
5276 if (index < 0 || index >= int (m_cellviews.size ())) {
5277 return;
5278 }
5279
5280 if (*cellview_iter (index) != cv) {
5281
5282 cellview_about_to_change_event (index);
5283
5284 cancel_esc ();
5285 *cellview_iter (index) = cv;
5286 redraw ();
5287
5288 cellview_changed (index);
5289
5290 update_content ();
5291
5292 }
5293}
5294
5295void
5296LayoutViewBase::select_cell (const cell_path_type &path, int index)

Callers 4

set_unspecific_pathMethod · 0.80
set_specific_pathMethod · 0.80
set_cellMethod · 0.80
reset_cellMethod · 0.80

Calls 3

cancel_escFunction · 0.85
redrawFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected