Mwm - Online Linux Manual PageSection : 3pm
Updated : 2020-11-09
Source : perl v5.32.0
Note : User Contributed Perl Documentation
NAMETk::Mwm − Communicate with the Motif(tm) window manager.
SYNOPSIS use Tk::Mwm; $toplevel−>mwmOption?(args)? $toplevel−>mwm(option ?,args?)
DESCRIPTIONInterface to special extentions supported by mwm.
METHODS$toplevel−>mwmDecoration?(?option??=>value? ?,...?)? 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. $toplevel−>mwmIsmwmrunning This returns value is true if mwm is running on the screen where the specified window is located, false otherwise. $toplevel−>mwmProtocol When no additional options are given, this method returns all protocols associated with this toplevel window. $toplevel−>mwmProtocol(activate => protocol_name) Activate the mwm protocol message in mwm's menu. $toplevel−>MwmProtocol(add => protocol_name, menu_message) 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: $toplevel−>mwmProtocol('add' => 'MY_PRINT_HELLO', '‟Print Hello” _H Ctrl<Key>H'); $toplevel−>protocol('MY_PRINT_HELLO' => sub {print ‟Hello”}); $toplevel−>mwmProtocol('deactivate' => protocol_name) 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.: $mw−>mwmProtocol('delete' => 'MY_PRINT_HELLO'); $mw−>protocol('MY_PRINT_HELLO' => '');
BUGSThis is a Tix extension which perl/Tk has adopted. It has not been tested as perl/Tk's author has not got round to installing a Motif Window Manager. 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.
SEE ALSOTk::Wm Tk::tixWm Tk::Toplevel
KEYWORDSwindow manager, mwm, TIX
AUTHORIoi Kim Lam − ioi@graphics.cis.upenn.edu 0
Johanes Gumabo
Data Size : 16,112 byte
man-Tk::Mwm.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 236,680
Visitor ID : :
Visitor IP : 18.119.112.208 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Tk::Mwm.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Tk::Mwm.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Tk::Mwm.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|149|Tk::Mwm.3pm|43|'br══─}─══ |'br══─}─══
)