1tixWm(3) User Contributed Perl Documentation tixWm(3)
2
3
4
6 Tk::tixWm - Tix's addition to the standard TK wm command.
7
9 $widget->wmCapture
10
11 $widget->wmRelease
12
14 The wmCapture and the wmRelease methods change the toplevel attribute
15 of Tk widgets.
16
18 $widget->wmCapture
19 Converts the toplevel window specified by $widget into a non-
20 toplevel widget. Normally this command is called to convert a
21 Toplevel widget into a Frame widget. The newly-converted frame
22 widget is un-mapped from the screen. To make it appear inside its
23 parent, you must call a geometry manager (e.g. grid or pack)
24 explictly.
25
26 $widget->wmRelease
27 Makes the non-toplevel window specified by $widget into a toplevel
28 widget. Normally this command is called to convert a Frame widget
29 into a Toplevel widget, but it can also be used on any non-toplevel
30 widget (e.g, label). The newly-converted toplevel window is in a
31 withdrawn state. To make it appear on the screen, you must call
32 deiconify after calling wmRelease.
33
34 Any data associated with $widget via wm methods (icon, protocol,
35 command etc.) are released, and must be re-established if window is
36 later re-captured.
37
39 wmCapture does not exist in the Win32 window manager code.
40
41 How these methods interact with perl/Tk's class hierarchy is not yet
42 clear. In particular a wmReleased window will not automatically
43 ``inherit'' the Tk::Wm methods, however a wmCaptured window still will.
44 (A released Label might make a good candidate for an Icon.)
45
47 Ioi Kim Lam - ioi@graphics.cis.upenn.edu wrote original Tix version.
48 Updated for tk8.0, Win32 and perl by Nick Ing-Simmons.
49
51 Tk::Wm Tk::Mwm Tk::Frame Tk::Toplevel
52
54 window manager, wm, TIX
55
56
57
58perl v5.12.0 2010-05-13 tixWm(3)