flatpak portal example on github

Jorge García jgarciao at gmail.com
Wed Nov 20 14:28:07 UTC 2019


Hi,

There is also libportal, which is a lib to make it easy to call most
flatpak portals
https://github.com/flatpak/libportal

Note that it's a quite new library (still in version 0.0.2)

Regards,
Jorge

Missatge de Jan Grulich <jgrulich at redhat.com> del dia dc., 20 de nov. 2019
a les 9:13:

> Hi,
>
>
>
> On úterý 19. listopadu 2019 22:53:19 CET Winnie Poon wrote:
>
> > Hi,
>
> >
>
> > i'm trying to find a simple example on github that uses the flatpak
> portals,
>
> > mainly i'm interested in portal interface to access a particular file
>
> > (rather than doing --filesystem=host) and also access just the usb
> device
>
> > (rather than --devices=all).
>
> >
>
> > Can anyone point me to a simple example with above info?
>
>
>
> We have a demo application where some portals are used, but the point of
> portals is that you shouldn't really care, you don't need to implement them
> yourself, you basically need to just use regular Qt API (QFileChooser) and
> the portal will be magically used without you even knowing. There is also
> our KDE version of portal-test applications, doing the same, just with KDE
> and Qt API.
>
>
>
> Links:
>
> - https://github.com/flatpak/qt-flatpak-demo
>
> - https://phabricator.kde.org/source/xdg-portal-test-kde/
>
>
>
> Regards,
>
> Jan
>
>
> _______________________________________________
> Flatpak mailing list
> Flatpak at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/flatpak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20191120/19e87a85/attachment.html>


More information about the Flatpak mailing list