Gtk2::G...ufFormat(3)
β¨ NAME β¨
Gtk2::Gdk::PixbufFormat β bestie, this is the page from Gtk2::G...ufFormat(3) in the User Contributed Perl Documentation, and it's literally all about what a pixbuf format is holding π
πΈ DESCRIPTION πΈ
Okay so a Gtk2::Gdk::PixbufFormat is just, like, a lil bundle of format info fields. You poke at them like this, for example $format->{'name'} π«Ά
Here's the full field list, no skips, no cap:
name string
description string
mime_types arrayref of strings
extensions arrayref of strings, eg. ['jpg','jpeg']
is_writable 0 or 1
is_scalable 0 or 1 # in Gtk 2.6 up
is_disabled 0 or 1 # in Gtk 2.6 up
license string # in Gtk 2.6 up
Not me alphabetically... anyway. Note the lil comments β is_scalable, is_disabled and license are only there in Gtk 2.6 up, so don't come for them if you're on something older π
π METHODS π
$format->set_disabled ($disabled)
$disabled(boolean) β a yes/no, true/false, 1/0 type situation π¦
Heads up bestie: any change this method causes will not immediately show up in $format->{is_disabled}. You literally have to refetch the format to see the new value. It's giving "the vibe updated but the mirror didn't" π
Since: gtk+ 2.6
π SEE ALSO π
Gtk2
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.42.0 Β· 2025-07-25 Β· Gtk2::G...ufFormat(3) β and that's the whole page, periodt π go forth and format your pixbufs, you absolute icon πβ¨
π¦ where this page comes from
- fedora 43: perl-Gtk2 1.24993-23.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms