Tk Library Source Code

View Ticket
Login
Ticket UUID: 839066
Title: bwidget - Binding for whole Tree Area
Type: Patch Version: None
Submitter: nobody Created on: 2003-11-10 06:50:23
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-09-28 22:50:08
Resolution: None Closed By: dev_null42a
    Closed on: 2006-09-28 15:50:08
Description:
I'm using BWidgets for creating a user interface for a
test system.
Among other things this user interfaces shows and
handles data presented as a tree (which I have realized
by BWidgets). By this I have to be able to show a
context menu when the mouse is clicked upon the
BWidgets tree. This means I need a binding not only for
the text or the image of a node but for the entire tree
area.

I made a litte enhancement in the module tree.tcl which
offers me the command
    $tree bindArea $event $script

I added the following lines:
15d14
< #     - Tree::bindArea
443,448d441
< #
----------------------------------------------------------------------------
< #  Command Tree::bindArea (added by MHO - Sigos GmbH)
< #
----------------------------------------------------------------------------
< proc Tree::bindArea { path event script } {
<   bind $path.c $event $script
< }


I think this enhancement is useful for all users of
BWidgets and therefore I would be encouraged, if you
could take this enhancement over into the next version
of BWidgets.

Best regards
Monika Holzammer

E-Mail: [email protected]
User Comments: dev_null42a added on 2006-09-28 22:50:08:
Logged In: YES 
user_id=1381097

Patch applied, with an update to the man page.  Thanks.