Debian Codegraph @

doc/html/pushbutton.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>pushbutton</H2>
22 <HR>
23 Emulate a mouse button event.
24 <HR>
25
26 <H3>Usage:</H3>
27 <BLOCKQUOTE>
28 <B>pushbutton</B> <I>button action</I> <BR><BR>
29 <BLOCKQUOTE>
30 where <I>button</I> is one of <B>left</B>, <B>middle</B>, or
31 <B>right</B>, and <I>action</I> is is one of <B>up</B> or
32 <B>down</B>.
33 </BLOCKQUOTE>
34 </BLOCKQUOTE>
35
36 <H3>Summary:</H3>
37 <BLOCKQUOTE>
38 The <B>pushbutton</B> command is a way of invoking the actions
39 associated with mouse buttons from the command-line, or from
40 a Tcl script.
41 </BLOCKQUOTE>
42
43 <H3>Implementation Notes:</H3>
44 <BLOCKQUOTE>
45 <B>pushbutton</B> is implemented as a built-in window command
46 in <B>magic</B>. However, it is functionally equivalent to
47 calling the Tk function <B>event generate</B>.
48 </BLOCKQUOTE>
49
50 <H3>Bugs:</H3>
51 <BLOCKQUOTE>
52 This is all backwards! There should be commands implemented to
53 generate the actions that are caused by button pushes in each
54 tool, and these commands should be bound to the button events.
55 Presumably the existing setup is a holdover from pre-X11 days.
56 </BLOCKQUOTE>
57
58 <P><IMG SRC=graphics/line1.gif><P>
59 <TABLE BORDER=0>
60 <TR>
61 <TD> <A HREF=commands.html>Return to command index</A>
62 </TR>
63 </TABLE>
64 <P><I>Last updated:</I> October 8, 2004 at 12:44am <P>
65 </BODY>
66 </HTML>