---
name: "Wx::Perl::Dialog::Simple"
section: "3pm"
platform: "linux"
package: "libwx-perl-dialog-perl"
version: "0.63.ds1-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Wx::Perl::Dialog::Simple"
---

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

a set of simple dialogs (a partial Zenity clone in wxPerl)

## NAME

Wx::Perl::Dialog::Simple - 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,
      }
  );
```

## SUPPORT

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

## 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.
