[ltk-user] Color in lines

cage cage at katamail.com
Tue Mar 27 15:54:00 UTC 2012


On Tue, Mar 27, 2012 at 03:49:46PM +0100, Tiago Charters de Azevedo wrote:
> Hi,
>  is there any way of coloring a create-line, or all lines are black?

Hello

Maybe you  need to call:
(itemconfigure canvas  (create-line* canvas x0y0  x1 y1)  option value)  

please  check the documentation  for which  options are  availables (I
think you need something like :outline "ff0000" to get a red line, for
example).

Bye.
C.




More information about the ltk-user mailing list