When no options are given, this method returns the values of all the
decorations options for the toplevel window with the $toplevel.
When only one option is given without specifying the value, the
current value of that option is returned.
When more than one ``option-value'' pairs are passed to this method,
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.
Add 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 caught by the TK protocol
method. Here is an example:
Deactivate the mwm protocol message in mwm's menu.
$toplevel->mwmProtocol('delete' => protocol_name)
Delete the mwm protocol message from mwm's menu. Please note that the
window manager protocol handler associated with this protocol (by the
protocol method) is not deleted automatically. You have to
delete the protocol handle explicitly. E.g.: