SDLx::GUI::Widget - Base class for all GUI widgets
version 0.001
SDLx::GUI provides some widgets to build the interface. Those widgets all inherit from this base class.
The parent widget (a SDLx::GUI::Widget object).
$widget->pack( %opts );
Request $widget to be packed on its parent. %opts is used to create a new SDLx::GUI::Pack object - refer to this module for more information on supported attributes.
$widget
%opts
my $bool = $widget->is_visible;
Return true if $widget is currently visible, ie if it is packed and there's enough place on the screen for it to be shown.
Jerome Quelin <jquelin@gmail.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.
To install SDLx::GUI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SDLx::GUI
CPAN shell
perl -MCPAN -e shell install SDLx::GUI
For more information on module installation, please visit the detailed CPAN module installation guide.