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