From: John L. <joh...@op...> - 2008-11-28 10:14:50
|
Hi list, In the HEAD version of ETK, scrolled_view is not draggable anymore. You can verify this by executing etk_test -> scrolled_view. However, the mouse event can be caught by viewport.event, which is an evas obj on the top level. raster added it in #34948 to add on_hold. viewport.event is set to repeat events, but these events will eventually be caught by something below it, maybe buttons or the viewport itself. So callbacks like _etk_scrolled_view_mouse_move, etc will never be called, hence the drag function won't work. This behavior seems correct to me, so I wonder why the drag works in the first place? This could easily be worked around by set repeat mouse events to every widgets in the scrolled_view, but there must be a better way to fix it. I think it might make sense to move the viewport.event to scrolled_view, so the drag function and the on_hold function can both work by the same top layer evas object. I can do a patch, but I just started to learn about ETK, so I want to ask first if I missed anything. Regards, John |