Gnome2::ThumbnailFactory

Section: User Contributed Perl Documentation (3pm)
Updated: 2009-03-15
Index Return to Main Contents
 

NAME

Gnome2::ThumbnailFactory - wrapper for GnomeThumbnailFactory  

HIERARCHY

  Glib::Object
  +----Gnome2::ThumbnailFactory

 

METHODS

 

thumbnailfactory = Gnome2::ThumbnailFactory->new ($size)

$size (Gnome2::ThumbnailSize)
 

boolean = $factory->can_thumbnail ($uri, $mime_type, $mtime)

$uri (string)
$mime_type (string)
$mtime (a timestamp)
 

$factory->create_failed_thumbnail ($uri, $mtime)

$uri (string)
$mtime (a timestamp)
 

pixbuf = $factory->generate_thumbnail ($uri, $mime_type)

$uri (string)
$mime_type (string)
 

boolean = $factory->has_valid_failed_thumbnail ($uri, $mtime)

$uri (string)
$mtime (a timestamp)
 

string = $factory->lookup ($uri, $mtime)

$uri (string)
$mtime (a timestamp)
 

$factory->save_thumbnail ($thumbnail, $uri, $original_mtime)

$thumbnail (Gtk2::Gdk::Pixbuf)
$uri (string)
$original_mtime (a timestamp)
 

ENUMS AND FLAGS

 

enum Gnome2::ThumbnailSize

'normal' / 'GNOME_THUMBNAIL_SIZE_NORMAL'
'large' / 'GNOME_THUMBNAIL_SIZE_LARGE'
 

SEE ALSO

Gnome2, Glib::Object  

COPYRIGHT

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

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


 

Index

NAME
HIERARCHY
METHODS
thumbnailfactory = Gnome2::ThumbnailFactory->new ($size)
boolean = $factory->can_thumbnail ($uri, $mime_type, $mtime)
$factory->create_failed_thumbnail ($uri, $mtime)
pixbuf = $factory->generate_thumbnail ($uri, $mime_type)
boolean = $factory->has_valid_failed_thumbnail ($uri, $mtime)
string = $factory->lookup ($uri, $mtime)
$factory->save_thumbnail ($thumbnail, $uri, $original_mtime)
ENUMS AND FLAGS
enum Gnome2::ThumbnailSize
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 19:49:22 GMT, April 27, 2011