NAME
Catalyst::Helper::View::WxApp - Helper for Wx view which builds a skeleton wxPerl application
SYNOPSIS
# use the helper to create the view module and templates
$ script/myapp_create.pl view Wx WxApp
# add something like the following to your main application module
sub hello_world : Global {
my ( $self, $c ) = @_;
$c->stash->{class} = 'Hello';
$c->stash->{message} ||= $c->req->param('message') || 'No message';
}
sub default : Private {
my ( $self, $c ) = @_;
$c->stash->{class} = 'Default';
}
sub end : Private {
my ( $self, $c ) = @_;
$c->forward('MyApp::View::Wx');
}
If you have a RenderView make sure it does not try to render other views before the Wx one.
Then after simply do a
perl script/myapp_wx.pl
and you should get started.
Have fun !
DESCRIPTION
This helper module creates a Wx View module. It creates also a sample window with some controls to get you started.
You can also use other helpers to get other applications skeletons.
It also build
METHODS
mk_compclass
Generates the component class.
mk_templates
Generates the templates.
SEE ALSO
Catalyst, Catalyst::View::Wx, Catalyst::Helper, Catalyst::Helper::View::TT, Catalyst::Engine::Wx
AUTHOR
Eriam Schaffter <eriam@cpan.org> and with code inspired by Catalyst::Helper::View::TTSite by Andy Wardley <abw@cpan.org>
LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
NAME
[% class %] - Catalyst wxPerl View
SYNOPSIS
See "[% app %]"
DESCRIPTION
Catalyst wxPerl View.
AUTHOR
[% author %]
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.