Gtk2::Ex::Dialogs::ErrorMsg 0.11 review

Download
by rbytes.net on

Gtk2::Ex::Dialogs::ErrorMsg provides a simple error message dialog. SYNOPSIS use Gtk2::Ex::Dialogs::ErrorMsg ( destroy_with_pa

License: Perl Artistic License
File size: 20K
Developer: Kevin C. Krinke and James Greenhalgh
0 stars award from rbytes.net

Gtk2::Ex::Dialogs::ErrorMsg provides a simple error message dialog.

SYNOPSIS

use Gtk2::Ex::Dialogs::ErrorMsg ( 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::ErrorMsg::parent_window = $window;

# now popup a new dialog ( blocking the main loop if there is one )
new_and_run Gtk2::Ex::Dialogs::ErrorMsg ( "Simple error message." );

# now popup a somwhat useful dialog that doesn't block any main loop
# but on the other side of the coin, if there is no main loop the
# dialog will be completely unresponsive.
new_and_show Gtk2::Ex::Dialogs::ErrorMsg ( "Use when there is a main loop." );

This module provides a simple dialog api that wraps Gtk2::Dialog objectively. The objective is a clean and simple message dialog (only an "OK" button).

Requirements:
Perl

Gtk2::Ex::Dialogs::ErrorMsg 0.11 search tags