GUserDirectory

These are logical ids for special directories which are defined depending on the platform used. You should use g_get_user_special_dir() to retrieve the full path associated to the logical id.

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

Values

ValueMeaning
DIRECTORY_DESKTOP0

the user's Desktop directory

DIRECTORY_DOCUMENTS1

the user's Documents directory

DIRECTORY_DOWNLOAD2

the user's Downloads directory

DIRECTORY_MUSIC3

the user's Music directory

DIRECTORY_PICTURES4

the user's Pictures directory

DIRECTORY_PUBLIC_SHARE5

the user's shared directory

DIRECTORY_TEMPLATES6

the user's Templates directory

DIRECTORY_VIDEOS7

the user's Movies directory

N_DIRECTORIES8

the number of enum values

Meta

Since

2.14