Should Gtk be a namespace?

From: Date: Thu, 04 Jul 2019 12:03:33 +0000
Subject: Should Gtk be a namespace?
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-4728@lists.php.net to get a copy of this message
I'm almost completing the implementation of Gtk classes, and by writing some Gdk and GtkSourceView features, I came to doubt to use Gtk as a namespace. I think it would be nice to have Gtk and Gdk as namespaces, like. $win = new \Gtk\Window(); $win->show_all(); \Gtk\main_quit(); The problem are. What the best place to add 3th party code? Like SourceView? Inside Gtk namespace? on own namespace? $sv = new \Gtk\SourceView(); or $sv = new \GtkSource\View(); Any advice? - - - Bruno Pitteli Gonçalves AndOr - https://andor.com.br/ General - http://www.agenciageneral.com.br/

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