newbie Q: receiving <<ListboxSelect>> altho disabled

From: Kenny Tilton (ktilton_at_nyc.rr.com)
Date: 06/30/04


Date: Wed, 30 Jun 2004 16:47:47 GMT

Just getting started on Tk (via wish, from Common Lisp). Aside: Tk looks
like a great solution for portable GUIs. Anyway, I have a Listbox widget
working quite nicely, including becoming disabled when semantics make it
irrelevant. The listbox elements are all dimmed and clicking on them
does not select them, but...

I do get <<ListboxSelect>> events for the binding I established for
that. It will be easy to either dynamically drop/re-establish the
binding, or as an alternative simply note on my side that the widget is
disabled -- well, I do not even have to do that since no matter where I
click it correctly returns the selection info as it stood when last enabled.

I am just wondering as a newbie if I am missing something, since I would
not expect select events from a disabled control.

kenny

-- 
Home? http://tilton-technology.com
Cells? http://www.common-lisp.net/project/cells/
Cello? http://www.common-lisp.net/project/cello/
Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film
Your Project Here! http://alu.cliki.net/Industry%20Application