| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <STYLE type="text/css"> |
| 4 | H1 {color: black } |
| 5 | H2 {color: maroon } |
| 6 | H3 {color: #007090 } |
| 7 | A.head:link {color: #0060a0 } |
| 8 | A.head:visited {color: #3040c0 } |
| 9 | A.head:active {color: white } |
| 10 | A.head:hover {color: yellow } |
| 11 | A.red:link {color: red } |
| 12 | A.red:visited {color: maroon } |
| 13 | A.red:active {color: yellow } |
| 14 | </STYLE> |
| 15 | </HEAD> |
| 16 | <TITLE>Magic-7.3 Command Reference</TITLE> |
| 17 | <BODY BACKGROUND=graphics/blpaper.gif> |
| 18 | <H1> <IMG SRC=graphics/magic_title2.gif ALT="Magic VLSI Layout Tool Version 7.3"> |
| 19 | <IMG SRC=graphics/magic_OGL_sm.gif ALIGN="top" ALT="*"> </H1> |
| 20 | |
| 21 | <H2>openwindow</H2> |
| 22 | <HR> |
| 23 | Open a new (non-GUI) layout window with indicated name, bound to indicated cell |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Shortcuts:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | Key macro <B>o</B> implements the command <B>openwindow</B>. This |
| 29 | macro is disabled when using the GUI wrapper. |
| 30 | </BLOCKQUOTE> |
| 31 | |
| 32 | <H3>Usage:</H3> |
| 33 | <BLOCKQUOTE> |
| 34 | <B>openwindow</B> [<I>cell</I>] [<I>name</I>] <BR><BR> |
| 35 | <BLOCKQUOTE> |
| 36 | where <I>cell</I> is the name of a cell to be loaded into the |
| 37 | new window, and <I>name</I> is the Tk path name of a top-level |
| 38 | window (see below). An empty string or Tcl NULL list "{}" for |
| 39 | <I>cell</I> will cause the default cell "(UNNAMED)" to be loaded. |
| 40 | </BLOCKQUOTE> |
| 41 | </BLOCKQUOTE> |
| 42 | |
| 43 | <H3>Summary:</H3> |
| 44 | <BLOCKQUOTE> |
| 45 | The <B>openwindow</B> command opens a new layout window. Without |
| 46 | arguments, a new layout window named "magic<I>n</I>" is created, |
| 47 | where <I>n</I> is the index of the <I>n</I>th window to be |
| 48 | created. Without a named cell, the new window is loaded with |
| 49 | a copy of the cell that was present in the last generated layout |
| 50 | window. <P> |
| 51 | |
| 52 | The use of parameter <I>name</I> is used in conjunction with a |
| 53 | wrapper script to attach the layout window to an existing Tk |
| 54 | frame window. |
| 55 | </BLOCKQUOTE> |
| 56 | |
| 57 | <H3>Implementation Notes:</H3> |
| 58 | <BLOCKQUOTE> |
| 59 | <B>openwindow</B> is implemented as a built-in <B>magic</B> |
| 60 | window command. It should not be used with the GUI wrapper |
| 61 | (invoked with <B>magic -w</B>); instead, the <B>openwrapper</B> |
| 62 | function should be used. Note that it is possible to use |
| 63 | this command in batch mode, although there is no useful |
| 64 | reason to do so. |
| 65 | </BLOCKQUOTE> |
| 66 | |
| 67 | <H3>See Also:</H3> |
| 68 | <BLOCKQUOTE> |
| 69 | <A HREF=closewindow.html><B>closewindow</B></A> <BR> |
| 70 | <A HREF=openwrapper.html><B>openwrapper</B></A> <BR> |
| 71 | </BLOCKQUOTE> |
| 72 | |
| 73 | <P><IMG SRC=graphics/line1.gif><P> |
| 74 | <TABLE BORDER=0> |
| 75 | <TR> |
| 76 | <TD> <A HREF=commands.html>Return to command index</A> |
| 77 | </TR> |
| 78 | </TABLE> |
| 79 | <P><I>Last updated:</I> December 4, 2005 at 9:03pm <P> |
| 80 | </BODY> |
| 81 | </HTML> |