NAME

Wx::Perl::PodEditor - A RichText Ctrl for creating Pod

SYNOPSIS

Perhaps a little code snippet.

use Wx::Perl::PodEditor;

my $main_sizer = Wx::BoxSizer->new( wxVERTICAL );
my $foo        = Wx::Perl::PodEditor->create( $self, [500,220] );
$main_sizer->Add( $editor->sizer, 0, wxTOP, 0 );
...

METHODS

create

get_pod

get_pod returns the Pod. It converts the richtext to pod.

my $pod = $podeditor->get_pod;

set_pod

With set_pod you can (re)set the documentation text in the RichTextCtrl. It requires a string with Pod text in it.

$podeditor->set_pod( '=head1 Test\n\nThis is a simple test' );

sizer

returns the Wx::Sizer with the RichTextCtrl.

my $sizer = $podeditor->sizer;
$main_sizer->Add( $sizer, 0, wxTOP, 0 );

AUTHOR

Renee Baecker, <module at renee-baecker.de>

BUGS

Please report any bugs or feature requests to bug-wx-perl-podeditor at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Wx::Perl::PodEditor. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Wx::Perl::PodEditor

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Renee Baecker, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.