Re: Event constants
| From: | Andrei Zmievski | Date: | Fri, 15 Sep 2006 21:31:37 +0000 |
| Subject: | Re: Event constants | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-3420@lists.php.net to get a copy of this message | ||
I can't think today. We can't have constants starting with digits.. I can't see anything better than leaving that underscore in then.
-Andrei
On Sep 15, 2006, at 5:11 PM, Andrei Zmievski wrote:
Wait, I meant, make them look like Gdk::2_BUTTON_PRESS. -Andrei On Sep 15, 2006, at 2:50 PM, Scott Mattocks wrote:Andrei Zmievski wrote:--PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpI'd say yes if for no other reason than to make your slide correct :) What about those that are using the Alpha and have _2BUTTON...? Would this just be a case of "Hey, we told you it was subject to change." Scott --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpEven after years, you still have the same mistake in your slides: "Gdk::2BUTTON_PRESS" does not exist, it's "Gdk::_2BUTTON_PRESS"Shoot, you're right. Should we make those constants look like Gdk::2BUTTON_PRESS instead of having that ugly underscore at the front?