Glade Reference


view class

The view class represents a view, which is a representation of a cell. The combination of a cell and a view is a cellView.

 

view v  = view

Creates an view object.

 

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

Get a dbObjList of the cellViews for this view.

 

v.name(char *s)

Sets the view's name.

 

char *s = v.name()

Gets the view's name.

 

v.setViewType(db_viewType type)

Sets the view's type. The viewType can currently be one of maskLayout, schematic, symbol, abstract.

 

db_viewType type = v.viewType()

Returns the view's type.

 

v.addCellView(cellView  *cv)

Adds cv to the view's cellView list.

 

cellView  *cv =   v.dbFindCellViewByView(char *viewName)

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

 

dbType type = c.objType()

Returns the object's type (VIEW).

 

char *name = c.objName()

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

 

 

 

Contents|Index

Copyright © Peardrop Design  Systems Ltd 2016.