SDLx::GUI::Widget::Toplevel - Toplevel widget for whole app screen
This package provides a widget that will cover the whole application screen. It should be used as the base widget upon which all the other ones will be drawn.
One can call methods named after the widget class to be created on the toplevel. It will try to load said class and return the wanted widget. For example:
my $button = $toplevel->Button( ... ); my $label = $toplevel->Label( ... );
A reference to the main SDL application (a SDLx::App object). Mandatory, but storead as a weak reference.
$top to be redrawn on the main application window, along with all its children.
Jerome Quelin <email@example.com>
This software is copyright (c) 2013 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.