Wx::DemoModules::lib::BaseModule - wxPerl demo helper base class
Constructor.
Called automatically by Wx::Demo when the specific Demo Module is selected.
Need to return a list of array refs containing pairs of ??? and title.
return ( [ wxSB_HORIZONTAL, 'Horizontal' ], [ wxSB_VERTICAL, 'Vertical' ], );
Should return a list of hashes. Each hash contains a label key with a text value and an action key with a subroutine reference to become the event handler as the value.
Eg.:
return ( { label => 'Simple about dialog', action => \&simple_about_dialog, }, { label => 'Complex about dialog', action => \&complex_about_dialog, }, );
To install Wx::Demo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wx::Demo
CPAN shell
perl -MCPAN -e shell install Wx::Demo
For more information on module installation, please visit the detailed CPAN module installation guide.