| 1 | package Padre::Plugin::Cookbook::Recipe01::FBP::MainFB; | ||
| 2 | |||
| 3 | # This module was generated by Padre::Plugin::FormBuilder::PerlX. | ||
| 4 | # To change this module, edit the original .fbp file and regenerate. | ||
| 5 | # DO NOT MODIFY BY HAND! | ||
| 6 | |||
| 7 | 2 | ▶ | use v5.10.1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | # use diagnostics; | ||
| 11 | # use utf8; | ||
| 12 | # use autodie; | ||
| 13 | 0 | ▶ | use Padre::Wx (); |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 14 | use Padre::Wx::Role::Main (); | ||
| 15 | |||
| 16 | our $VERSION = '0.24'; | ||
| 17 | use parent -norequire, qw( | ||
| 18 | Padre::Wx::Role::Main | ||
| 19 | Wx::Dialog | ||
| 20 | ); | ||
| 21 | |||
| 22 | sub new { | ||
| 23 | my $class = shift; | ||
| 24 | my $parent = shift; | ||
| 25 | |||
| 26 | my $self = $class->SUPER::new( | ||
| 27 | $parent, | ||
| 28 | -1, | ||
| 29 | "Main", | ||
| 30 | Wx::wxDefaultPosition, | ||
| 31 | Wx::wxDefaultSize, | ||
| 32 | Wx::wxDEFAULT_DIALOG_STYLE | Wx::wxRESIZE_BORDER, | ||
| 33 | ); | ||
| 34 | $self->SetSizeHints( Wx::wxDefaultSize, Wx::wxDefaultSize ); | ||
| 35 | |||
| 36 | my $m_staticText1 = Wx::StaticText->new( | ||
| 37 | $self, | ||
| 38 | -1, | ||
| 39 | "Hello World", | ||
| 40 | ); | ||
| 41 | |||
| 42 | my $bSizer1 = Wx::BoxSizer->new(Wx::wxVERTICAL); | ||
| 43 | $bSizer1->Add( $m_staticText1, 0, Wx::wxALIGN_CENTER | Wx::wxALL, 5 ); | ||
| 44 | |||
| 45 | $self->SetSizer($bSizer1); | ||
| 46 | $self->Layout; | ||
| 47 | $bSizer1->Fit($self); | ||
| 48 | $bSizer1->SetSizeHints($self); | ||
| 49 | |||
| 50 | return $self; | ||
| 51 | } | ||
| 52 | |||
| 53 | 1; | ||
| 54 | |||
| 55 | =pod | ||
| 56 | |||
| 57 | =over 4 | ||
| 58 | |||
| 59 | =item new () | ||
| 60 | |||
| 61 | Constructor. Auto-generated by Padre::Plugin::FormBuilder. | ||
| 62 | |||
| 63 | =back | ||
| 64 | |||
| 65 | =head1 AUTHOR | ||
| 66 | |||
| 67 | Adam Kennedy E<lt>adamk@cpan.orgE<gt> | ||
| 68 | |||
| 69 | =head1 SEE ALSO | ||
| 70 | |||
| 71 | L<Padre> | ||
| 72 | |||
| 73 | =head1 LICENSE AND COPYRIGHT | ||
| 74 | |||
| 75 | Copyright (c) 2008-2013 The Padre development team as listed in Padre.pm. | ||
| 76 | |||
| 77 | This module is free software; you can redistribute it and/or | ||
| 78 | modify it under the same terms as Perl itself. | ||
| 79 | |||
| 80 | =cut | ||
| 81 | |||
| 82 | |||