Glade Reference


view class

The view class represents a view, which is a representation of a cell. A view has a db_viewType which can be maskLayout, schematic, symbol, abstract, autoLayout or verilog. A view is derived from a dbObj, so it can have properties. The combination of a cell and a view is a cellView.

 

view * view

Creates an view object.

list view::getCellViews()

Get a Python list of the cellViews for this view.

view::name(char *s)

Sets the view's name.

char * view::name()

Gets the view's name.

view::setViewType(db_viewType type)

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

db_viewType view::viewType()

Returns the view's type.

const char * view::getViewTypeAsString()

Returns the view's type as a string, e.g. "maskLayout".

view::addCellView(cellView  *cv)

Adds cv to the view's cellView list.

cellView* view::dbFindCellViewByView(char *viewName)

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

dbType view::objType()

Returns the object's type (VIEW).

char * view::objName()

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

Contents|Index

Copyright � Peardrop Design  Systems Ltd 2026.