Several Tk questions

From: Andrew Joseph Kompanek <ak10+_at_andrew.cmu.edu>
Date: Mon, 1 May 1995 21:47:32 -0400 (EDT)

I've had little success in the past getting help on the Tcl/Tk board, thought
maybe somebody here might know the answer to several questions I have
about Tk:

  1. Is there a way to pre-allocate a color map and have Tk find
     the "closest" color instead of just ending up with something
     undefined when you run out of colors?

  2. Is there a way to get UNFILLED items on a canvas to be selectable
     by clicking inside them? -- we can assume that there's
     some mechanism that makes it obvious which is "on top".

  3. Is there a way to change the drawing mode (the gc) to use
     one of the other modes, XOR, etc... when drawing items
     on a canvas?

Thanks for any help.

Drew
Received on Tue May 02 1995 - 03:50:36 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST