Hi all. amateur programmer warning. and disclaimer
I've been messing around with making edje apps lately.. and I am making a menu which scrolls on drag. I am using esmart containers for the insides of my menu swallowed into an edje for the borders/layout etc, just like in elicit. because I want to drag around the contents up and down, and not use a scrollbar, I thought i would use my invisible base object to send the drag events. so as to make the base object not move I forward those events, using: dragable { events: "my throw away invisible helper object"; x: 0 0 0; y: 1 0 0; } I setup a callback for the 'helper' object so that when it is dragged i can scroll the contents of the esmart container object. Now here's where i have problems. when I click on the base obejct (note no dragging) the drag event is called and my helper object is aligned with the mouse position. I was hoping to use the edje_object_part_drag_offset_get to scroll my esmart container but since its position keeps jumping back to the position of the mouse click i cant do that. I have to ask, was this logic intended? is a mouse click or mouse down meant to call a drag event? I could always do this with other events like mousedown and mousemove, but thought I would also bring it to the list for feedback. Cheers, Samuel ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel