Re: [racket-users] Racket GUI system and multi-touch events

2016-09-24 Thread Matthew Flatt
The Racket binding for Gtk (or Cocoa or Windows) in `racket/gui`
currently does not report multi-touch events. I agree that multi-touch
events could be supported without too much difficulty, probably, and a
pull request would be welcome --- but there's nothing in place right
now.

At Sat, 24 Sep 2016 10:09:28 -0700 (PDT), Johan Liseborn wrote:
> Hi all,
> 
> Is it possible to detect and handle multi-touch events somehow in the Racket 
> GUI system? I have tried to look through the documentation, but can only find 
> mouse- and key events.
> 
> As far as I understand, the Racket GUI stuff is based on GTK+, which I 
> believe 
> is able to handle multi-touch, so in principle, I assume it should be 
> possible 
> to have touch events exposed on the Racket level...
> 
> I am currently working on a product where we are using Qt/C++, but the pain 
> of 
> C++ in this particular case is becoming unbearable to me, so I am looking for 
> alternatives, and the available Qt language bindings seem pretty limited, so 
> I 
> started looking at GTK+. I am playing with SBCL and cl-cffi-gtk, which looks 
> promising. But being a fan of Racket, I also wanted to explore that 
> possibility!
> 
> I asked this question on #racket some time ago, and got a pointer to Jays 
> work 
> with Racket on Android. I haven't been able to check that out yet, but I 
> would 
> really like something that is "mainstream Racket".
> 
> 
> Cheers,
> 
> /johan
> 
> -- 
> Johan Liseborn
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Racket GUI system and multi-touch events

2016-09-24 Thread Johan Liseborn
Hi all,

Is it possible to detect and handle multi-touch events somehow in the Racket 
GUI system? I have tried to look through the documentation, but can only find 
mouse- and key events.

As far as I understand, the Racket GUI stuff is based on GTK+, which I believe 
is able to handle multi-touch, so in principle, I assume it should be possible 
to have touch events exposed on the Racket level...

I am currently working on a product where we are using Qt/C++, but the pain of 
C++ in this particular case is becoming unbearable to me, so I am looking for 
alternatives, and the available Qt language bindings seem pretty limited, so I 
started looking at GTK+. I am playing with SBCL and cl-cffi-gtk, which looks 
promising. But being a fan of Racket, I also wanted to explore that possibility!

I asked this question on #racket some time ago, and got a pointer to Jays work 
with Racket on Android. I haven't been able to check that out yet, but I would 
really like something that is "mainstream Racket".


Cheers,

/johan

-- 
Johan Liseborn

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.