| 1 |
For App Developers |
| 2 |
================== |
| 3 |
|
| 4 |
XDG Desktop Portal is a session service that provides D-Bus interfaces for apps |
| 5 |
to interact with the desktop. |
| 6 |
|
| 7 |
Portal interfaces can be used by sandboxed and unsandboxed apps alike, but |
| 8 |
sandboxed apps benefit the most since they don't need special permissions to use |
| 9 |
portal APIs. XDG Desktop Portal safeguards many resources and features with a |
| 10 |
user-controlled permission system. |
| 11 |
|
| 12 |
The primary goal of portals is to expose common functionality and integration |
| 13 |
with the desktop without requiring apps to write desktop-specific code, or |
| 14 |
loosen their sandbox restrictions. |
| 15 |
|
| 16 |
.. toctree:: |
| 17 |
:hidden: |
| 18 |
|
| 19 |
reasons-to-use-portals |
| 20 |
convenience-libraries |
| 21 |
api-reference |
| 22 |
|
| 23 |
.. cssclass:: tiled-toc |
| 24 |
|
| 25 |
* .. image:: _static/img/tiles/Reasons-l.png |
| 26 |
:target: reasons-to-use-portals.html |
| 27 |
:class: only-light |
| 28 |
.. image:: _static/img/tiles/Reasons-d.png |
| 29 |
:target: reasons-to-use-portals.html |
| 30 |
:class: only-dark |
| 31 |
|
| 32 |
:doc:`Reasons to Use Portals </reasons-to-use-portals>` |
| 33 |
|
| 34 |
* .. image:: _static/img/tiles/Libraries-l.png |
| 35 |
:target: convenience-libraries.html |
| 36 |
:class: only-light |
| 37 |
.. image:: _static/img/tiles/Libraries-d.png |
| 38 |
:target: convenience-libraries.html |
| 39 |
:class: only-dark |
| 40 |
|
| 41 |
:doc:`Convenience Libraries </convenience-libraries>` |
| 42 |
|
| 43 |
* .. image:: _static/img/tiles/APIs-l.png |
| 44 |
:target: api-reference.html |
| 45 |
:class: only-light |
| 46 |
.. image:: _static/img/tiles/APIs-d.png |
| 47 |
:target: api-reference.html |
| 48 |
:class: only-dark |
| 49 |
|
| 50 |
:doc:`API Reference </api-reference>` |