I am currently working on the widget that will allow users to display media from a Tweet in fullscreen, which is build around a
Adw.Carousel with some UI layered on top.
One thing I want to implement would be that you can hide the UI when clicking on the Image, so I implemented a
Gtk.GestureClick which does exactly that.
However, as I assign this event to the carousel it interferes with the swipe gesture of the carousel, which means if you only want to swipe to the next image you will toggle the visibility of the UI as well.
Now, is there a recommended way to separate a simple click from a drag, so that dragging does not activate a click?
On a related note: I also want to implement the possibility to zoom into images, which should be possible to implement with an
Gtk.ScrolledWindow. Since I have seen @alexm implementing a zoom gesture in Epiphany my question to you would be if you could give me suggestion on how to replicate this for my widget.