0
Answered

Page swipe GUI Program

abir alarean 4 years ago updated 4 years ago 2

Hello,

I added swipe program up and down to fast navigate between pages on my GUI, but it executes once I have any levels on popups on this page 

Let's say I want to change volume level or light level on popup it will swipe the page and navigate also.
any suggestion to disable the swipe on a specific popup?

thanks

GOOD, I'M SATISFIED
Satisfaction mark by abir alarean 4 years ago
Answered

Hello

Do I understand correctly that you are using gestures to navigate? If yes, then try using EVENT_ITEM_PRESS and EVENT_ITEM_LOST_FOCUS, inside which you can turn gestures on and off. Accordingly, 2 listeners for each level.

https://dev.iridi.com/GUI_API/en#IR.EVENT_ITEM_PRESS

https://dev.iridi.com/GUI_API/en#IR.EVENT_ITEM_LOST_FOCUS

https://dev.iridi.com/Gestures_API/en

Hello Tatiana,

That was very helpful, thanks