Re: Return values from gtk2 widget (void) methods
- From: Dermot Musgrove <dermot glade perl connectfree co uk>
- To: Guillaume Cottenceau <gc mandrakesoft com>
- Cc: "gtk-perl-list gnome org" <gtk-perl-list gnome org>
- Subject: Re: Return values from gtk2 widget (void) methods
- Date: Wed, 23 Oct 2002 00:27:46 +0100
Guillaume Cottenceau wrote:
[...]
Perl's eval() seems able to get and return errors (in $@) so I assumed
that it would be possible in Gtk2-Perl too but if this is not the
case then I suppose that we'll have to go with returning whatever
the gtk2 function returns.
I don't see what's your idea with eval.
I was just wondering if Perl can do it (trap errors in $@) why can't
Gtk2-Perl? Is $@ loaded from STDERR or is there some nice generic way
to trap gtk2 error messages so that a central error handler could
determine success or failure.
Regards, Dermot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]