mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 03:40:10 +00:00
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:
parent
03376d79fa
commit
638d57cd7e
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user