Re: GdkGC constructor
| From: | Scott Mattocks | Date: | Tue, 28 Feb 2006 14:01:21 +0000 |
| Subject: | Re: GdkGC constructor | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2449@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
Choice1 $gc = new GdkGC($window); $gc->set_foreground(...); $gc->set_background(...); $gc->set_line_attributes(...);I vote for 1A. It makes for cleaner code than the others. Plus it will make the docs for GdkGC easier to understand (and to write). -- Scott Mattocks http://www.crisscott.com