Xdp_portal_open_file - how to use a Xdg Toplevel as parent?

Reading the docs XdpParent must be specific to Gtk or QT.

But I’m using wayland protocol directly and all I have is a Xdg Toplevel or a Surface.

I guess I could export a Gtk Surface, but I would have to link to gtk.

Is it possible to do (without using gtk)?

Thanks.

Not really, because XdpParent is a private type. You should probably ask for a new function

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.