Wx::Perl::Dialog::Simple(3) a set of simple dialogs (a partial Zenity clone in wxPerl)

SYNOPSIS

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

General 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,
      }
  );

COPYRIGHT & LICENSE

Copyright 2008-2010 The Padre development team as listed in Padre.pm.

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

The full text of the license can be found in the LICENSE file included with this module.

CREDITS and THANKS

To Mattia Barbon for providing wxPerl.

The idea was taken from the Zenity project.