<div dir="ltr"><div dir="ltr">On Fri, 5 Jul 2019 at 09:44, Marius Gedminas <<a href="mailto:marius@gedmin.as">marius@gedmin.as</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Try window.get_property("window").export_handle()? Your previous<br>
example (and error message) shows that window.get_property("window")<br>
gives you a GdkWaylandWindow, and usually Python method names match C<br>
function names without the type prefix.<br>
<br>
(I cannot find any mention of GdkWayland on <a href="https://lazka.github.io/pgi-docs" rel="noreferrer" target="_blank">https://lazka.github.io/pgi-docs</a>,<br>
which is usually my go-to site for Python GTK binding questions.)<br>
</blockquote><div> </div></div><div>The GDK backend for Wayland does not generate introspection data, so you cannot use the GdkWayland API from Python, or any other language that is not C.</div><div><br></div><div>Ciao,<br></div><div> Emmanuele.</div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature"><a href="https://www.bassi.io" target="_blank">https://www.bassi.io</a><br>[@] ebassi [@<a href="http://gmail.com" target="_blank">gmail.com</a>]</div></div></div>