Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GFileAttributeType |
Enum : | FileAttributeType |
Properties | |
---|---|
guint32 Gio.FileAttributeType.BOOLEAN : 3
|
|
guint32 Gio.FileAttributeType.BYTE_STRING : 2
|
|
guint32 Gio.FileAttributeType.INT32 : 5
|
|
guint32 Gio.FileAttributeType.INT64 : 7
|
|
guint32 Gio.FileAttributeType.INVALID : 0
|
|
guint32 Gio.FileAttributeType.OBJECT : 8
|
|
guint32 Gio.FileAttributeType.STRING : 1
|
|
guint32 Gio.FileAttributeType.STRINGV : 9
|
|
guint32 Gio.FileAttributeType.UINT32 : 4
|
|
guint32 Gio.FileAttributeType.UINT64 : 6
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.File
Method |
set_attribute
(String attribute, FileAttributeType type, void* value_p, FileQueryInfoFlags flags, Cancellable cancellable)
:
gboolean
Sets an attribute in the file with attribute name attribute to value.
|
Gio.FileAttributeInfoList
Method |
Adds a new attribute with name to the list, setting
its type and flags. |
Gio.FileInfo
Method |
get_attribute_type
(String attribute)
:
Gio.FileAttributeType
Gets the attribute type for an attribute key.
|
Gio.FileInfo
Method |
Sets the attribute to contain the given value, if possible.
|