Gtk2-Perl

Description A set of Perl bindings for Gtk+ 2.0 and various related libraries
Gtk2-Perl > Perl Manuals > Gnome2-ThumbnailFactory
Source

Index


NAME ^

Gnome2::ThumbnailFactory

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.