gdk-pixbuf-loader.sgml 2.51 KB
Newer Older
1
2
3
4
<!-- ##### SECTION Title ##### -->
GdkPixbufLoader

<!-- ##### SECTION Short_Description ##### -->
5
Application-driven image loading.
6
7

<!-- ##### SECTION Long_Description ##### -->
8
  <para>
Michael Fulbright's avatar
Michael Fulbright committed
9
    #GdkPixbufLoader provides a way for applications to drive the
Federico Mena Quintero's avatar
Federico Mena Quintero committed
10
11
12
13
    process of loading an image.  Applications can use this
    functionality instead of gdk_pixbuf_new_from_file() when they need
    to parse image data in small chunks, such as when reading it from
    a network connection.
14
  </para>
15
16

<!-- ##### SECTION See_Also ##### -->
Federico Mena Quintero's avatar
Federico Mena Quintero committed
17
18
19
  <para>
    gdk_pixbuf_new_from_file()
  </para>
20
21

<!-- ##### MACRO GDK_PIXBUF_LOADER ##### -->
Federico Mena Quintero's avatar
Federico Mena Quintero committed
22
23
24
  <para>
    Casts a #GtkObject to a #GdkPixbufLoader.
  </para>
25

Federico Mena Quintero's avatar
Federico Mena Quintero committed
26
@obj: A GTK+ object.
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65


<!-- ##### FUNCTION gdk_pixbuf_loader_new ##### -->
<para>

</para>

@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_loader_write ##### -->
<para>

</para>

@loader: 
@buf: 
@count: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_loader_get_pixbuf ##### -->
<para>

</para>

@loader: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_loader_close ##### -->
<para>

</para>

@loader: 


<!-- ##### SIGNAL GdkPixbufLoader::area-updated ##### -->
Federico Mena Quintero's avatar
Federico Mena Quintero committed
66
67
68
69
70
71
72
  <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>
73

Federico Mena Quintero's avatar
Federico Mena Quintero committed
74
75
76
77
78
@loader: Loader which emitted 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.
79
80

<!-- ##### SIGNAL GdkPixbufLoader::area-prepared ##### -->
Federico Mena Quintero's avatar
Federico Mena Quintero committed
81
82
83
84
85
86
87
  <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 and
    format of the image that it will create.  After this signal is
    emitted, applications can call gdk_pixbuf_loader_get_pixbuf() to
    fetch the partially-loaded pixbuf.
  </para>
88

Federico Mena Quintero's avatar
Federico Mena Quintero committed
89
@loader: Loader which emitted the signal.
90
91

<!-- ##### SIGNAL GdkPixbufLoader::closed ##### -->
Federico Mena Quintero's avatar
Federico Mena Quintero committed
92
93
94
95
96
97
  <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>
98

Federico Mena Quintero's avatar
Federico Mena Quintero committed
99
@loader: Loader which emitted the signal.
100

101
102
103
104
105
106
<!--
Local variables:
mode: sgml
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
End:
-->
Federico Mena Quintero's avatar
Federico Mena Quintero committed
107