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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [Mwm.n] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1996, Expert Interface Technologies
3
'\"
4
'\" See the file "license.terms" for information on usage and redistribution
5
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6
'\"
7
'\" The file man.macros and some of the macros used by this file are
8
'\" copyrighted: (c) 1990 The Regents of the University of California.
9
'\"              (c) 1994-1995 Sun Microsystems, Inc.
10
'\" The license terms of the Tcl/Tk distrobution are in the file
11
'\" license.tcl.
12
.so man.macros
13
'----------------------------------------------------------------------
14
.HS tixMwm tix 4.0
15
.BS
16
'
17
'
18
.SH NAME
19
tixMwm - Communicate with the Motif(tm) window manager.
20
'
21
'
22
'
23
.SH SYNOPSIS
24
.PP
25
\fBtixMwm\fI option \fIpathName ?args? \fR
26
.PP
27
.SH COMMAND OPTIONS
28
.PP
29
.TP
30
\fBtixMwm decoration \fIpathName\fR ?option? ?value? ?...?
31
'
32
When no options are given, this command returns the values of all the
33
decorations options for the toplevel window with the \fIpathName\fR.
34
 
35
When only one option is given without specifying the value, the
36
current value of that option is returned.
37
 
38
When more than one "option value" pairs are passed to this command,
39
the specified values will be assigned to the corresponding options. As
40
a result, the appearance of the Motif decorations around the toplevel
41
window will be changed.
42
 
43
Possible options are: \fB-border\fR, \fB-menu\fR, \fB-maximize\fR,
44
\fB-minimize\fR, \fB-resizeh\fR and \fB-title\fR. The value must be a
45
Boolean value. The values returned by this command are undefined when
46
the window is not managed by mwm.
47
'
48
'
49
.TP
50
\fBtixMwm ismwmrunning \fIpathName\fR
51
This returns true if mwm is running on the screen where the specified
52
window is located, false otherwise.
53
'
54
'
55
.TP
56
\fBtixMwm protocol \fIpathName
57
'
58
When no additional options are given, this command returns all
59
protocols associated with this toplevel window.
60
'
61
.TP
62
\fBtixMwm protocol \fIpathName \fBactivate\fI protocol_name\fR
63
'
64
Activate the mwm protocol message in mwm's menu.
65
'
66
.TP
67
\fBtixMwm protocol \fIpathName \fBadd\fI protocol_name menu_message\fR
68
'
69
Add a new mwm protocol message for this toplevel window. The
70
message is identified by the string name specified in
71
\fIprotocol_name\fR. A menu item will be added into mwm's menu as
72
specified by \fImenu_message\fR. Once a new mwm protocol message is
73
added to a toplevel, it can be catched by the TK \fBwm protocol\fR
74
command. Here is an example:
75
.nf
76
 tixMwm protocol . add MY_PRINT_HELLO \\
77
     {"Print Hello"  _H CtrlH}
78
 wm protocol . MY_PRINT_HELLO {puts Hello}
79
.fi
80
'
81
.TP
82
\fBtixMwm protocol \fIpathName \fBdeactivate\fI protocol_name\fR
83
'
84
Deactivate the mwm protocol message in mwm's menu.
85
'
86
.TP
87
\fBtixMwm protocol \fIpathName \fBdelete\fI protocol_name\fR
88
'
89
Delete the mwm protocol message from mwm's menu. Please note that the
90
window manager protocol handler associated with this protocol (by the
91
\fBwm protocol\fR command) is not deleted automatically. You have to
92
delete the protocol handle explicitly.  E.g.:
93
.nf
94
 tixMwm protocol . delete MY_PRINT_HELLO
95
 wm protocol . MY_PRINT_HELLO {}
96
.fi
97
'
98
.PP
99
.SH BUGS
100
'
101
On some versions of Mwm, the \fB-border\fR will not disappear unless
102
\fB-resizeh\fR is turned off. Also, the -title will not disappear
103
unless all of \fB-title\fR, \fB-menu\fR, \fB-maximize\fR and
104
\fB-minimize\fR are turned off.
105
'
106
'
107
'
108
.PP
109
.SH KEYWORDS
110
Tix(n)

powered by: WebSVN 2.1.0

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