Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GFileType |
Enum : | FileType |
Properties | |
---|---|
guint32 Gio.FileType.DIRECTORY : 2
|
|
guint32 Gio.FileType.MOUNTABLE : 6
|
|
guint32 Gio.FileType.REGULAR : 1
|
|
guint32 Gio.FileType.SHORTCUT : 5
|
|
guint32 Gio.FileType.SPECIAL : 4
|
|
guint32 Gio.FileType.SYMBOLIC_LINK : 3
|
|
guint32 Gio.FileType.UNKNOWN : 0
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.File
Method |
Utility function to inspect the GFileType of a file.
|
Gio.FileInfo
Method |
get_file_type
()
:
Gio.FileType
Gets a file's type (whether it is a regular file, symlink, etc).
|
Gio.FileInfo
Method |
set_file_type
(FileType type)
:
none
Sets the file type in a GFileInfo to type.
|
Nautilus.FileInfo
Method |
get_file_type
()
:
Gio.FileType
|