Main > Programming > Libraries >

Gtk2::Ex::Carp 0.01

Gtk2::Ex::Carp 0.01

Sponsored Links

Gtk2::Ex::Carp 0.01 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.04 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1199
Date added: 2006-07-12
Publisher: Gavin Brown

Gtk2::Ex::Carp 0.01 description

Gtk2::Ex::Carp is a GTK+ friendly die() and warn() functions.

SYNOPSIS

use Gtk2::Ex::Carp;

# these override the standard Perl functions:

warn(i told you not to push that button!);

die(an ignominious death);


# new functions for showing extended error information:

# like warn(), but shows a dialog with extra information
# in an expandable text entry:
worry($SHORT_MESSAGE, $EXTENDED_INFORMATION);

# like worry(), but fatal:
wail($SHORT_MESSAGE, $EXTENDED_INFORMATION);

This module exports four functions, of which two override the standard die() and warn() functions, and two which allow for extended error reporting. When called, these functions display a user-friendly message dialog window.

The die() function in this module actually replaces the core die() function, so any modules youve loaded may die will use former instead of the latter. die() will also print the error message to STDERR and will exit the program (with the appropriate exit code) when the dialog is dismissed.

The warn() function will also print a message to STDERR, but will allow the program to continue running when the dialog is dismissed.

EXTRA FUNCTIONS
The worry() and wail() functions behave just like warn() and die(), respectively, except that they allow you to provide additional information. A second argument, which can contain additional error information, is used to fill a text box inside an expander.

HANDLING GLIB EXCEPTIONS
This module also installs warn() as a Glib exception handler. Any unhandled exceptions will be presented to the user in a warning dialog.

PROGRAM FLOW
Note that all the functions in this module create dialogs and use the run() method, so that the standard Glib main loop is blocked until the user responds to the dialog.

Gtk2::Ex::Carp 0.01 Screenshot

Advertisements

Gtk2::Ex::Carp 0.01 Keywords

Bookmark Gtk2::Ex::Carp 0.01

Hyperlink code:
Link for forum:

Gtk2::Ex::Carp 0.01 Copyright

WareSeeker periodically updates pricing and software information of Gtk2::Ex::Carp 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Gtk2::Ex::Carp 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Gtk2::Ex::Dialogs is a Perl module with useful tools for Gnome2/Gtk2 Perl GUI design. Free Download
Gtk2::Ex::MindMapView is a Perl module to display mind map or outline on a Gnome2::Canvas. Free Download
Gtk2::Ex::Utils is a Perl module with extra Gtk2 Utilities for working with Gnome2/Gtk2 in Perl. Free Download
Gtk2::Ex::PodViewer is a Gtk2 widget for displaying Plain old Documentation (POD). Free Download
Gtk2::Ex::DBI - Bind a Gtk2::GladeXML can generated window to a DBI data source. Free Download
Gtk2::Ex::DBITableFilter is a high level widget to present large amounts of data fetched using DBI. Free Download
Gtk2::Ex::PopupWindow provides a Perl interface to the Mozilla embedding widget. Free Download
Gtk2::Ex::PrintDialog is a simple, pure Perl dialog for printing PostScript data in GTK+ applications. Free Download