How to highlight an object using mouse pointer over it in tcl/tk? -


I want to bind an object when the mouse pointer is over it.

 . C bound $ object & lt; Enter & gt; [List% W Items Possible $ Object-Method 4]  

But how can it be changed in the previous step while leaving the mouse pointer?

You can use & lt; Leave & gt; can force the event:

 . C bound $ object & lt; Skip & gt; [List% W items are likely $ item-1]  

If you have objects with different line width then you need to store the previous width anywhere or & lt ; Leave & gt; Proper width event:

 . C bound $ object & lt; Enter & gt; [Subst {% W bind & lieutenant; Skip & gt; [List% W item encoded object object-width [% W itemCact-width]] Configure% W items object-width 4}]  

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -