Package: glib

Enum g-user-directory

Details

These are logical IDs for special directories which are defined depending on the platform used. You should use the function g-user-special-dir to retrieve the full path associated to the logical ID.

The g-user-directory enumeration can be extended at later date. Not every platform has a directory for every logical id in this enumeration.

Lisp Implementation

(defcenum g-user-directory
  :desktop
  :documents
  :download
  :music
  :pictures
  :public-share
  :templates
  :videos
  :n-directories)    
:desktop
The user's Desktop directory.
:documents
The user's Documents directory.
:download
The user's Downloads directory.
:music
The user's Music directory.
:pictures
The user's Pictures directory.
:public-share
The user's shared directory.
:templates
The user's Templates directory.
:videos
The user's Movies directory.
:n-directories
The number of enumeration values.
 

See also

2020-10-23