Debian Codegraph @

doc/html/cursor.html

raw symbols SCIP
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>cursor</H2>
22 <HR>
23 Return <B>magic</B> internal coordinates of the cursor (X11 pointer)
24 <HR>
25
26 <H3>Usage:</H3>
27 <BLOCKQUOTE>
28 <B>cursor</B> <BR><BR>
29 </BLOCKQUOTE>
30
31 <H3>Summary:</H3>
32 <BLOCKQUOTE>
33 The <B>cursor</B> command returns the current position of the
34 cursor (the X11 pointer, not the <B>magic</B> cursor box) in
35 internal layout coordinates.
36 </BLOCKQUOTE>
37
38 <H3>Implementation Notes:</H3>
39 <BLOCKQUOTE>
40 <B>cursor</B> is implemented as a built-in window command in <B>magic</B>.
41 In the Tcl version of magic, it returns a Tcl result (list of two
42 elements, <B>x</B> and <B>y</B> coordinates). <P>
43
44 Like all window commands, it reports relative to the existing window
45 if only one window is present, or the active window if called with
46 the "<TT>:</TT>" macro. Otherwise, it must be called using the
47 <I>tk_path_name</I> command to specify relative to which layout
48 window the cursor coordinates will be given.
49 </BLOCKQUOTE>
50
51 <H3>See Also:</H3>
52 <BLOCKQUOTE>
53 <A HREF=tk_path_name.html><I>tk_path_name</I></A> <BR>
54 </BLOCKQUOTE>
55
56 <P><IMG SRC=graphics/line1.gif><P>
57 <TABLE BORDER=0>
58 <TR>
59 <TD> <A HREF=commands.html>Return to command index</A>
60 </TR>
61 </TABLE>
62 <P><I>Last updated:</I> October 5, 2004 at 2:47am <P>
63 </BODY>
64 </HTML>