Re: Is PHP-GTK 2 funcional?

From: Date: Fri, 11 Mar 2005 23:44:57 +0000
Subject: Re: Is PHP-GTK 2 funcional?
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-974@lists.php.net to get a copy of this message
Gtk+ does not throw any exceptions by default. PHP-GTK decides to throw certain exceptions in certain cases - like PhpGtkConstructException if construction fails. Each one has to be done on a case by case basis, except for the functions that return errors using GError type - those are generated automatically and will always throw PhpGtkGErrorException. -Andrei On Mar 11, 2005, at 12:38 PM, Scott Mattocks wrote:
From my understanding, C doesn't have exceptions. So where do they come from? The docs won't really be complete unless we can say something like, "GtkBin::add() throws a GtkContainerFull exception if it already has a child when you try to add another widget." I don't know how to tell what exceptions a given method might throw. The only method I have found so far is to purposely do something I know is wrong.


« previous php.gtk.dev (#974) next »