Tk::tixWm3pm
Tix's addition to the standard tk wm command.
Usage
$widget->wmCapture
$widget->wmRelease
Overview
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
withdrawnstate. To make it appear on the screen, you must calldeiconifyafter callingwmRelease.Any data associated with $widget via
wmmethods (icon, protocol, command etc.) are released, and must be re-established if window is later re-captured.
Keywords
window manager, wm, TIX
Releases
15 releases since Debian 2.1 (Slink); the text changed 14 times.