Re: XTestFakeKeyEvent GDK-equivalent

2018-07-06 Thread James Cameron
For quick hacks or testing apps, I use xdotool. I've no idea if it works with Wayland though. -- James Cameron http://quozl.netrek.org/ ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: XTestFakeKeyEvent GDK-equivalent

2018-07-06 Thread Allin Cottrell
On Fri, 6 Jul 2018, Anarchean wrote: On 5 July 2018 10:32 PM, Allin Cottrell wrote: [...] The context is a little different, but the attached function works, given pointers to an existing GtkWidget and GdkEvent. I tried your code out. It works OK, but its limited to emitting events to a

Re: XTestFakeKeyEvent GDK-equivalent

2018-07-06 Thread Anarchean via gtk-list
​Sent with ProtonMail Secure Email.​ ‐‐‐ Original Message ‐‐‐ On 6 July 2018 9:57 AM, Eric Williams wrote: > Hello, > > On 07/05/2018 02:40 PM, Anarchean via gtk-list wrote: > > > Hi, > > > > I'm working into implementing a virtual remote keyboard/touch pad daemon > > > > for

Re: XTestFakeKeyEvent GDK-equivalent

2018-07-06 Thread Eric Williams via gtk-list
Hello, On 07/05/2018 02:40 PM, Anarchean via gtk-list wrote: Hi, I'm working into implementing a virtual remote keyboard/touch pad daemon for Linux, currently I'm dumping events into an uinput device, but that is giving me some trouble with my keyboard layout (which is brazillian,

Re: clear() on TreeView causes select-events

2018-07-06 Thread c.buhtz--- via gtk-app-devel-list
Dear Reuben, thanks for your hint. On 2018-07-03 21:19 Reuben Rissler wrote: > I have had very similar experiences with liststore.clear() in > Python3.5 and Mint 18. To work around this I do: > > store = treeview.get_model() #may not be necessary in your code > treeview.set_model(None) >