Re: Return values from gtk2 widget (void) methods



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]