- or download this
use strict;
use warnings;
...
if ($evt->IsChecked()) { $smalltext->ChangeValue('checked'); }
else { $smalltext->ChangeValue('unchecked'); }
}
- or download this
use WxSimple qw($xrc $frmID $sbar %menu $OpenFile $SaveFile $Close
+Win $icon);
- or download this
my ($window, $id) = WxSimple::FindWindowByXid('xmlid')
- or download this
package WxSimple; use base qw(Wx::App Exporter);
use strict;
...
to do that.
Finally a call to C<MainLoop()> starts the window loop.
- or download this
<?xml version="1.0" ?>
<resource>
...
<style></style>
</object>
</resource>