Re: PHP-GTK manual and demo scripts coding standards [WAS: Viewport critical warnings - sorted]
| From: | Steph Fox | Date: | Mon, 24 Oct 2005 16:04:25 +0000 |
| Subject: | Re: PHP-GTK manual and demo scripts coding standards [WAS: Viewport critical warnings - sorted] | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1917@lists.php.net to get a copy of this message | ||
> > I don't like Gtk::main() either - I think functions without an object
should
> > be treated as standard PHP functions, i.e. lowercased.
> So gtk::main()?
> But then you *have* to do a gtk::SELECTION_SINGLE.
I realise it _seems_ inconsistent, but the internal name for that is
actually GTK_SELECTION_SINGLE. Calling it GTK:: is more a matter of
convenience for our generator than it is any other thing.
> > Also we need to decide where to put our Coding Standards file - should
it be
> > in php-gtk-doc or php-gtk module, or both?
> php-gtk as the demos are there, and the doc people will know that the CS
> are in the php-gtk module, or we make a link to that file.
Fine by me - Andrei, any opinion on this?
> > (Internals is easier, everyone that contributed already went with PHP's
> > internal CS recommendations).
> "Internals" refers to what?
All things written in C...
- Steph