Where to put certain functions/constants

From: Date: Wed, 16 Mar 2005 18:23:25 +0000
Subject: Where to put certain functions/constants
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-997@lists.php.net to get a copy of this message
I started implementing main loop related functions, when I realized that the old gtk_timeout_add() and gtk_idle_add() functions have been deprecated actually. The new ones are provided by GLib library itself, but we do not have .defs files for GLib, of course. So, the question is where these functions should be located: in Gtk:: namespace or in a new one, possibly Glib::, G::, or PHPG::. So far I have decided to dump everything into Gtk:: namespace, mostly for BC reasons, but I wanted to know if anyone has other suggestions. PyGtk has these functions under GObject:: namespace, but I think that's just arbitrary decision, since GObject itself has nothing to do with main loops. -Andrei

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