Gnome2::Thumbnail(3)
π NAME π
Gnome2::Thumbnail β bestie, it's the thumbnail-flavored corner of the Gnome2 Perl bindings, and we are gonna walk through every single method like it's a group chat β¨
πΈ METHODS πΈ
okay so here's the whole roster, no skips, no "you can figure out the rest", we're doing all of them π
boolean = $pixbuf->has_uri ($uri)β asks the pixbuf whether it's holding onto this particular URI, and hands you back a boolean. yes or no, iconic behavior π$uri(string)
boolean = $pixbuf->is_valid ($uri, $mtime)β vibe check for a URI + timestamp pair, returns a boolean fr fr$uri(string)$mtime(a timestamp)
string = Gtk2::Gdk::Pixbuf->md5 ($uri)β class method moment, it gives you back a string π$uri(string)
string = Gtk2::Gdk::Pixbuf->path_for_uri ($uri, $size)β another class method, returns a string (yes, a path-shaped one, the name is right there π)$uri(string)$size(Gnome2::ThumbnailSize)
pixbuf = $pixbuf->scale_down_pixbuf ($dest_width, $dest_height)β scales the pixbuf down, returns a pixbuf. it's giving glow-down but make it intentional β¨$dest_width(integer)$dest_height(integer)
π¦ ENUMS AND FLAGS π¦
π enum Gnome2::ThumbnailSize
two sizes, both iconic, pick your fighter:
'normal'/'GNOME_THUMBNAIL_SIZE_NORMAL''large'/'GNOME_THUMBNAIL_SIZE_LARGE'
π SEE ALSO π
- Gnome2 β the main character, go read that one too π«Ά
π COPYRIGHT π
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2 for a full notice. periodt π
that's the whole page bestie, no cap β this one came from perl v5.42.0 and it's dated 2025-07-25, so if you're reading it in the future just know it ate and left no crumbs π§π
π¦ where this page comes from
- fedora 43: perl-Gnome2 1.048-18.fc43 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms