Xdg
Inherits: RefCounted
Methods
| Returns | Signature |
|---|---|
| PackedStringArray | get_data_dirs() |
| String | with_system_path(path: String) |
Method Descriptions
get_data_dirs()
PackedStringArray get_data_dirs()
Return a list of system data paths in load preference order.
with_system_path()
String with_system_path(path: String)
Return the XDG system data path with the given relative path. For example, using Xdg.with_system_path("hwdata") will return "/usr/share/hwdata". If XDG is unable to determine the path, the fallback prefix of "/usr/share" will be used.