Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child markerGio.OutputStream
parent-child marker Gio.FileOutputStream

Class Gio.FileOutputStream

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GFileOutputStream
Class : FileOutputStream
Implements: Gio.Seekable
Extends: Gio.OutputStream
GFileOutputStream provides output streams that write their
content to a file.
GFileOutputStream implements GSeekable, which allows the output
stream to jump to arbitrary positions in the file and to truncate
the file, provided the filesystem of the file supports these
operations.
To find the position of a file output stream, use g_seekable_tell().
To find out if a file output stream supports seeking, use
g_seekable_can_seek().To position a file output stream, use
g_seekable_seek(). To find out if a file output stream supports
truncating, use g_seekable_can_truncate(). To truncate a file output
stream, use g_seekable_truncate().
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
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_finish (AsyncResult res) : Gio.FileOutputStream
Finishes an asynchronous file append operation started with
g_file_append_to_async().
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_finish (AsyncResult res) : Gio.FileOutputStream
Finishes an asynchronous file create operation started with
g_file_create_async().
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_finish (AsyncResult res) : Gio.FileOutputStream
Finishes an asynchronous file replace operation started with
g_file_replace_async().
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:12 GMT+0800 (HKT)