| Wx-Demo documentation | view source | Contained in the Wx-Demo distribution. |
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,
},
);
| Wx-Demo documentation | view source | Contained in the Wx-Demo distribution. |