Gnome2::ThumbnailFactory(3) 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'

COPYRIGHT

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

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