Re: setting line dash on Gnome2::Canvas



On Thu, 2006-03-16 at 18:04 -0500, zentara wrote:

# feeble attempt dosn't work
#$line1->set_dashes( {0,0xff,0,0xff} );

As the name gdk_gc_set_dashes suggests, you need to call the set_dashes
method on a Gtk2::Gdk::GC object:

  $gc->set_dashes(0, 0xff, 0, 0xff);

Unfortunately though, the "gc" struct member of Gnome2::Canvas::Line is
not accessible via the bindings at this point -- so right now, I think
this isn't possible.

-- 
Bye,
-Torsten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]