Fl

 view release on metacpan or  search on metacpan

lib/Fl/Window.pod  view on Meta::CPAN


This can either be a main window, with a border and title and all the window
management controls, or a "subwindow" inside a window. This is controlled by
whether or not the window has a C<parent()>.

Once you create a window, you usually add children L<Fl::Widget>s to it by
using C<<$window->add($child)>> for each new widget. See Fl::Group for more
information on how to add and remove children.

There are several subclasses of Fl::Window that provide double-buffering,
overlay, menu, and OpenGL support.

The window's callback is done if the user tries to close a window using the
window manager and Fl::modal() is zero or equal to the window. Fl::Window has
a default callback that calls C<<Fl::Window->hide()>>.

=head1 Methods

In addition to inheriting from Fl::Group, this widget also supports the
following methods.



( run in 0.407 second using v1.01-cache-2.11-cpan-49f99fa48dc )