Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk::tixwm(3pm) [debian man page]

tixWm(3pm)						User Contributed Perl Documentation						tixWm(3pm)

NAME
Tk::tixWm - Tix's addition to the standard TK wm command. SYNOPSIS
$widget->wmCapture $widget->wmRelease DESCRIPTION
The wmCapture and the wmRelease methods change the toplevel attribute of Tk widgets. METHODS
$widget->wmCapture Converts the toplevel window specified by $widget into a non-toplevel widget. Normally this command is called to convert a Toplevel widget into a Frame widget. The newly-converted frame widget is un-mapped from the screen. To make it appear inside its parent, you must call a geometry manager (e.g. grid or pack) explictly. $widget->wmRelease Makes the non-toplevel window specified by $widget into a toplevel widget. Normally this command is called to convert a Frame widget into a Toplevel widget, but it can also be used on any non-toplevel widget (e.g, label). The newly-converted toplevel window is in a withdrawn state. To make it appear on the screen, you must call deiconify after calling wmRelease. Any data associated with $widget via wm methods (icon, protocol, command etc.) are released, and must be re-established if window is later re-captured. BUGS
wmCapture does not exist in the Win32 window manager code. How these methods interact with perl/Tk's class hierarchy is not yet clear. In particular a wmReleased window will not automatically ``inherit'' the Tk::Wm methods, however a wmCaptured window still will. (A released Label might make a good candidate for an Icon.) AUTHORS
Ioi Kim Lam - ioi@graphics.cis.upenn.edu wrote original Tix version. Updated for tk8.0, Win32 and perl by Nick Ing-Simmons. SEE ALSO
Tk::Wm Tk::Mwm Tk::Frame Tk::Toplevel KEYWORDS
window manager, wm, TIX perl v5.14.2 2010-05-29 tixWm(3pm)

Check Out this Related Man Page

Mwm(3pm)						User Contributed Perl Documentation						  Mwm(3pm)

NAME
Tk::Mwm - Communicate with the Motif(tm) window manager. SYNOPSIS
use Tk::Mwm; $toplevel->mwmOption?(args)? $toplevel->mwm(option ?,args?) DESCRIPTION
Interface 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' => ''); BUGS
This 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 ALSO
Tk::Wm Tk::tixWm Tk::Toplevel KEYWORDS
window manager, mwm, TIX AUTHOR
Ioi Kim Lam - ioi@graphics.cis.upenn.edu perl v5.14.2 2010-05-29 Mwm(3pm)
Man Page