1tixMwm(n) Tix Built-In Commands tixMwm(n)
2
3
4
6 tixMwm - Communicate with the Motif(tm) window manager.
7
9 tixMwm option pathName ?args?
10
12 tixMwm decoration pathName ?option? ?value ...?
13 When no options are given, this command returns the values of
14 all the decorations options for the toplevel window with the
15 pathName.
16
17 When only one option is given without specifying the value, the
18 current value of that option is returned.
19
20 When more than one "option value" pairs are passed to this com‐
21 mand, the specified values will be assigned to the corresponding
22 options. As a result, the appearance of the Motif decorations
23 around the toplevel window will be changed.
24
25 Possible options are: -border, -menu, -maximize, -minimize,
26 -resizeh and -title. The value must be a Boolean value. The val‐
27 ues returned by this command are undefined when the window is
28 not managed by mwm.
29
30 tixMwm ismwmrunning pathName
31 This returns true if mwm is running on the screen where the
32 specified window is located, false otherwise.
33
34 tixMwm protocol pathName
35 When no additional options are given, this command returns all
36 protocols associated with this toplevel window.
37
38 tixMwm protocol pathName activate protocol_name
39 Activate the mwm protocol message in mwm's menu.
40
41 tixMwm protocol pathName add protocol_name menu_message
42 Add a new mwm protocol message for this toplevel window. The
43 message is identified by the string name specified in proto‐
44 col_name. A menu item will be added into mwm's menu as specified
45 by menu_message. Once a new mwm protocol message is added to a
46 toplevel, it can be catched by the TK wm protocol command. Here
47 is an example: tixMwm protocol . add MY_PRINT_HELLO \
48 {"Print Hello" _H Ctrl<Key>H} wm protocol . MY_PRINT_HELLO
49 {puts Hello}
50
51 tixMwm protocol pathName deactivate protocol_name
52 Deactivate the mwm protocol message in mwm's menu.
53
54 tixMwm protocol pathName delete protocol_name
55 Delete the mwm protocol message from mwm's menu. Please note
56 that the window manager protocol handler associated with this
57 protocol (by the wm protocol command) is not deleted automati‐
58 cally. You have to delete the protocol handle explicitly. E.g.:
59 tixMwm protocol . delete MY_PRINT_HELLO wm protocol .
60 MY_PRINT_HELLO {}
61
63 On some versions of Mwm, the -border will not disappear unless -resizeh
64 is turned off. Also, the -title will not disappear unless all of
65 -title, -menu, -maximize and -minimize are turned off.
66
68 Tix(n)
69
70
71
72
73
74Tix 4.0 tixMwm(n)