enum GLib::UserDirectory
Overview
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.
Defined in:
lib/gi-crystal/src/auto/g_lib-2.0/g_lib.crEnum Members
-
DirectoryDesktop =
0_u32
-
the user's Desktop directory
-
DirectoryDocuments =
1_u32
-
the user's Documents directory
-
DirectoryDownload =
2_u32
-
the user's Downloads directory
-
DirectoryMusic =
3_u32
-
the user's Music directory
-
DirectoryPictures =
4_u32
-
the user's Pictures directory
-
the user's shared directory
-
DirectoryTemplates =
6_u32
-
the user's Templates directory
-
DirectoryVideos =
7_u32
-
the user's Movies directory
-
NDirectories =
8_u32
-
the number of enum values
Instance Method Summary
- #directory_desktop?
- #directory_documents?
- #directory_download?
- #directory_music?
- #directory_pictures?
- #directory_public_share?
- #directory_templates?
- #directory_videos?
- #n_directories?