OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [Mwm.html] - Blame information for rev 578

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
 
2
 
3
 
4
<TITLE>tixMwm - Communicate with the Motif(tm) window manager.</TITLE>
5
<Center><H2>tixMwm - Communicate with the Motif(tm) window manager.</H2></Center><hr>
6
 
7
</pre><H3>SYNOPSIS</H3>
8
<P>
9
<B>tixMwm<I> option <I>pathName ?args? </I></B>
10
<P>
11
</pre><H3>COMMAND OPTIONS</H3>
12
<P>
13
<DL>
14
<DT> <B>tixMwm decoration <I>pathName</I></B> ?option? ?value? ?...?
15
</I></B>
16
<DD> When no options are given, this command returns the values of all the
17
decorations options for the toplevel window with the <I>pathName</I></B>.
18
 
19
When only one option is given without specifying the value, the
20
current value of that option is returned.
21
 
22
When more than one "option value" pairs are passed to this command,
23
the specified values will be assigned to the corresponding options. As
24
a result, the appearance of the Motif decorations around the toplevel
25
window will be changed.
26
 
27
Possible options are: <B>-border</B></I>, <B>-menu</B></I>, <B>-maximize</B></I>,
28
<B>-minimize</B></I>, <B>-resizeh</B></I> and <B>-title</B></I>. The value must be a
29
Boolean value. The values returned by this command are undefined when
30
the window is not managed by mwm.
31
</DL>
32
<DL>
33
<DT> <B>tixMwm ismwmrunning <I>pathName</I></B>
34
</I></B>
35
<DD> This returns true if mwm is running on the screen where the specified
36
window is located, false otherwise.
37
</DL>
38
<DL>
39
<DT> <B>tixMwm protocol <I>pathName
40
</I></B>
41
<DD> When no additional options are given, this command returns all
42
protocols associated with this toplevel window.
43
</DL>
44
<DL>
45
<DT> <B>tixMwm protocol <I>pathName <B>activate<I> protocol_name</I></B>
46
</DL>
47
<DL>
48
<DT> <B>tixMwm protocol <I>pathName <B>add<I> protocol_name menu_message</I></B>
49
</I></B>
50
<DD> Add a new mwm protocol message for this toplevel window. The
51
message is identified by the string name specified in
52
specified by <I>menu_message</I></B>. Once a new mwm protocol message is
53
added to a toplevel, it can be catched by the TK <B>wm protocol</B></I>
54
command. Here is an example:
55
</DL>
56
<pre><code><code><code>
57
 tixMwm protocol . add MY_PRINT_HELLO \\
58
     {"Print Hello"  _H Ctrl&lt;Key&gt;H}
59
 wm protocol . MY_PRINT_HELLO {puts Hello}
60
</code></code></code></pre>
61
<DL>
62
<DT> <B>tixMwm protocol <I>pathName <B>deactivate<I> protocol_name</I></B>
63
</DL>
64
<DL>
65
<DT> <B>tixMwm protocol <I>pathName <B>delete<I> protocol_name</I></B>
66
</I></B>
67
<DD> window manager protocol handler associated with this protocol (by the
68
<B>wm protocol</B></I> command) is not deleted automatically. You have to
69
delete the protocol handle explicitly.  E.g.:
70
</DL>
71
<pre><code><code><code>
72
 tixMwm protocol . delete MY_PRINT_HELLO
73
 wm protocol . MY_PRINT_HELLO {}
74
</code></code></code></pre>
75
<P>
76
</pre><H3>BUGS</H3>
77
On some versions of Mwm, the <B>-border</B></I> will not disappear unless
78
<B>-resizeh</B></I> is turned off. Also, the -title will not disappear
79
unless all of <B>-title</B></I>, <B>-menu</B></I>, <B>-maximize</B></I> and
80
<B>-minimize</B></I> are turned off.
81
<P>
82
</pre><H3>KEYWORDS</H3>
83
Tix(n)
84
<hr><i>Last modified Sun Jan 19 22:34:32 EST 1997 </i> ---
85
<i>Serial 853731302</i>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.