I have this simple code:
Gnome::Canvas::Line segm = new
Gnome::Canvas::Line(*(canvas->root()), points);
segm->property_width() = 2;
segm->property_color() = "black"
segm->property_line_style() =
Gdk::LINE_DOUBLE_DASH;
where "points" is an appropriate
Gnome::Canvas::Points.
The problem is that the line is filled black
but without any dashing. I tried also Gdk::LINE_ON_OFF_DASH, same problem.
It's like that this instrucion does nothing.
For other properties ther's usually a
property_***_set() function, but not in this case.
Wher's the problem?
Thx in advice,
Marcello
|