Artifacts Associated With Ticket 497590ffffffffffffffffffffffffffffffffff
Ticket change [d147eb699b] (rid 113321) by s_a_white on 2001-12-29 11:53:53:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I would like to ask the best way to deal with focus and event/bindings for components inside mega widgets. I remember there being a paper entitled "the perfect mega widget" on ways to solve these problems but have not found the code to do this or seen it integrated with tcl. I just wondered as a result if it was thought unnecessary. Problems I find is that focusing on a mega-widget focuses on the holding frame (Hull) and not a desired default internal widget. I've added bindings to deal with this. However, then a second focus call to the mega-widget causes focus to drop back to the Hull. So I have to compensate with focus out checks on all the internal widgets. Next some events must be passed out of the mega widget through bindings. Doing this through bindtags causes the internal widgets names to be used as %W for public user bindings on the mega widget. This causes problems. So I tried an event generate using the Hull widget name but this didn't work. It would seem focus has to be moved to get the event to come out in the right location. This causes some nasty rippling of the focus and the code is horrible. Then you have to deal with the focus being left on the Hull and restoring it to the internal widget if the user didn't move it. All this is very nasty and wondered if theres a better way in later versions of 8.3, 8.4 or a not to distant version of TCL, which may have better support for mega widgets?
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "s_a_white"
- subsystem initialized to: "55. Other Tools"
- title initialized to: "Incr Widgets"
- type initialized to: "RFE"
Ticket change [0c4f13f032] (rid 114153) by hobbs on 2002-01-17 01:55:34:
- closedate changed to: "2002-01-16T18:55:34"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 This is best directed to comp.lang.tcl, or the incrtcl- [email protected] mailing list.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "hobbs"