Fl::Box - Simple Box and Label Widget
my $box = Fl::Box->new(0, 0, 100, 200, 'Hello, World!');
This widget simply draws its box, and possibly its label.
Putting it before some other widgets and making it big enough to surround them will let you draw a frame around them.
Fl::Box inherits from Fl::Widget and exposes the following methods...
my $box_a = Fl::Box->new(0, 0, 250, 500); my $box_b = Fl::Box->new(0, 0, 250, 500, 'Important Stuff'); my $box_c = Fl::Box->new(FL_UP_BOX, 0, 0, 250, 500, 'Important Stuff');
The first two constructors set
FL_NO_BOX which means it is invisible. However such widgets are useful as placeholders or Fl::Group->resizable() values. To change the box to something visible, use
The third form of the constroctor sets the box to the specified box type.
The destructor removes the box.
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Sanko Robinson <email@example.com>