I want to catch double click and right click events on the tree items.
Here is the tree:
<code>
Tree tree = new Tree(){
public void onBrowseEvent(Event e) {
GWT.log("Browse event happened", null);
if(DOM.eventGetType(e) == Event.ONDBLCLICK) {
GWT.log("Double clicked.", null);
}
}
};
tree.sinkEvents(Event.ONDBLCLICK);
</code>
When I double click on any tree item, onBrowseEvent method is never
called.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---