dashline migration from 0.14 to 2.0
- From: Serge Noiraud <Serge Noiraud free fr>
- To: goocanvas-list gnome org
- Subject: dashline migration from 0.14 to 2.0
- Date: Mon, 01 Jul 2013 20:54:43 +0200
Hi,
I have a porting problem with dash lines.
With goocanvas 0.14
the python program used :
item = goocanvas.Path(parent = self.current_parent(),
data = p_data,
stroke_color = stroke_color,
line_width = 1,
line_dash = goocanvas.LineDash([5.0, 5.0]))
Someone port it to :
item = GooCanvas.CanvasPath(parent = self.current_parent(),
data = p_data,
stroke_color = stroke_color,
line_width = 1,
line_dash = GooCanvas.LineDash([5.0, 5.0]))
It crashed because GooCanvas.LineDash accept no argument.
What is the best way to have the same functionality ?
Serge
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]