With this new API the user can block movements on X axis, Y Axis or both. I was left with no option but to come up with this, side by side with elm_object_scroll_freeze_push(), elm_object_scroll_hold_push() and elm_object_scroll_lock_x_set() (or elm_object_scroll_lock_y_set()), once all of these will act on *parent and/or child* widgets too, making those useless for any pratical use of scroll blocking. Here's a sane, new option, enjoy it.
1883575 Adding a new scroller API, to block its movements (by user input).
src/bin/test_scroller.c | 68 ++++++++++++++++++++++-
src/lib/elm_interface_scrollable.c | 104 +++++++++++++++++++++++++++++++-----
src/lib/elm_interface_scrollable.h | 26 +++++++++
src/lib/elm_scroller.c | 21 ++++++++
src/lib/elm_scroller_common.h | 14 +++++
src/lib/elm_scroller_legacy.h | 37 +++++++++++++
6 files changed, 257 insertions(+), 13 deletions(-)
Upstream: git.enlightenment.org