On Wednesday, December 5, 2012 3:36:43 PM UTC+1, J.Ganesan wrote:
>
> On drop event, I would like to get elemental.dom.Clipboard object 
> from onDrop(com.google.gwt.event.dom.client.DropEvent event) method. The 
> idea is to read the binary data and the name of the file being dropped onto 
> a com.google.gwt.user.client.ui.ScrollPanel. How do I do this ? Apparently, 
> it is not possible to mix Elemental and Widget.


DropEvent#getDataTransfer() returns a DataTransfer, which is a 
JavaScriptObject, so you can cast() it to element.js.dom.JsClipboard.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/156p64nexiYJ.
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.

Reply via email to