Re: Should Gtk be a namespace?

[email protected] (Bruno P. Gonçalves) Thu, 4 Jul 2019 13:41:55 -0300
Newsgroups php.gtk.dev
Message-ID <CAHOq+hnerV96Kp_eUG3y6kRi4=sbgc2jK57nZt4aYJd4hL4juw@mail.gmail.com>
--0000000000000b16c1058cddaaaf
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

If you can, vote on twitter to get centered to my mind

https://twitter.com/ScornInPC/status/1146740464541995009

Thank you

- - -
Bruno Pitteli Gon=C3=A7alves
AndOr - https://andor.com.br/
General - http://www.agenciageneral.com.br/


On Thu, Jul 4, 2019 at 9:03 AM Bruno P. Gon=C3=A7alves <[email protected]=
>
wrote:

> 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 =3D 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 =3D new \Gtk\SourceView();
>
> or
>
> $sv =3D new \GtkSource\View();
>
> Any advice?
>
> - - -
> Bruno Pitteli Gon=C3=A7alves
> AndOr - https://andor.com.br/
> General - http://www.agenciageneral.com.br/
>

--0000000000000b16c1058cddaaaf--