Re: setting line dash on Gnome2::Canvas
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: setting line dash on Gnome2::Canvas
- Date: Fri, 17 Mar 2006 13:45:46 +0100
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]