tixMwm(n)
π tixMwm(n) π
Manual name drop: Tix Built-In Commands β yes bestie, this is the tixMwm page, and itβs all about talking to the Motif(tm) window manager. Communication era. π
πΈ NAME πΈ
tixMwm β communicate with the Motif(tm) window manager. Thatβs the whole name vibe: your Tix-to-Motif hotline, no cap. β¨
π¦ SYNOPSIS π¦
tixMwm option pathName ?args?
π COMMAND OPTIONS π
tixMwm decoration pathName ?option? ?value ...?β the decoration command, and itβs giving three modes, bestie:- No options: when no options are given, this command returns the values of all the decorations options for the toplevel window with the
pathName. - One option, no value: when only one option is given without specifying the value, the current value of that option is returned.
- More than one
"option value"pair: when more than one"option value"pairs are passed to this command, the specified values will be assigned to the corresponding options. As a result, the appearance of the Motif decorations around the toplevel window will be changed.
- No options: when no options are given, this command returns the values of all the decorations options for the toplevel window with the
Possible options are: -border, -menu, -maximize, -minimize, -resizeh and -title. The value must be a Boolean value. The values returned by this command are undefined when the window is not managed by mwm. π«Ά
tixMwm ismwmrunning pathNameβ returnstrueifmwmis running on the screen where the specified window is located, andfalseotherwise. Vibe check for your window manager. πtixMwm protocol pathNameβ when no additional options are given, this command returns all protocols associated with this toplevel window. Protocol inventory, slay. πtixMwm protocol pathName activate protocol_nameβ activates themwmprotocol message inmwmβs menu. Yes, activate it. πtixMwm protocol pathName add protocol_name menu_messageβ adds a newmwmprotocol message for this toplevel window. The message is identified by the string name specified inprotocol_name. A menu item will be added intomwmβs menu as specified bymenu_message. Once a newmwmprotocol message is added to a toplevel, it can be catched by the TKwm protocolcommand. Hereβs the example, literally:
tixMwm protocol . add MY_PRINT_HELLO \
{"Print Hello" _H Ctrl<Key>H}
wm protocol . MY_PRINT_HELLO {puts Hello}
tixMwm protocol pathName deactivate protocol_nameβ deactivates themwmprotocol message inmwmβs menu. Turn it off, bestie. πtixMwm protocol pathName delete protocol_nameβ deletes themwmprotocol message frommwmβs menu. Please note that the window manager protocol handler associated with this protocol (by thewm protocolcommand) is not deleted automatically. You have to delete the protocol handle explicitly. E.g.:
tixMwm protocol . delete MY_PRINT_HELLO
wm protocol . MY_PRINT_HELLO {}
π BUGS π
On some versions of Mwm, the -border will not disappear unless -resizeh is turned off. Also, the -title will not disappear unless all of -title, -menu, -maximize and -minimize are turned off. No cap, thatβs the bug lore. π
β KEYWORDS β
okay bestie, thatβs the whole page β source/version Tix 4.0, footer tag tixMwm(n), and the original footer doesnβt show a date field, so no invented date here. ππβ¨
π¦ where this page comes from
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- Copyright (c) 1993-1999 Ioi Kim Lam
- Copyright (c) 2000-2001 Tix Project Group
- (c) 1990 The Regents of the University of California
- (c) 1994-1995 Sun Microsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms