Wx::Perl::Dialog::Simple(3pm)

Wx::Perl::Dialog::Simple3pm

A set of simple dialogs (a partial zenity clone in wxperl)

Usage

As a module:

  use Wx::Perl::Dialog::Simple;
  my $name = entry(title => "What is your name?");
  message(text => "How are you $name today?\n");

On the command line try

  wxer --help

Options

There are some common option for every dialog

title

window-icon NA

width NA

height NA

Methods

Dialogs

entry

Display a text entry dialog

dialog

Generic dialog, with two buttons and a place for some control. It needs 4 parameters: 3 subroutines and a hash-ref

  dialog(
      sub { create_and_return_the_control },
      sub { setup_data_in_the control },
      sub { fetch_and_return_data_from_the_control },
      {
          title => "",
          other arguments,
      }
  );

Support

See <http://padre.perlide.org/>

CREDITS and THANKS

To Mattia Barbon for providing wxPerl.

The idea was taken from the Zenity project.

From libwx-perl-dialog-perl 0.63.ds1-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.