Tk Library Source Code

View Ticket
Login
Ticket UUID: 923942
Title: BWidget dynamic help problem
Type: Bug Version: None
Submitter: decosterjos Created on: 2004-03-26 15:36:30
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-07-01 14:53:54
Resolution: Rejected Closed By: oehhar
    Closed on: 2009-07-01 07:53:54
Description:
Hi, 
 
When using the BWidget DynamicHelp to add balloon tips to an 
application, the balloons are only removed from the screen when 
you move the mouse pointer out of the widget the balloon was 
registered for. You can move the mouse inside the widget without 
the balloon being removed. Use this test script to see the desired 
effect: 
 
package require BWidget 
 
text .t 
pack .t 
DynamicHelp::register .t balloon "Testing dynamic help" 
 
 
Hold the mouse pointer inside the text widget and the balloon help 
will show. Now move the mouse pointer inside the text widget. The 
balloon won't disappear. 
 
 
The balloon help should also be removed when moving the mouse 
cursor inside the widget the balloon was registered for. To obtain 
this, replace the 
 
 DynamicHelp::_motion_balloon 
 
function by the attached one. 
 
Kind regards, 
 
Jos.
User Comments: oehhar added on 2009-07-01 14:53:54:
I have left a remark in dynhelp.tcl for eventual future improvements.
I will close this now.

damonc added on 2004-03-27 05:04:47:
Logged In: YES 
user_id=50387

The current behavior of the dynamic help balloons is built
to mimic the behavior of Windows' help balloons, and it does
that just like it's supposed to.  Help balloons aren't
usually placed on widgets like text boxes, which is why it
look kind of weird using them like you are.

I will add an option (which will be disabled by default) to
get the behavior you're looking for as I've found myself
wanting it in the past, but I usually just find another way.

decosterjos added on 2004-03-26 22:36:31:

File Added - 81479: balloon_help.tcl

Attachments: