aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Tk-Role-Dialog/pkg-descr
blob: 5b5589863a9bb2b6c8f57b8c0e3e3c4553231769 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Tk::Role::Dialog is meant to be used as a Moose role to be composed for easy Tk
dialogs creation.

It will create a new toplevel with a title, and possibly a header as well as
some buttons.

One can create the middle part of the dialog by providing a _build_gui() method,
that will receive a Tk::Frame where widgets are supposed to be placed.

The attributes (see below) can be either defined as defaults using the
_build_attr() methods, or passed arguments to the constructor call. The only
mandatory attribute is parent, but you'd better provide some other attributes if
you want your dialog to be somehow usable! :-)

WWW: http://search.cpan.org/dist/Tk-Role-Dialog/