Menu

#790 Balloon help not removed when window closes.

closed
bwidget (187)
5
2006-03-23
2006-03-12
Anonymous
No

I think DynamicHelp::_unset_help is missing a call to
"destroy $_top" (and "variable _top".
As the following code can show, the balloon with the
help message is not removed if Alt-d is used to destroy
the widget to which the help is bound. Just hover the
mouse over the Entry so that the balloon appears and
then hit Alt-d.

m.d.nauta@hetnet.nl

package require BWidget
Entry .e -helptext "This is helptext"
button .b -text "Destroy Entry" -underline 0 -command
{destroy .e}
pack .e .b
bind . <Alt-d> {destroy .e}

Discussion

  • J. Tang

    J. Tang - 2006-03-23

    Logged In: YES
    user_id=1381097

    Error recreated using your test code. Correction applied
    via your suggestion. Thanks.

     
  • J. Tang

    J. Tang - 2006-03-23
    • status: open --> closed