[SailfishDevel] how to disable swipe (from left, from right) on Silica PageStack

Kimmo Lindholm Kimmo.Lindholm at eke.fi
Sun Feb 18 19:14:44 UTC 2018


Set backNavigation and forwardNavigation to false when you dont want to allow navigation.
(not tested, just looked from sources)

ref https://github.com/dm8tbr/sailfishsilica-qt5/blob/master/usr/lib/qt5/qml/Sailfish/Silica/Page.qml#L88

-kimmo

Lähettäjä: Devel [mailto:devel-bounces at lists.sailfishos.org] Puolesta Zoltán Lutor
Lähetetty: sunnuntai 18. helmikuuta 2018 19.08
Vastaanottaja: Sailfish OS Developers <devel at lists.sailfishos.org>
Aihe: [SailfishDevel] how to disable swipe (from left, from right) on Silica PageStack

Hi,
Is there any possibility for enabling/disabling 'horizontal' gestures on Page of PageStack?
[Or in general in the applciation]
Mainly form left-to-right, it is quite annoying when accidentally one leaves game page...

Thx,
Zoltan

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>

Virus-free. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20180218/7be0aade/attachment.html>


More information about the Devel mailing list