NAME

Catalyst::Helper::View::WxSDI - Helper for Wx view which builds a skeleton for a SDI wxPerl application

SYNOPSIS

# use the helper to create the view module and templates

$ script/myapp_create.pl view Wx WxSDI

# 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 goes further than Catalyst::Helper::View::WxApp in that it creates for you a window with a menu, status bar and a few other things to get you started.

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.