Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

Enum Gio.FileCreateFlags

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GFileCreateFlags
Enum : FileCreateFlags
Flags used when an operation may create a file.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio.File
Method
append_to (FileCreateFlags flags, Cancellable cancellable) : Gio.FileOutputStream
Gets an output stream for appending data to the file.
Gio.File
Method
append_to_async (FileCreateFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data) : none
Asynchronously opens file for appending.
Gio.File
Method
create (FileCreateFlags flags, Cancellable cancellable) : Gio.FileOutputStream
Creates a new file and returns an output stream for writing to it.
Gio.File
Method
create_async (FileCreateFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data) : none
Asynchronously creates a new file and returns an output stream for writing to it.
Gio.File
Method
create_readwrite (FileCreateFlags flags, Cancellable cancellable) : Gio.FileIOStream
Creates a new file and returns a stream for reading and writing to it.
Gio.File
Method
create_readwrite_async (FileCreateFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data) : none
Asynchronously creates a new file and returns a stream for reading and
writing to it.
Gio.File
Method
replace (String etag, gboolean make_backup, FileCreateFlags flags, Cancellable cancellable) : Gio.FileOutputStream
Returns an output stream for overwriting the file, possibly
creating a backup copy of the file first.
Gio.File
Method
replace_async (String etag, gboolean make_backup, FileCreateFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data) : none
Asynchronously overwrites the file, replacing the contents, possibly
creating a backup copy of the file first.
Gio.File
Method
replace_contents (String contents, guint32 length, String etag, gboolean make_backup, FileCreateFlags flags, Object out_values, Cancellable cancellable) : gboolean
Replaces the contents of file with contents of length bytes.
Gio.File
Method
replace_contents_async (String contents, guint32 length, String etag, gboolean make_backup, FileCreateFlags flags, Cancellable cancellable, Function callback, void* user_data) : none
Starts an asynchronous replacement of file with the given
current entity tag.
Gio.File
Method
replace_readwrite (String etag, gboolean make_backup, FileCreateFlags flags, Cancellable cancellable) : Gio.FileIOStream
Returns an output stream for overwriting the file in readwrite mode,
possibly creating a backup copy of the file first.
Gio.File
Method
replace_readwrite_async (String etag, gboolean make_backup, FileCreateFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data) : none
Asynchronously overwrites the file in read-write mode, replacing the
contents, possibly creating a backup copy of the file first.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:35 GMT+0800 (HKT)