set_attribute_string
Description:
public bool set_attribute_string (string attribute, string value, FileQueryInfoFlags flags, Cancellable? cancellable = null) throws Error
Sets attribute
of type g_file_attribute_type_string to value
.
If attribute
is of a different type, this operation will fail.
If cancellable
is not null, then the operation can be cancelled by triggering the cancellable
object from another thread. If the operation was cancelled, the error g_io_error_cancelled will be returned.
Parameters:
this |
input File |
attribute |
a string containing the attribute's name |
value |
a string containing the attribute's value |
flags | |
cancellable |
optional Cancellable object, null to ignore |
Returns:
true if the |