can-lehmann / owlkettle

A declarative user interface framework based on GTK 4
https://can-lehmann.github.io/owlkettle/README
MIT License
383 stars 13 forks source link

Support for pinch/zoom events #173

Open jfedyczak opened 1 month ago

jfedyczak commented 1 month ago

Would love to use pinch/zoom events or at least expose dx/dy on scroll event.

can-lehmann commented 3 weeks ago

Are you referring to supporting them on CustomWidget (meaning also DrawingArea and GlArea)? There is already a scroll event which should give you smooth scroll values.

jfedyczak commented 3 weeks ago

Yes, I'm using scroll event already in DrawingArea and it works great. I was hoping for additional events for touch screens (pinch for zooming in/out) - not sure if GTK supports them though.