Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

TouchEvents not passed to Canvas inside TabBarPanel

8 views
Skip to first unread message

Musicman75

unread,
Jan 28, 2013, 8:42:35 AM1/28/13
to gwtm...@googlegroups.com
Hello,

I tried to create a canvas with TouchHandlers inside a TabBarPanel.
How is it possible to pass the touch events to the canvas?

Stephan

Zhihua (Dennis) Jiang

unread,
Feb 5, 2013, 10:07:32 PM2/5/13
to gwtm...@googlegroups.com
Stephan, the DragController listens to the touch/mouse events and sends out drag events. If you are creating a custom control, the custom control can subscribe to the drag events. Take a look at the Button control for a simple example.

        DragController.get().addDragEventsHandler(this);  // this being the custom control.




--
You received this message because you are subscribed to the Google Groups "GWT Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwtmobile+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages