Well, I'm even more confused because I cannot reproduce this one...
if I add a <ButtonRelease-1> event, the text editor is enabled. Anyone
else seeing this problem ? What is your config (OS, Tcl/Tk version) ?

However, it seems you are clicking on the <ButtonRelease-1> from the
Button tag, not from the widget tag (the one in blue).

Only events assigned to widgets, not standard events from classes
like Button, can be edited (otherwise you could mess up the standard
Tk behavior if you were able to modify Button class events). Similarly,
you can only delete user events, not standard default events assigned
to widgets.

CG



                                                                                       
                                            
                    Chris Bennett                                                      
                                            
                    <[EMAIL PROTECTED]>            To:     
[EMAIL PROTECTED]                                     
                    Sent by:                           cc:                             
                                            
                    [EMAIL PROTECTED]        Fax to:                         
                                            
                    eforge.net                         Subject:     Re: [vtcl-user] 
Confused with new binding in vTcl 1.5.1        
                                                                                       
                                            
                                                                                       
                                            
                    06/11/2001 01:33 PM                                                
                                            
                    Please respond to vtcl-user                                        
                                            
                                                                                       
                                            
                                                                                       
                                            





> To add a binding select the widget tag (eg. the blue one), which
> should enable the add binding icon.
>
> Then, click on the leftmost icon in the bindings editor (it should have
> a tooltip saying "Add a binding").
>
> You can select a binding from the pulldown menu or select
> "Advanced..." to define more complex event sequences.
>

The above works as expected, however,

> When you have added the binding, on the right side of the
> window there is a text editor, just type your command in there.

After adding the event <ButtonRelease-1>, the text editor is apparently
disabled so that I can't add anything.  The string 'tkMbButtonUp %W' is
added to the window, but that's as far as I get.

Also, I would expect that the Remove Binding button would be enabled or
at least the Event option in the Delete menu would be enabled if I
select the event I just added, but not so.  So there appears to be no
way to delete the event.

Sounds like this must be some error in my installation or something?

Thanks.
-
Chris Bennett <[EMAIL PROTECTED]>

_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user




_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to