Gtk2::G...ufFormat(3)

πŸ“¦
version 1.24993 Β· 2 versions
, in fedora 43

✨ 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 (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