Re: gtk::draw_arrow problem

From: Date: Thu, 28 Mar 2002 00:05:35 +0000
Subject: Re: gtk::draw_arrow problem
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1661@lists.php.net to get a copy of this message
On Tue, 26 Mar 2002 14:11, Steph wrote: > Yeah, it took me a while to figure this too :-) > > $colormap = gdk::colormap_get_system(); > $style->bg_gc[GTK_STATE_NORMAL]->foreground = $colormap->alloc('red'); > > - will draw a red arrow if you've got 'fill' switched to 'true'. > thanks - got it working now - seems my problem was with $style not being set correctly. > I've had no problem with sizing it, you haven't confused the final 4 params > have you? > > The first two are the co-ordinates, the last two are the size. > >

« previous php.gtk.general (#1661) next »