Name

Mwm

tixMwm operation [arg arg...]

Communicate with mwm, the Motif window manager. The tixMwm command can take the following forms:

tixMwm decoration pathName [Option [value [option value...] ] ]

Query or modify the Motif window decoration options for the top-level window pathName in the same manner as the standard widget configure method. Valid options are -border, -menu, -maximize, -minimize, -resizeh, and -title.

tixMwm ismwmrunning pathName

Return 1 if mwm is running on pathName’s screen, 0 otherwise.

tixMwm protocol pathName

Return a list of all protocols associated with the top-level window pathName.

tixMwm protocol pathName activate protocol

Activate the given mwm protocol in mwm’s menu.

tixMwm protocol pathName add protocol menuMsg

Add a new mwm protocol named protocol and add an item in mwm’s menu according to menuMsg that will invoke the protocol. MenuMsg is a valid X resource for a mwm menu item. The protocol invocation can be caught using the Tk wm protocol command.

tixMwm protocol pathName deactivate protocol

Deactivate the given protocol in mwm’s menu.

tixMwm protocol pathName delete protocol

Delete the given protocol from mwm’s menu.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.