Gtk2::Image Glib::Object +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Misc +----Gtk2::Image Gtk2::Atk::ImplementorIface

widget = Gtk2::Image->new

widget = Gtk2::Image->new_from_animation ($animation)

widget = Gtk2::Image->new_from_file ($filename)

widget = Gtk2::Image->new_from_icon_name ($icon_name, $size)

widget = Gtk2::Image->new_from_icon_set ($icon_set, $size)

widget = Gtk2::Image->new_from_image ($image, $mask)

widget = Gtk2::Image->new_from_pixbuf ($pixbuf)

widget = Gtk2::Image->new_from_pixmap ($pixmap, $mask)

widget = Gtk2::Image->new_from_stock ($stock_id, $size)

pixbufanimation = $image->get_animation

$image->set_from_animation ($animation)

$image->set_from_file ($filename)

$image->set_from_icon_name ($icon_name, $size)

$image->set_from_icon_set ($icon_set, $size)

$image->set_from_image ($gdk_image, $mask)

$image->set_from_pixbuf ($pixbuf)

$image->set_from_pixmap ($pixmap, $mask)

$image->set_from_stock ($stock_id, $size)

(icon_name, size) = $image->get_icon_name

(icon_set, size) = $image->get_icon_set

(gdk_image, mask) = $image->get_image

pixbuf = $image->get_pixbuf

integer = $image->get_pixel_size

$image->set_pixel_size ($pixel_size)

(pixmap, mask) = $image->get_pixmap

(stock_id, icon_size) = $image->get_stock

imagetype = $image->get_storage_type
Filename to load and display The name of the icon from the icon theme Icon set to display Symbolic size to use for stock icon, icon set or named icon A GdkImage to display Mask bitmap to use with GdkImage or GdkPixmap A GdkPixbuf to display GdkPixbufAnimation to display Pixel size to use for named icon A GdkPixmap to display Stock ID for a stock image to display The representation being used for image data

flags Gtk2::Gdk::EventMask
Gtk2, Glib::Object, Gtk2::Object, Gtk2::Widget, Gtk2::Misc Copyright (C) 2003-2005 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.