Gtk2::P...Settings(3)

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

πŸ’– Gtk2::PrintSettings β€” the whole vibe πŸ’–

okay bestie, so this page lives in the User Contributed Perl Documentation section of the manual, and it's all about Gtk2::PrintSettings β€” which is literally just a wrapper for GtkPrintSettings. that's the NAME bit, we got it out of the way, slay ✨


πŸ¦‹ HIERARCHY πŸ¦‹

here's the family tree, and yes she's an only child:

Glib::Object
+----Gtk2::PrintSettings

πŸŽ€ METHODS πŸŽ€

ngl, this is the main character section. every method, every arg, every Since: note β€” we're not skipping a single one, periodt. πŸ’…

✨ printsettings = Gtk2::PrintSettings->new

✨ printsettings = Gtk2::PrintSettings->new_from_file ($file_name)

  • $file_name (localized file name)

May croak with a Glib::Error in $@ on failure. 😭

Since: gtk+ 2.12

✨ printsettings = Gtk2::PrintSettings->new_from_key_file ($key_file, $group_name)

  • $key_file (Glib::KeyFile)
  • $group_name (string or undef)

May croak with a Glib::Error in $@ on failure. 😭

Since: gtk+ 2.12

✨ $settings->foreach ($func, $data=undef)

  • $func (scalar)
  • $data (scalar)

✨ string or undef = $settings->get ($key)

  • $key (string)

✨ $settings->set ($key, $value)

  • $key (string)
  • $value (string or undef)

✨ boolean = $settings->has_key ($key)

  • $key (string)

✨ $settings->load_file ($file_name)

  • $file_name (string)

May croak with a Glib::Error in $@ on failure. 😭

Since: gtk+ 2.14

✨ $settings->load_key_file ($key_file, $group_name)

  • $key_file (Glib::KeyFile)
  • $group_name (string or undef)

May croak with a Glib::Error in $@ on failure. 😭

Since: gtk+ 2.14

✨ $settings->to_file ($file_name)

  • $file_name (localized file name)

May croak with a Glib::Error in $@ on failure. 😭

Since: gtk+ 2.12

✨ $settings->to_key_file ($key_file, $group_name)

  • $key_file (Glib::KeyFile)
  • $group_name (string or undef)

Since: gtk+ 2.12

✨ $settings->unset ($key)

  • $key (string)

🌈 SEE ALSO 🌈

go read these next, bestie, they're the extended universe:

  • Gtk2
  • Glib::Object

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.


and that's the whole page, no notes, you ate that 🫢

this was generated with perl v5.42.0 and dated 2025-07-25 β€” mwah, bye babes πŸ’œ

πŸ“¦ where this page comes from