File: classGdk_1_1PixbufLoader.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (670 lines) | stat: -rw-r--r-- 43,405 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gdk::PixbufLoader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGdk.html">Gdk</a>::<a class="el" href="classGdk_1_1PixbufLoader.html">PixbufLoader</a>
  </div>
</div>
<div class="contents">
<h1>Gdk::PixbufLoader Class Reference</h1><!-- doxytag: class="Gdk::PixbufLoader" --><!-- doxytag: inherits="Glib::Object" -->
<p>Inherits <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gdk::PixbufLoader:</div>
<div class="dynsection">
<div class="center"><img src="classGdk_1_1PixbufLoader__coll__graph.png" border="0" usemap="#Gdk_1_1PixbufLoader_coll__map" alt="Collaboration graph"/></div>
<map name="Gdk_1_1PixbufLoader_coll__map" id="Gdk_1_1PixbufLoader_coll__map">
<area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="24,160,115,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="9,83,129,112"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="16,5,123,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGdk_1_1PixbufLoader-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ad84541e46f4e048fa8b8bc7eb2774dc0">~PixbufLoader</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkPixbufLoader*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a68a692fc8f18fac87659cb9ce4219df6">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a68a692fc8f18fac87659cb9ce4219df6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdkPixbufLoader*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a99541d054d563108b0bfe05c31b870c0">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a99541d054d563108b0bfe05c31b870c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkPixbufLoader*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ab86dda7f88d82cf1374617ad978466c7">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#ab86dda7f88d82cf1374617ad978466c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a295cd5abb9e14975a6836f1bb568db58">set_size</a> (int width, int height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a90ce41040208597527cf2251631aad45">write</a> (const guint8* buf, gsize <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01162.html#ga81511cd7112567fa262b05bb22e69874">count</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Causes the pixbuf loader to parse the next <em>count</em> bytes of an image. <a href="#a90ce41040208597527cf2251631aad45"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a9512407e3feac5405a6ac6e12ef23bfd">close</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Informs a pixbuf loader that no further writes with <a class="el" href="classGdk_1_1PixbufLoader.html#a90ce41040208597527cf2251631aad45" title="Causes the pixbuf loader to parse the next count bytes of an image.">PixbufLoader::write()</a> will occur, so that it can free its internal loading structures. <a href="#a9512407e3feac5405a6ac6e12ef23bfd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a4aa818981d7690da1fd23a10f5cde21a">get_pixbuf</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a9e69e076ec80ee35b0acaaf6824a3570">get_animation</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ab1785b9798362416ffb03ce02dd267d5">get_format</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a511c0929d1e481cd98faf77bd2d579c6">signal_area_prepared</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is emitted when the pixbuf loader has allocated the pixbuf in the desired size. <a href="#a511c0929d1e481cd98faf77bd2d579c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy4.html">Glib::SignalProxy4</a>&lt; void, int, <br class="typebreak"/>
int, int, int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ad816c3154d7abe8519633aa2727eb5ba">signal_area_updated</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is emitted when a significant area of the image being loaded has been updated. <a href="#ad816c3154d7abe8519633aa2727eb5ba"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a2d72e897acfb0c56eaaf72f046db134f">signal_closed</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is emitted when <a class="el" href="classGdk_1_1PixbufLoader.html#a9512407e3feac5405a6ac6e12ef23bfd" title="Informs a pixbuf loader that no further writes with PixbufLoader::write() will occur...">close()</a> is called. <a href="#a2d72e897acfb0c56eaaf72f046db134f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>&lt; void, int, <br class="typebreak"/>
int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a26f567bc1828c59a8b8a710115e86b2f">signal_size_prepared</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">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. <a href="#a26f567bc1828c59a8b8a710115e86b2f"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1PixbufLoader.html">PixbufLoader</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ae671a5fd6f63039b761f5d78475a3f92">create</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pixbuf loader object. <a href="#ae671a5fd6f63039b761f5d78475a3f92"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1PixbufLoader.html">PixbufLoader</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a5d0a2be7c289b8b83e3ee9c8570b37ff">create</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; image_type, bool mime_type=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a pixbuf loader object for a specific image type. <a href="#a5d0a2be7c289b8b83e3ee9c8570b37ff"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a373c249cdae4df4563736169f68915f7">PixbufLoader</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a pixbuf loader object. <a href="#a373c249cdae4df4563736169f68915f7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a8bb93227a052da0b9db5c51372a75351">PixbufLoader</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; image_type, bool mime_type=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a pixbuf loader object for a specific image type. <a href="#a8bb93227a052da0b9db5c51372a75351"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a291dd42961d273faf6589f7400e30c29">on_area_prepared</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a16df36c7bc304ff980973924133342e7">on_area_updated</a> (int x, int y, int width, int height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ade3595deb97cad8b7c569f9a66bfe03f">on_closed</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1PixbufLoader.html">Gdk::PixbufLoader</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ab9193291650c2cca2b9367be62217339">wrap</a> (GdkPixbufLoader* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ab9193291650c2cca2b9367be62217339"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad84541e46f4e048fa8b8bc7eb2774dc0"></a><!-- doxytag: member="Gdk::PixbufLoader::~PixbufLoader" ref="ad84541e46f4e048fa8b8bc7eb2774dc0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gdk::PixbufLoader::~PixbufLoader </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a373c249cdae4df4563736169f68915f7"></a><!-- doxytag: member="Gdk::PixbufLoader::PixbufLoader" ref="a373c249cdae4df4563736169f68915f7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::PixbufLoader::PixbufLoader </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a pixbuf loader object. </p>

