Re: Enums, flags and ::
| From: | Steph Fox | Date: | Tue, 25 Oct 2005 17:06:25 +0000 |
| Subject: | Re: Enums, flags and :: | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1938@lists.php.net to get a copy of this message | ||
> > Before it's too late (assuming it isn't already): Is there any way we
can
> > return enums/flags to the standard GTK format, as they were in PHP-GTK
1?
> I vote against it. I don't know how much php-gtk1 programs are out
> there, but I doubt that there are thousands of them.
> The programs need to be changed anyway, so they can change the enums, too.
Mm, I was just feeling the temperature...
> > So the question is, do enums and flags _have_ to be registered as class
> > entry constants for ZE 2 to deal with them? Or is it just a matter of
> > convenience?
> I even had the idea to not only register them under Gtk:: and Gdk::, but
> even make extra classes just for the enums, e.g. GtkState::ACTIVE.
Noooooooooooooo! That's UGLY!
> --
> Regards/MfG,
> Christian Weiske