summaryrefslogtreecommitdiffstats
path: root/gio/gio.defs
diff options
context:
space:
mode:
authorGian Mario Tagliaretti <gianmt@src.gnome.org>2008-08-02 21:51:10 +0000
committerGian Mario Tagliaretti <gianmt@src.gnome.org>2008-08-02 21:51:10 +0000
commit4ae930e278b8fcb99dd85e60a9c708263ca02f74 (patch)
treea3f1926ce539ff338441c2f89dc739f77742e2c1 /gio/gio.defs
parentc84375e8018d300e2ae43a932cff6948300b03c0 (diff)
downloadpygobject-4ae930e278b8fcb99dd85e60a9c708263ca02f74.tar.gz
pygobject-4ae930e278b8fcb99dd85e60a9c708263ca02f74.tar.xz
pygobject-4ae930e278b8fcb99dd85e60a9c708263ca02f74.zip
Wrap GFile.create_async with docs and test
svn path=/trunk/; revision=920
Diffstat (limited to 'gio/gio.defs')
-rw-r--r--gio/gio.defs10
1 files changed, 10 insertions, 0 deletions
diff --git a/gio/gio.defs b/gio/gio.defs
index 0b1ff5e..d0e6f2a 100644
--- a/gio/gio.defs
+++ b/gio/gio.defs
@@ -1420,6 +1420,16 @@
)
(define-method create_async
+ (docstring
+ "F.create_async(callback [flags, [,io_priority [,cancellable [,user_data]]]]) -> file created\n"
+ "\n"
+ "Asynchronously creates a new file and returns an output stream for\n"
+ "writing to it. The file must not already exist.\n"
+ "For more details, see F.create() which is the synchronous\n"
+ "version of this call.\n"
+ "When the operation is finished, callback will be called. You can\n"
+ "then call F.create_finish() to get the result of the operation."
+ )
(of-object "GFile")
(c-name "g_file_create_async")
(return-type "none")