Gtk2::Gdk::PixbufLoader(3) User Contributed Perl Documentation Gtk2::Gdk::PixbufLoader(3)

Gtk2::Gdk::PixbufLoader - wrapper for GdkPixbufLoader

Glib::Object
+----Gtk2::Gdk::PixbufLoader

pixbufloader = Gtk2::Gdk::PixbufLoader->new

pixbufloader = Gtk2::Gdk::PixbufLoader->new_with_mime_type ($mime_type)

May croak with a Glib::Error in $@ on failure.

Since: gtk+ 2.4

pixbufloader = Gtk2::Gdk::PixbufLoader->new_with_type ($image_type)

May croak with a Glib::Error in $@ on failure.

May croak with a Glib::Error in $@ on failure.

Since: gtk+ 2.2

$loader->set_size ($width, $height)

  • $width (integer)
  • $height (integer)

Since: gtk+ 2.2

$buf (scalar)

May croak with a Glib::Error in $@ on failure.

Gtk2, Glib::Object

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2022-05-29 perl v5.36.0