Glade Reference


Cell class

The Cell class represents a cell, which can have multiple representations (views).

 

cell *c  = cell

Creates an cell object.

 

dbObjList<cellView> *list = c.cellViews()

Get a list of the cellViews for this cell.

 

list = c.getCellViews()

Get a Python list of the cellViews for this cell.

 

c.name(const char *s)

Sets the cell name.

 

const char *s = c.name()

Gets the cell's name.

 

c.addCellView(cellView *cv)

Adds cv to the cell's cellView list.

 

cellView cv =  c.dbFindCellViewByView(const char *viewName)

Finds the cellView for this cell with view name viewName. If it does not exist, None is returned.

 

dbtype_t type = c.objType()

Returns the object's type (CELL).

 

const char *name = c.objName()

Returns the object's print name ("CELL").

 

Contents|Index

Copyright © Peardrop Design 2020.