Skip to content
Tcl Source Code History Of Ticket 497590ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 497590ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 497590ffffffffffffffffffffffffffffffffff

  1. Ticket change [d147eb699b] (rid 113321) by s_a_white on 2001-12-29 11:53:53:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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?
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "s_a_white"
    9. subsystem initialized to: "55. Other Tools"
    10. title initialized to: "Incr Widgets"
    11. type initialized to: "RFE"
  2. Ticket change [0c4f13f032] (rid 114153) by hobbs on 2002-01-17 01:55:34:

    1. closedate changed to: "2002-01-16T18:55:34"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      This is best directed to comp.lang.tcl, or the incrtcl-
      [email protected] mailing list.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "hobbs"