tixMwm(n)

πŸ“¦ version 8.4.3, in opensuse-leap 16.0

πŸ’… 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.

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 β€” returns true if mwm is running on the screen where the specified window is located, and false otherwise. 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 the mwm protocol message in mwm’s menu. Yes, activate it. πŸ’…
  • tixMwm protocol pathName add protocol_name menu_message β€” adds a new mwm protocol message for this toplevel window. The message is identified by the string name specified in protocol_name. A menu item will be added into mwm’s menu as specified by menu_message. Once a new mwm protocol message is added to a toplevel, it can be catched by the TK wm protocol command. 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 the mwm protocol message in mwm’s menu. Turn it off, bestie. πŸŒ™
  • tixMwm protocol pathName delete protocol_name β€” deletes the mwm protocol message from mwm’s menu. Please note that the window manager protocol handler associated with this protocol (by the wm protocol command) 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 ⭐

Tix(n)


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