| 1 |
.. module:: xdg.DesktopEntry |
| 2 |
|
| 3 |
Desktop Entries |
| 4 |
=============== |
| 5 |
|
| 6 |
`XDG Desktop Entry Specification <http://standards.freedesktop.org/desktop-entry-spec/latest/>`_ |
| 7 |
|
| 8 |
.. autoclass:: DesktopEntry |
| 9 |
|
| 10 |
.. automethod:: __init__ |
| 11 |
|
| 12 |
.. automethod:: new |
| 13 |
|
| 14 |
.. automethod:: parse |
| 15 |
|
| 16 |
.. automethod:: validate |
| 17 |
|
| 18 |
.. automethod:: findTryExec |
| 19 |
|
| 20 |
.. versionadded:: 0.26 |
| 21 |
|
| 22 |
.. method:: getCategories |
| 23 |
getComment |
| 24 |
getExec |
| 25 |
getGenericName |
| 26 |
getHidden |
| 27 |
getIcon |
| 28 |
getMimeTypes |
| 29 |
getMiniIcon |
| 30 |
getName |
| 31 |
getNoDisplay |
| 32 |
getNotShowIn |
| 33 |
getOnlyShowIn |
| 34 |
getPath |
| 35 |
getProtocols |
| 36 |
getStartupNotify |
| 37 |
getStartupWMClass |
| 38 |
getTerminal |
| 39 |
getTerminalOptions |
| 40 |
getTryExec |
| 41 |
getType |
| 42 |
getURL |
| 43 |
getVersionString |
| 44 |
|
| 45 |
Convenience methods to get the values of specific fields. If the field is |
| 46 |
missing, these will simply return an empty or zero value. There are similar |
| 47 |
methods for deprecated and KDE specific keys, but these are not listed here. |