Re: Is PHP-GTK 2 funcional?
| From: | Andrei Zmievski | Date: | Fri, 11 Mar 2005 17:43:05 +0000 |
| Subject: | Re: Is PHP-GTK 2 funcional? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-970@lists.php.net to get a copy of this message | ||
On Fri, 11 Mar 2005, Scott Mattocks wrote:
> >This should be fixed in CVS now.
>
> I tried again last night and got the same result. If you want another
> backtrace let me know.
Yes, please. Forgive me for asking, but you are sure you updated from
CVS, compiled and installed the module in the appropriate directory?
> I'd like to help out by cleaning up the tests to get rid of the
> deprecated classes and methods. I know that I can't get everything done
> now but I can at least get started. Is that ok? If so is there any
> special way you want me to go about it?
Yes, that would help a lot. You can either modify existing tests or look
at demos that come with Gtk+ and PyGTK and port those.
> Also, (if I am getting too far ahead let me know) is there anyway to
> determine what exceptions a widget throws? I didn't see anything in the
> relection API. It would really help for writing the docs to be able to
> automatically generate a list of exceptions thrown.
So far there are only a couple of exceptions. PhpGtkConstructException
is thrown when a widget cannot be constructed due to bad parameters or
otherwise. And PhpGtkGErrorException is generated by functions that
return GError internally, like GdkPixbuf::new_from_file().
- Andrei