From: Neil Conway Date: 2002-03-19T16:05:39+09:00 Subject: Re: how does gtk curve work? On Mon, 2002-03-18 at 13:30, Massimiliano Mirra wrote: > On Mon, Mar 18, 2002 at 08:23:57PM +0900, mrp@cre.canon.co.uk wrote: > > > curve.set_vector(3, [0,0, 0.5,0.3, 1,1]) > > > > > > try: > > > > curve.set_vector(6 , [0,0, 0.5,0.3, 1,1]) > > ^^ > > > > the initial number should be the number of items of data, rather than > > number of coordinate pairs. > > Thanks a lot Martin, but it gives weirder results than before. :-( Since this is a GTK+ API question (and not something that relates to Ruby-Gtk or Ruby as such), perhaps you'd have better results asking on the GTK+ list? I'd help you out, but I've never used Gtk::Curve :-) If the difficulties you've having turn out to be caused by a Ruby-Gtk bug, let me know and I'll fix it. Cheers, Neil -- Neil Conway PGP Key ID: DB3C29FC