1Gtk2::Gdk::PixbufLoaderU(s3e)r Contributed Perl DocumentaGttiko2n::Gdk::PixbufLoader(3)
2
3
4

NAME

6       Gtk2::Gdk::PixbufLoader - wrapper for GdkPixbufLoader
7

HIERARCHY

9         Glib::Object
10         +----Gtk2::Gdk::PixbufLoader
11

METHODS

13   pixbufloader = Gtk2::Gdk::PixbufLoader->new
14   pixbufloader = Gtk2::Gdk::PixbufLoader->new_with_mime_type ($mime_type)
15       May croak with a Glib::Error in $@ on failure.
16
17       Since: gtk+ 2.4
18
19   pixbufloader = Gtk2::Gdk::PixbufLoader->new_with_type ($image_type)
20       May croak with a Glib::Error in $@ on failure.
21
22   pixbufanimation or undef = $loader->get_animation
23   $loader->close
24       May croak with a Glib::Error in $@ on failure.
25
26   hash reference = $loader->get_format
27       Since: gtk+ 2.2
28
29   pixbuf = $loader->get_pixbuf
30   $loader->set_size ($width, $height)
31       •   $width (integer)
32
33       •   $height (integer)
34
35       Since: gtk+ 2.2
36
37   boolean = $loader->write ($buf)
38       •   $buf (scalar)
39
40       May croak with a Glib::Error in $@ on failure.
41

SIGNALS

43       area-prepared (Gtk2::Gdk::PixbufLoader)
44       area-updated (Gtk2::Gdk::PixbufLoader, integer, integer, integer,
45       integer)
46       closed (Gtk2::Gdk::PixbufLoader)
47       size-prepared (Gtk2::Gdk::PixbufLoader, integer, integer)
48

SEE ALSO

50       Gtk2, Glib::Object
51
53       Copyright (C) 2003-2011 by the gtk2-perl team.
54
55       This software is licensed under the LGPL.  See Gtk2 for a full notice.
56
57
58
59perl v5.32.1                      2021-01-27        Gtk2::Gdk::PixbufLoader(3)
Impressum