
Gtk2::CV::ImageWindow - a window widget displaying an image or other media

use Gtk2::CV::ImageWindow;

Replace the currently-viewed image by the given pixbuf.
Removes the current image (usually replacing it by the default image).
Tries to load the given file (if it is an image), or embeds mplayer (if mplayer supports it).
Resize the image so it is maximally large.
Resize the image window to the given size.
Undo any cropping; Show the full image.
Crop the image to the specified rectangle.

Marc Lehmann <schmorp@schmorp.de>