Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / sun4-solaris / Tk / tixWm.pod
CommitLineData
86530b38
AT
1
2
3=head1 NAME
4
5Tk::tixWm - Tix's addition to the standard TK wm command.
6
7=for category Tix Extensions
8
9=head1 SYNOPSIS
10
11S< >I<$widget>-E<gt>B<wmCapture>
12
13S< >I<$widget>-E<gt>B<wmRelease>
14
15=head1 DESCRIPTION
16
17The B<wmCapture> and the B<wmRelease> methods change the
18toplevel attribute of Tk widgets.
19
20=head1 METHODS
21
22=over 4
23
24=item I<$widget>-E<gt>B<wmCapture>
25
26Converts the toplevel window specified by I<$widget> into a non-toplevel
27widget. Normally this command is called to convert a L<Toplevel|Tk::Toplevel> widget
28into a L<Frame|Tk::Frame> widget. The newly-converted frame widget is
29un-mapped from the screen. To make it appear inside its parent, you
30must call a geometry manager (e.g. grid or pack) explictly.
31
32=item I<$widget>-E<gt>B<wmRelease>
33
34Makes the non-toplevel window specified by I<$widget> into a toplevel
35widget. Normally this command is called to convert a L<Frame|Tk::Frame> widget
36into a L<Toplevel|Tk::Toplevel> widget, but it can also be used on any
37non-toplevel widget (e.g, label). The newly-converted toplevel window
38is in a B<withdrawn> state. To make it appear on the screen, you must call
39B<deiconify> after calling B<wmRelease>.
40
41Any data associated with I<$widget> via B<wm> methods (icon, protocol,
42command etc.) are released, and must be re-established if window is later
43re-captured.
44
45=back
46
47=head1 BUGS
48
49B<wmCapture> does not exist in the Win32 window manager code.
50
51How these methods interact with perl/Tk's class hierarchy is not yet clear.
52In particular a B<wmRelease>d window will not automatically ``I<inherit>''
53the B<Tk::Wm> methods, however a B<wmCapture>d window still will.
54(A B<release>d B<Label> might make a good candidate for an B<Icon>.)
55
56=head1 AUTHORS
57
58Ioi Kim Lam - ioi@graphics.cis.upenn.edu wrote original Tix version.
59Updated for tk8.0, Win32 and perl by Nick Ing-Simmons.
60
61=head1 SEE ALSO
62
63L<Tk::Wm|Tk::Wm>
64L<Tk::Mwm|Tk::Mwm>
65L<Tk::Frame|Tk::Frame>
66L<Tk::Toplevel|Tk::Toplevel>
67
68=head1 KEYWORDS
69
70window manager, wm, TIX
71
72=cut
73