what is the xid? The x11 thingy?
in that case you will need to implement a method on GdkWindow (not GtkWindow):
https://docs.gtk.org/gdk3-x11/method.X11Window.get_xid.html
then you do something like:
GRunLoop defer: [ xid := myGtkWindow gdkWindow xid ].
but this is tied to the x11 system and linux
Hi Esteban,
That is a really good point - thanks for reminding me. Maybe I’m just a little
early starting this project. Hopefully the bookworm release of PiOS will
include a reasonably stable and functional Wayland.
For now I’ll work on ubuntu with Wayland and see how I go.
Cheers,
J
> On 1