[Gtk-sharp-list] How to draw a dotted line with gnomecanvas

Rodolfo Campero Rodolfo Campero <rodolfo.campero@gmail.com>
Sat, 16 Apr 2005 13:46:32 +0000


I would like to draw a dotted line; actually I want to draw a line
with small segments, alternating a foreground color and full

The project uses GnomeCanvas, so I tried the class CanvasLine, using
the property LineStyle. I tried both Gdk.LineStyle.OnOffDash and
Gdk.LineStyle.DoubleDash, with no luck.

Could someone post a little sample, or some pointer to the right informatio=

Thanks in advance,


PS: I'm sorry if this gets duplicated; I sent this email a couple of
weeks ago when I was not subscribed to the list.