Re: drawing functions
| From: | Andrei Zmievski | Date: | Mon, 26 Sep 2005 16:45:39 +0000 |
| Subject: | Re: drawing functions | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1703@lists.php.net to get a copy of this message | ||
That is so not true. :)
-Andrei
On Sep 26, 2005, at 5:36 AM, Scott Mattocks wrote:
Pablo Dall'Oglio wrote:I didn't realize how to use drawing functions on php-gtk2... This code gives me an error:I haven't given it a try but the error message is saying that $a needs to be the first argument. Argument positions in error messages are indexed begining at zero not one. Scott -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php$a = new GdkGC($gdkwindow); var_dump($a); GdkDrawable::draw_rectangle($drawingarea, $a, 4, 4, 580, 340); Fatal error: Argument 1 must be an instance of GdkGC....Does someone know how it works ?