Gtk2::Ex::DialogsGtk2::Ex::Dialogs is a Perl module with useful tools for Gnome2/Gtk2 Perl GUI design. | |
Download |
Gtk2::Ex::Dialogs Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Kevin C. Krinke and James Greenhalgh
- Publisher web site:
- http://search.cpan.org/~kck/
Gtk2::Ex::Dialogs Tags
Gtk2::Ex::Dialogs Description
Gtk2::Ex::Dialogs is a Perl module with useful tools for Gnome2/Gtk2 Perl GUI design. Gtk2::Ex::Dialogs is a Perl module with useful tools for Gnome2/Gtk2 Perl GUI design.SYNOPSIS use Gtk2::Ex::Dialogs ( destroy_with_parent => TRUE, modal => TRUE, no_separator => FALSE ); # do some stuff like creating your app's main $window then, # to ensure that all messages use the right parent, set it: Gtk2::Ex::Dialogs->set_parent_window( $window ); # now popup a new dialog my $r = ask Gtk2::Ex::Dialogs::Question ( "Is Perl only hacker's glue?" ); if ( $r ) { # end-user thinks so } else { # end-user does not think so } # now popup a new dialog ( blocking the main loop if there is one ) new_and_run Gtk2::Ex::Dialogs::Message ( title => "Dialog Title", text => "This is a simple message" ); # now popup a new dialog ( blocking the main loop if there is one ) new_and_run Gtk2::Ex::Dialogs::ErrorMsg ( "Simple error message." );This module provides the Gtk2::Ex::Dialogs::Message, Gtk2::Ex::Dialogs::ErrorMsg and Gtk2::Ex::Dialogs::Question classes to the main application while setting the initial defaults to those specified upon using Gtk2::Ex::Dialogs. Requirements: · Perl
Gtk2::Ex::Dialogs Related Software