Document GdkPixbufSaveFunc.

Wed Jan  7 01:56:33 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf/tmpl/file-saving.sgml: Document GdkPixbufSaveFunc.

	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufSaveFunc,
	gdk_pixbuf_save_to_callback, gdk_pixbuf_save_to_callbackv,
	gdk_pixbuf_save_to_buffer and gdk_pixbuf_save_to_bufferv.
This commit is contained in:
Matthias Clasen 2004-01-07 01:58:40 +00:00 committed by Matthias Clasen
parent 03376d79fa
commit 638d57cd7e
3 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,11 @@
Wed Jan 7 01:56:33 2004 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf/tmpl/file-saving.sgml: Document GdkPixbufSaveFunc.
* gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufSaveFunc,
gdk_pixbuf_save_to_callback, gdk_pixbuf_save_to_callbackv,
gdk_pixbuf_save_to_buffer and gdk_pixbuf_save_to_bufferv.
Wed Jan 7 01:27:23 2004 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf/tmpl/module_interface.sgml: Document expected

View File

@ -64,6 +64,11 @@ gdk_pixbuf_get_file_info
<FILE>file-saving</FILE>
gdk_pixbuf_savev
gdk_pixbuf_save
GdkPixbufSaveFunc
gdk_pixbuf_save_to_callback
gdk_pixbuf_save_to_callbackv
gdk_pixbuf_save_to_buffer
gdk_pixbuf_save_to_bufferv
</SECTION>
<SECTION>

View File

@ -41,3 +41,19 @@ Saving a pixbuf to a file.
@Returns:
<!-- ##### USER_FUNCTION GdkPixbufSaveFunc ##### -->
<para>
Specifies the type of the function passed to
gdk_pixbuf_save_to_callback(). It is called once for each block of
bytes that is "written" by gdk_pixbuf_save_to_callback(). If
successful it should return %TRUE. If an error occurs it should set
@error and return %FALSE, in which case gdk_pixbuf_save_to_callback()
will fail with the same error.
</para>
@buf: bytes to be written.
@count: number of bytes in @buf.
@error: A location to return an error.
@data: user data passed to gdk_pixbuf_save_to_callback().
@Returns: %TRUE if successful, %FALSE (with @error set) if failed.
@Since: 2.4