Breno G. de Oliveira > Padre-0.45 > Wx::Perl::Dialog::Simple

Download:
Padre-0.45.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.45   Source   Latest Release: Padre-0.47

NAME ^

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

SYNOPIS ^

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

SUPPORT ^

See http://padre.perlide.org/

COPYRIGHT ^

Copyright 2008 Gabor Szabo. http://www.szabgab.com/

LICENSE ^

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

WARRANTY ^

There is no warranty whatsoever. If you lose data or your hair because of this program, that's your problem.

CREDITS and THANKS ^

To Mattia Barbon for providing WxPerl.

The idea was taken from the Zenity project.

syntax highlighting: