From: Phlip Date: 2002-07-06T05:17:43+09:00 Subject: Re: Tk configuration issue Joel VanderWerf wrote: > Phlip wrote: > >> line = TckLine.new(canvas, x0, y0, x1, y1). >> fill(color). >> width(3) > > You can already do: > > line = TckLine.new(canvas, x0, y0, x1, y1) > line.fill(color) > line.width(3) > > I prefer this because if you delete the last line, you don't cause a > syntax error (or worse). A TkCanvas has sufficient performance issues that one hesitates to construct one and then change its props. This may be cheap. If it is expensive, and if we can thwart this via any more elaborate construction, then how we construct is no longer an esthetic issue. -- Phlip http://www.greencheese.org/LucidScheming -- The meetings will continue until the schedule improves --