Move the documentation for signals inline, to get proper parameter
Thu Dec 11 01:57:05 2003 Matthias Clasen <maclas@gmx.de> * gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): Move the documentation for signals inline, to get proper parameter documentation. (#128977)
This commit is contained in:
parent
5fb61f3075
commit
44c206420a
@ -1,3 +1,8 @@
|
|||||||
|
Thu Dec 11 01:57:55 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml: Signal documentation
|
||||||
|
moved inline.
|
||||||
|
|
||||||
Thu Dec 11 00:04:10 2003 Matthias Clasen <maclas@gmx.de>
|
Thu Dec 11 00:04:10 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtk-sections.txt: Add gtk_window_[sg]et_accept_focus().
|
* gtk/gtk-sections.txt: Add gtk_window_[sg]et_accept_focus().
|
||||||
|
@ -78,65 +78,33 @@ fields.
|
|||||||
|
|
||||||
<!-- ##### SIGNAL GdkPixbufLoader::area-prepared ##### -->
|
<!-- ##### SIGNAL GdkPixbufLoader::area-prepared ##### -->
|
||||||
<para>
|
<para>
|
||||||
This signal is emitted when the pixbuf loader has allocated the pixbuf
|
|
||||||
in the desired size. After this signal is emitted, applications can
|
|
||||||
call gdk_pixbuf_loader_get_pixbuf() to fetch the partially-loaded pixbuf.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@gdkpixbufloader: the object which received the signal.
|
@gdkpixbufloader:
|
||||||
|
|
||||||
<!-- ##### SIGNAL GdkPixbufLoader::area-updated ##### -->
|
<!-- ##### SIGNAL GdkPixbufLoader::area-updated ##### -->
|
||||||
<para>
|
<para>
|
||||||
This signal is emitted when a significant area of the image being
|
|
||||||
loaded has been updated. Normally it means that a complete
|
|
||||||
scanline has been read in, but it could be a different area as
|
|
||||||
well. Applications can use this signal to know when to repaint
|
|
||||||
areas of an image that is being loaded.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@gdkpixbufloader: Loader which emitted the signal.
|
@gdkpixbufloader:
|
||||||
@arg1:
|
@arg1:
|
||||||
@arg2:
|
@arg2:
|
||||||
@arg3:
|
@arg3:
|
||||||
@arg4:
|
@arg4:
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@x: X offset of upper-left corner of the updated area.
|
|
||||||
@y: Y offset of upper-left corner of the updated area.
|
|
||||||
@width: Width of updated area.
|
|
||||||
@height: Height of updated area.
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GdkPixbufLoader::closed ##### -->
|
<!-- ##### SIGNAL GdkPixbufLoader::closed ##### -->
|
||||||
<para>
|
<para>
|
||||||
This signal is emitted when gdk_pixbuf_loader_close() is called.
|
|
||||||
It can be used by different parts of an application to receive
|
|
||||||
notification when an image loader is closed by the code that
|
|
||||||
drives it.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@gdkpixbufloader: the object which received the signal.
|
@gdkpixbufloader:
|
||||||
|
|
||||||
<!--
|
|
||||||
Local variables:
|
|
||||||
mode: sgml
|
|
||||||
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
|
||||||
End:
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- ##### SIGNAL GdkPixbufLoader::size-prepared ##### -->
|
<!-- ##### SIGNAL GdkPixbufLoader::size-prepared ##### -->
|
||||||
<para>
|
<para>
|
||||||
This signal is emitted when the pixbuf loader has been fed the
|
|
||||||
initial amount of data that is required to figure out the size
|
|
||||||
of the image that it will create. Applications can call
|
|
||||||
gdk_pixbuf_loader_set_size() in response to this signal to set
|
|
||||||
the desired size to which the image should be scaled.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@gdkpixbufloader: the object which received the signal.
|
@gdkpixbufloader:
|
||||||
@arg1:
|
@arg1:
|
||||||
@arg2:
|
@arg2:
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@width: the original width of the image
|
|
||||||
@height: the original height of the image
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_loader_new ##### -->
|
<!-- ##### FUNCTION gdk_pixbuf_loader_new ##### -->
|
||||||
<para>
|
<para>
|
||||||
@ -224,4 +192,11 @@ End:
|
|||||||
@error:
|
@error:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Local variables:
|
||||||
|
mode: sgml
|
||||||
|
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
||||||
|
End:
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Dec 11 01:57:05 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): Move
|
||||||
|
the documentation for signals inline, to get proper parameter
|
||||||
|
documentation. (#128977)
|
||||||
|
|
||||||
Sat Nov 15 00:26:19 2003 Matthias Clasen <maclas@gmx.de>
|
Sat Nov 15 00:26:19 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* queryloaders.c (loader_sanity_check): Check that the mask
|
* queryloaders.c (loader_sanity_check): Check that the mask
|
||||||
|
@ -70,7 +70,6 @@ typedef struct
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* gdk_pixbuf_loader_get_type:
|
* gdk_pixbuf_loader_get_type:
|
||||||
* @void:
|
|
||||||
*
|
*
|
||||||
* Registers the #GdkPixbufLoader class if necessary, and returns the type ID
|
* Registers the #GdkPixbufLoader class if necessary, and returns the type ID
|
||||||
* associated to it.
|
* associated to it.
|
||||||
@ -116,6 +115,18 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
|||||||
|
|
||||||
object_class->finalize = gdk_pixbuf_loader_finalize;
|
object_class->finalize = gdk_pixbuf_loader_finalize;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GdkPixbufLoader::size-prepared:
|
||||||
|
* @loader: the object which received the signal.
|
||||||
|
* @width: the original width of the image
|
||||||
|
* @height: the original height of the image
|
||||||
|
*
|
||||||
|
* This signal is emitted when the pixbuf loader has been fed the
|
||||||
|
* initial amount of data that is required to figure out the size
|
||||||
|
* of the image that it will create. Applications can call
|
||||||
|
* gdk_pixbuf_loader_set_size() in response to this signal to set
|
||||||
|
* the desired size to which the image should be scaled.
|
||||||
|
*/
|
||||||
pixbuf_loader_signals[SIZE_PREPARED] =
|
pixbuf_loader_signals[SIZE_PREPARED] =
|
||||||
g_signal_new ("size_prepared",
|
g_signal_new ("size_prepared",
|
||||||
G_TYPE_FROM_CLASS (object_class),
|
G_TYPE_FROM_CLASS (object_class),
|
||||||
@ -127,6 +138,15 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
|||||||
G_TYPE_INT,
|
G_TYPE_INT,
|
||||||
G_TYPE_INT);
|
G_TYPE_INT);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GdkPixbufLoader::area-prepared:
|
||||||
|
* @loader: the object which received the signal.
|
||||||
|
*
|
||||||
|
* This signal is emitted when the pixbuf loader has allocated the
|
||||||
|
* pixbuf in the desired size. After this signal is emitted,
|
||||||
|
* applications can call gdk_pixbuf_loader_get_pixbuf() to fetch
|
||||||
|
* the partially-loaded pixbuf.
|
||||||
|
*/
|
||||||
pixbuf_loader_signals[AREA_PREPARED] =
|
pixbuf_loader_signals[AREA_PREPARED] =
|
||||||
g_signal_new ("area_prepared",
|
g_signal_new ("area_prepared",
|
||||||
G_TYPE_FROM_CLASS (object_class),
|
G_TYPE_FROM_CLASS (object_class),
|
||||||
@ -135,7 +155,21 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
|||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
gdk_pixbuf_marshal_VOID__VOID,
|
gdk_pixbuf_marshal_VOID__VOID,
|
||||||
G_TYPE_NONE, 0);
|
G_TYPE_NONE, 0);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GdkPixbufLoader::area-updated:
|
||||||
|
* @loader: the object which received the signal.
|
||||||
|
* @x: X offset of upper-left corner of the updated area.
|
||||||
|
* @y: Y offset of upper-left corner of the updated area.
|
||||||
|
* @width: Width of updated area.
|
||||||
|
* @height: Height of updated area.
|
||||||
|
*
|
||||||
|
* This signal is emitted when a significant area of the image being
|
||||||
|
* loaded has been updated. Normally it means that a complete
|
||||||
|
* scanline has been read in, but it could be a different area as
|
||||||
|
* well. Applications can use this signal to know when to repaint
|
||||||
|
* areas of an image that is being loaded.
|
||||||
|
*/
|
||||||
pixbuf_loader_signals[AREA_UPDATED] =
|
pixbuf_loader_signals[AREA_UPDATED] =
|
||||||
g_signal_new ("area_updated",
|
g_signal_new ("area_updated",
|
||||||
G_TYPE_FROM_CLASS (object_class),
|
G_TYPE_FROM_CLASS (object_class),
|
||||||
@ -149,6 +183,15 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
|
|||||||
G_TYPE_INT,
|
G_TYPE_INT,
|
||||||
G_TYPE_INT);
|
G_TYPE_INT);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GdkPixbufLoader::closed:
|
||||||
|
* @loader: the object which received the signal.
|
||||||
|
*
|
||||||
|
* This signal is emitted when gdk_pixbuf_loader_close() is called.
|
||||||
|
* It can be used by different parts of an application to receive
|
||||||
|
* notification when an image loader is closed by the code that
|
||||||
|
* drives it.
|
||||||
|
*/
|
||||||
pixbuf_loader_signals[CLOSED] =
|
pixbuf_loader_signals[CLOSED] =
|
||||||
g_signal_new ("closed",
|
g_signal_new ("closed",
|
||||||
G_TYPE_FROM_CLASS (object_class),
|
G_TYPE_FROM_CLASS (object_class),
|
||||||
|
Loading…
Reference in New Issue
Block a user