gtk+ 2.x provides a nice enhancement to the Dialog API, allowing you to use the idea of responses instead of just connecting to buttons, and making modal dialogs very easy. There are two ways to use the Gtk2::Dialog -- by calling $dialog->run() for modal dialogs, or by connecting to the response signal and handling things yourself, usually for modeless dialogs.
1 POD Error
The following errors were encountered while parsing the POD:
Unknown directive: =doc
To install Gtk2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gtk2
CPAN shell
perl -MCPAN -e shell install Gtk2
For more information on module installation, please visit the detailed CPAN module installation guide.