1Gnome2::ThumbnailFactorUys(e3r)Contributed Perl DocumentGantoimoen2::ThumbnailFactory(3)
2
3
4

NAME

6       Gnome2::ThumbnailFactory
7

HIERARCHY

9         Glib::Object
10         +----Gnome2::ThumbnailFactory
11

METHODS

13   thumbnailfactory = Gnome2::ThumbnailFactory->new ($size)
14           ·   $size (Gnome2::ThumbnailSize)
15
16   boolean = $factory->can_thumbnail ($uri, $mime_type, $mtime)
17           ·   $uri (string)
18
19           ·   $mime_type (string)
20
21           ·   $mtime (a timestamp)
22
23   $factory->create_failed_thumbnail ($uri, $mtime)
24           ·   $uri (string)
25
26           ·   $mtime (a timestamp)
27
28   pixbuf = $factory->generate_thumbnail ($uri, $mime_type)
29           ·   $uri (string)
30
31           ·   $mime_type (string)
32
33   boolean = $factory->has_valid_failed_thumbnail ($uri, $mtime)
34           ·   $uri (string)
35
36           ·   $mtime (a timestamp)
37
38   string = $factory->lookup ($uri, $mtime)
39           ·   $uri (string)
40
41           ·   $mtime (a timestamp)
42
43   $factory->save_thumbnail ($thumbnail, $uri, $original_mtime)
44           ·   $thumbnail (Gtk2::Gdk::Pixbuf)
45
46           ·   $uri (string)
47
48           ·   $original_mtime (a timestamp)
49

ENUMS AND FLAGS

51   enum Gnome2::ThumbnailSize
52       ·   'normal' / 'GNOME_THUMBNAIL_SIZE_NORMAL'
53
54       ·   'large' / 'GNOME_THUMBNAIL_SIZE_LARGE'
55

SEE ALSO

57       Gnome2, Glib::Object
58
60       Copyright (C) 2003-2004 by the gtk2-perl team.
61
62       This software is licensed under the LGPL.  See Gnome2 for a full
63       notice.
64
65
66
67perl v5.12.0                      2010-05-12       Gnome2::ThumbnailFactory(3)
Impressum