Gtk2::Ex::Dialogs::Message 0.11 review
DownloadGtk2::Ex::Dialogs::Message provides a simple message dialog. SYNOPSIS use Gtk2::Ex::Dialogs::Message ( destroy_with_parent =>
|
|
Gtk2::Ex::Dialogs::Message provides a simple message dialog.
SYNOPSIS
use Gtk2::Ex::Dialogs::Message ( 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::Message::parent_window = $window;
# 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 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_show
Gtk2::Ex::Dialogs::Message ( title => "Uhm",
text => "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::Message 0.11 search tags