Enumeration (GI Enum)

GLib-2.0GLibUserDirectorySince 2.14

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 GLib.UserDirectory enumeration can be extended at later date. Not every platform has a directory for every logical id in this enumeration.

2.14

Index

Enumeration Members

DIRECTORY_DESKTOP: number

the user's Desktop directory

DIRECTORY_DOCUMENTS: number

the user's Documents directory

DIRECTORY_DOWNLOAD: number

the user's Downloads directory

DIRECTORY_MUSIC: number

the user's Music directory

DIRECTORY_PICTURES: number

the user's Pictures directory

DIRECTORY_PUBLIC_SHARE: number

the user's shared directory

DIRECTORY_TEMPLATES: number

the user's Templates directory

DIRECTORY_VIDEOS: number

the user's Movies directory

N_DIRECTORIES: number

the number of enum values