</div>
</div>
<a class="anchor" id="a8bb93227a052da0b9db5c51372a75351"></a><!-- doxytag: member="Gdk::PixbufLoader::PixbufLoader" ref="a8bb93227a052da0b9db5c51372a75351" args="(const Glib::ustring &amp;image_type, bool mime_type=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::PixbufLoader::PixbufLoader </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>image_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>mime_type</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a pixbuf loader object for a specific image type. </p>
<p>Constructs a new pixbuf loader object that always attempts to parse image data as if it were an image of type <em>image_type</em>, instead of identifying the type automatically. Useful if you want an error if the image isn't the expected type, for loading image formats that can't be reliably identified by looking at the data, or if the user manually forces a specific type.</p>
<p>The image_type can be one of the types returned by <a class="el" href="classGdk_1_1Pixbuf.html#a97b60f81707d0e61f55fa83596a8c1f9">Gdk::Pixbuf::get_formats()</a>, or a MIME type.</p>
<p>Common MIME Types are listed here <a href="http://www.iana.org/assignments/media-types/">http://www.iana.org/assignments/media-types/</a> and here: <a href="http://www.freedesktop.org/Software/shared-mime-info">http://www.freedesktop.org/Software/shared-mime-info</a></p>
<p>The list of non-mime-type image formats depends on what image loaders are installed, but typically "png", "jpeg", "gif", "tiff" and "xpm" are among the supported formats. To obtain the full list of supported image formats, call <a class="el" href="classGdk_1_1PixbufFormat.html#a9dcb4ec5ad2b4ad663aadbde1aa42e4e">PixbufFormat::get_name()</a> on each of the PixbufFormats returned by <a class="el" href="classGdk_1_1Pixbuf.html#a97b60f81707d0e61f55fa83596a8c1f9">Gdk::Pixbuf::get_formats()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>image_type</em>&#160;</td><td>Name of the image format to be loaded with the image. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mime_type</em>&#160;</td><td>If this is true then the image_type is a MIME type. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors.">Gdk::PixbufError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9512407e3feac5405a6ac6e12ef23bfd"></a><!-- doxytag: member="Gdk::PixbufLoader::close" ref="a9512407e3feac5405a6ac6e12ef23bfd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::PixbufLoader::close </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Informs a pixbuf loader that no further writes with <a class="el" href="classGdk_1_1PixbufLoader.html#a90ce41040208597527cf2251631aad45" title="Causes the pixbuf loader to parse the next count bytes of an image.">PixbufLoader::write()</a> will occur, so that it can free its internal loading structures. </p>
<p>Also, tries to parse any data that hasn't yet been parsed; if the remaining data is partial or corrupt, an exception will be thrown. If you're just cancelling a load rather than expecting it to be finished, writing an empty <code>catch()</code> block to ignore errors is reasonable. </p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors.">Gdk::PixbufError</a></em>&#160;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1FileError.html">Glib::FileError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5d0a2be7c289b8b83e3ee9c8570b37ff"></a><!-- doxytag: member="Gdk::PixbufLoader::create" ref="a5d0a2be7c289b8b83e3ee9c8570b37ff" args="(const Glib::ustring &amp;image_type, bool mime_type=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1PixbufLoader.html">PixbufLoader</a>&gt; Gdk::PixbufLoader::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>image_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>mime_type</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a pixbuf loader object for a specific image type. </p>
<p>Constructs a new pixbuf loader object that always attempts to parse image data as if it were an image of type <em>image_type</em>, instead of identifying the type automatically. Useful if you want an error if the image isn't the expected type, for loading image formats that can't be reliably identified by looking at the data, or if the user manually forces a specific type.</p>
<p>The image_type can be one of the types returned by <a class="el" href="classGdk_1_1Pixbuf.html#a97b60f81707d0e61f55fa83596a8c1f9">Gdk::Pixbuf::get_formats()</a>, or a MIME type.</p>
<p>Common MIME Types are listed here <a href="http://www.iana.org/assignments/media-types/">http://www.iana.org/assignments/media-types/</a> and here: <a href="http://www.freedesktop.org/Software/shared-mime-info">http://www.freedesktop.org/Software/shared-mime-info</a></p>
<p>The list of non-mime-type image formats depends on what image loaders are installed, but typically "png", "jpeg", "gif", "tiff" and "xpm" are among the supported formats. To obtain the full list of supported image formats, call <a class="el" href="classGdk_1_1PixbufFormat.html#a9dcb4ec5ad2b4ad663aadbde1aa42e4e">PixbufFormat::get_name()</a> on each of the PixbufFormats returned by <a class="el" href="classGdk_1_1Pixbuf.html#a97b60f81707d0e61f55fa83596a8c1f9">Gdk::Pixbuf::get_formats()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>image_type</em>&#160;</td><td>Name of the image format to be loaded with the image. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mime_type</em>&#160;</td><td>If this is true then the image_type is a MIME type. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors.">Gdk::PixbufError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae671a5fd6f63039b761f5d78475a3f92"></a><!-- doxytag: member="Gdk::PixbufLoader::create" ref="ae671a5fd6f63039b761f5d78475a3f92" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1PixbufLoader.html">PixbufLoader</a>&gt; Gdk::PixbufLoader::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new pixbuf loader object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-created pixbuf loader. </dd></dl>

</div>
</div>
<a class="anchor" id="a9e69e076ec80ee35b0acaaf6824a3570"></a><!-- doxytag: member="Gdk::PixbufLoader::get_animation" ref="a9e69e076ec80ee35b0acaaf6824a3570" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a>&gt; Gdk::PixbufLoader::get_animation </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab1785b9798362416ffb03ce02dd267d5"></a><!-- doxytag: member="Gdk::PixbufLoader::get_format" ref="ab1785b9798362416ffb03ce02dd267d5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a> Gdk::PixbufLoader::get_format </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4aa818981d7690da1fd23a10f5cde21a"></a><!-- doxytag: member="Gdk::PixbufLoader::get_pixbuf" ref="a4aa818981d7690da1fd23a10f5cde21a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gdk::PixbufLoader::get_pixbuf </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a99541d054d563108b0bfe05c31b870c0"></a><!-- doxytag: member="Gdk::PixbufLoader::gobj" ref="a99541d054d563108b0bfe05c31b870c0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdkPixbufLoader* Gdk::PixbufLoader::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a68a692fc8f18fac87659cb9ce4219df6"></a><!-- doxytag: member="Gdk::PixbufLoader::gobj" ref="a68a692fc8f18fac87659cb9ce4219df6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkPixbufLoader* Gdk::PixbufLoader::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="ab86dda7f88d82cf1374617ad978466c7"></a><!-- doxytag: member="Gdk::PixbufLoader::gobj_copy" ref="ab86dda7f88d82cf1374617ad978466c7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkPixbufLoader* Gdk::PixbufLoader::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="a291dd42961d273faf6589f7400e30c29"></a><!-- doxytag: member="Gdk::PixbufLoader::on_area_prepared" ref="a291dd42961d273faf6589f7400e30c29" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gdk::PixbufLoader::on_area_prepared </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a16df36c7bc304ff980973924133342e7"></a><!-- doxytag: member="Gdk::PixbufLoader::on_area_updated" ref="a16df36c7bc304ff980973924133342e7" args="(int x, int y, int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gdk::PixbufLoader::on_area_updated </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>height</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ade3595deb97cad8b7c569f9a66bfe03f"></a><!-- doxytag: member="Gdk::PixbufLoader::on_closed" ref="ade3595deb97cad8b7c569f9a66bfe03f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gdk::PixbufLoader::on_closed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a295cd5abb9e14975a6836f1bb568db58"></a><!-- doxytag: member="Gdk::PixbufLoader::set_size" ref="a295cd5abb9e14975a6836f1bb568db58" args="(int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::PixbufLoader::set_size </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>height</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a511c0929d1e481cd98faf77bd2d579c6"></a><!-- doxytag: member="Gdk::PixbufLoader::signal_area_prepared" ref="a511c0929d1e481cd98faf77bd2d579c6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gdk::PixbufLoader::signal_area_prepared </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This signal is emitted when the pixbuf loader has allocated the pixbuf in the desired size. </p>
<p>After this signal is emitted, applications can call <a class="el" href="classGdk_1_1PixbufLoader.html#a4aa818981d7690da1fd23a10f5cde21a">get_pixbuf()</a> to fetch the partially-loaded pixbuf.</p>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_area_prepared()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="ad816c3154d7abe8519633aa2727eb5ba"></a><!-- doxytag: member="Gdk::PixbufLoader::signal_area_updated" ref="ad816c3154d7abe8519633aa2727eb5ba" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy4.html">Glib::SignalProxy4</a>&lt; void,int,int,int,int &gt; Gdk::PixbufLoader::signal_area_updated </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This signal is emitted when a significant area of the image being loaded has been updated. </p>
<p>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.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>X</em>&#160;</td><td>offset of upper-left corner of the updated area. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>Y offset of upper-left corner of the updated area. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>Width of updated area. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>Height of updated area.</td></tr>
  </table>
  </dd>
</dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_area_updated(int x, int y, int width, int height)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a2d72e897acfb0c56eaaf72f046db134f"></a><!-- doxytag: member="Gdk::PixbufLoader::signal_closed" ref="a2d72e897acfb0c56eaaf72f046db134f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gdk::PixbufLoader::signal_closed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This signal is emitted when <a class="el" href="classGdk_1_1PixbufLoader.html#a9512407e3feac5405a6ac6e12ef23bfd" title="Informs a pixbuf loader that no further writes with PixbufLoader::write() will occur...">close()</a> is called. </p>
<p>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.</p>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_closed()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a26f567bc1828c59a8b8a710115e86b2f"></a><!-- doxytag: member="Gdk::PixbufLoader::signal_size_prepared" ref="a26f567bc1828c59a8b8a710115e86b2f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>&lt; void,int,int &gt; Gdk::PixbufLoader::signal_size_prepared </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>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. </p>
<p>Applications can call <a class="el" href="classGdk_1_1PixbufLoader.html#a295cd5abb9e14975a6836f1bb568db58">set_size()</a> in response to this signal to set the desired size to which the image should be scaled.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>The original width of the image. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>The original height of the image</td></tr>
  </table>
  </dd>
</dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_size_prepared(int width, int height)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a90ce41040208597527cf2251631aad45"></a><!-- doxytag: member="Gdk::PixbufLoader::write" ref="a90ce41040208597527cf2251631aad45" args="(const guint8 *buf, gsize count)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::PixbufLoader::write </td>
          <td>(</td>
          <td class="paramtype">const guint8 *&#160;</td>
          <td class="paramname"> <em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"> <em>count</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Causes the pixbuf loader to parse the next <em>count</em> bytes of an image. </p>
<p>It will return if the data was loaded successfully, and throw an exception if an error occurred. In the latter case, the loader will be closed, and will not accept further writes. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buf</em>&#160;</td><td>Pointer to image data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>count</em>&#160;</td><td>Length of the <em>buf</em> buffer in bytes. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors.">Gdk::PixbufError</a></em>&#160;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1FileError.html">Glib::FileError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ab9193291650c2cca2b9367be62217339"></a><!-- doxytag: member="Gdk::PixbufLoader::wrap" ref="ab9193291650c2cca2b9367be62217339" args="(GdkPixbufLoader *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1PixbufLoader.html">Gdk::PixbufLoader</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdkPixbufLoader *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gdkmm/pixbufloader.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:44 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>