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 dbObjList of the cellViews for this cell.

 

c.name(char *s)

Sets the cell name.

 

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(char *viewName)

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

 

dbType type = c.objType()

Returns the object's type (CELL).

 

char *name = c.objName()

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

 

 

 

 

 

 

 

 

 

 

 

Contents|Index

Copyright © Peardrop Design Systems Ltd 2016.