Gnome2::Config(3)

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

πŸ’– Gnome2::Config πŸ’–

okay bestie, pull up a chair, because we are reading the manual page for Gnome2::Config β€” and yes, it lives in section 3 of the manual, the user contributed Perl documentation section, which is honestly where all the fun stuff hides. this whole page is just a big gorgeous list of methods. buckle up. πŸ¦‹


πŸŽ€ NAME πŸŽ€

Gnome2::Config

that's it. that's the name. minimalist. iconic. periodt. πŸ’…


✨ METHODS ✨

every single one of these is here, in order, no skips, no shortcuts. the <something> = at the front is what you get back, so read it like a little fortune cookie. πŸ“


boolean = Gnome2::Config->get_bool ($path)

  • $path (string)

you pass it a $path, you get a boolean back. yes or no, bestie. 🫢


boolean = Gnome2::Config::Private->get_bool ($path)

  • $path (string)

same energy, but it's the Gnome2::Config::Private flavour. same $path, same boolean. ✨


Gnome2::Config->set_bool ($path, $value)

  • $path (string)
  • $value (boolean)

setting time. give it a $path and a $value that's a boolean and it's out of your hands. πŸ’…


Gnome2::Config::Private->set_bool ($path, $value)

  • $path (string)
  • $value (boolean)

the Private twin of the one above. identical little arg list. 🌸


list = Gnome2::Config->get_bool_with_default ($path)

  • $path (string)
returns a boolean indicating whether the default was used and the actual value.

so you get a list, and that list is holding two things: the boolean that tells you whether the default got used, and the actual value itself. two-for-one, we love to see it. πŸ’–


list = Gnome2::Config::Private->get_bool_with_default ($path)

  • $path (string)

Private version, same $path, same list coming back. πŸŽ€


Gnome2::Config->clean_file ($path)

  • $path (string)

takes a $path. that's the whole vibe. 🧚


Gnome2::Config::Private->clean_file ($path)

  • $path (string)

and the Private one, also taking a $path. matched set, adorable. 🌈


Gnome2::Config->clean_key ($path)

  • $path (string)

one $path in, that's it. 🌸


Gnome2::Config::Private->clean_key ($path)

  • $path (string)

Private edition, one $path, no notes. πŸ’œ


Gnome2::Config->clean_section ($path)

  • $path (string)

you guessed it: a $path. ⭐


Gnome2::Config::Private->clean_section ($path)

  • $path (string)

Private version, a $path, and we move on. πŸ¦‹


Gnome2::Config->drop_all

no arguments. no $path. it just drops everything, bestie. πŸ’€


Gnome2::Config->drop_file ($path)

  • $path (string)

this one wants a $path first. πŸŽ€


Gnome2::Config::Private->drop_file ($path)

  • $path (string)

Private flavour, same single $path. ✨


double = Gnome2::Config->get_float ($path)

  • $path (string)

give a $path, receive a double. decimals girlies rise. πŸ”₯


double = Gnome2::Config::Private->get_float ($path)

  • $path (string)

Private edition, $path in, double out. πŸ’–


Gnome2::Config->set_float ($path, $value)

  • $path (string)
  • $value (double)

$path plus a $value that's a double. very demure, very precise. πŸ’…


Gnome2::Config::Private->set_float ($path, $value)

  • $path (string)
  • $value (double)

the Private twin, same args, same double. 🌸


list = Gnome2::Config->get_float_with_default ($path)

  • $path (string)
returns a boolean indicating whether the default was used and the actual value.

a list again: the boolean about whether the default was used, and the actual value. 🫢


list = Gnome2::Config::Private->get_float_with_default ($path)

  • $path (string)

Private version, $path in, list out. πŸŽ€


boolean = Gnome2::Config->has_section ($path)

  • $path (string)

$path goes in, boolean comes out. 🌈


boolean = Gnome2::Config::Private->has_section ($path)

  • $path (string)

Private version of the same question. 🧚


scalar = Gnome2::Config->init_iterator ($path)

  • $path (string)

takes a $path, hands you a scalar. ✨


scalar = Gnome2::Config::Private->init_iterator ($path)

  • $path (string)

Private edition, one $path, one scalar. πŸ’œ


scalar = Gnome2::Config->init_iterator_sections ($path)

  • $path (string)

same shape, slightly different name, still a $path and still a scalar. ⭐


scalar = Gnome2::Config::Private->init_iterator_sections ($path)

  • $path (string)

Private version, $path in, scalar out. 🌸


integer = Gnome2::Config->get_int ($path)

  • $path (string)

$path in, integer out. whole numbers, no crumbs. πŸ”₯


integer = Gnome2::Config::Private->get_int ($path)

  • $path (string)

Private flavour, $path and an integer. πŸŽ€


Gnome2::Config->set_int ($path, $value)

  • $path (string)
  • $value (integer)

$path plus a $value that is an integer. πŸ’…


Gnome2::Config::Private->set_int ($path, $value)

  • $path (string)
  • $value (integer)

Private twin, same two args, same integer. 🌈


list = Gnome2::Config->get_int_with_default ($path)

  • $path (string)
returns a boolean indicating whether the default was used and the actual value.

yep, a list: boolean-about-the-default plus the actual value. 🫢


list = Gnome2::Config::Private->get_int_with_default ($path)

  • $path (string)

Private version, $path, list. ✨


Gnome2::Config->pop_prefix

zero arguments, just a good old pop. πŸ’…


Gnome2::Config->push_prefix ($path)

  • $path (string)

and this is the push, which does want a $path. balanced, as all things should be. πŸŽ€


string = Gnome2::Config->get_real_path ($path)

  • $path (string)

$path in, string out. very "tell me the truth" of it. ✨


string = Gnome2::Config::Private->get_real_path ($path)

  • $path (string)

Private edition, one $path, one string. 🌸


string = Gnome2::Config->get_string ($path)

  • $path (string)

a $path for a string. the classic trade. πŸ’–


string = Gnome2::Config::Private->get_string ($path)

  • $path (string)

Private version, $path β†’ string. πŸ¦‹


Gnome2::Config->set_string ($path, $value)

  • $path (string)
  • $value (string)

a $path and a $value (also a string). string on string, no cap. πŸ’œ


Gnome2::Config::Private->set_string ($path, $value)

  • $path (string)
  • $value (string)

Private twin, same double-string situation. ⭐


list = Gnome2::Config->get_string_with_default ($path)

  • $path (string)
returns a boolean indicating whether the default was used and the actual value.

list o'clock: the default-used boolean and the actual value, together at last. πŸŽ€


list = Gnome2::Config::Private->get_string_with_default ($path)

  • $path (string)

Private version, $path, list. 🌈


boolean = Gnome2::Config->sync

no args at all, and you get a boolean back. πŸ”₯


boolean = Gnome2::Config->sync_file ($path)

  • $path (string)

this one does take a $path, and still returns a boolean. ✨


boolean = Gnome2::Config::Private->sync_file ($path)

  • $path (string)

Private flavour, one $path, one boolean. 🌸


string = Gnome2::Config->get_translated_string ($path)

  • $path (string)

$path in, string out. 🌍 energy. πŸ’–


string = Gnome2::Config::Private->get_translated_string ($path)

  • $path (string)

Private version, $path β†’ string. πŸ¦‹


Gnome2::Config->set_translated_string ($path, $value)

  • $path (string)
  • $value (string)

$path and a $value (string). setting things, translated-style. πŸŽ€


Gnome2::Config::Private->set_translated_string ($path, $value)

  • $path (string)
  • $value (string)

Private twin, same args. ⭐


list = Gnome2::Config->get_translated_string_with_default ($path)

  • $path (string)

$path in, list out. that's the whole bit, bestie. πŸ’œ


list = Gnome2::Config::Private->get_translated_string_with_default ($path)

  • $path (string)

Private version, $path, list. 🌈


scalar = Gnome2::Config->get_vector ($path)

  • $path (string)

$path in, scalar out. vector vibes. 🧚


scalar = Gnome2::Config::Private->get_vector ($path)

  • $path (string)

Private edition, $path β†’ scalar. ✨


Gnome2::Config->set_vector ($path, $value)

  • $path (string)
  • $value (scalar)

a $path and a $value that's a scalar. 🌸


Gnome2::Config::Private->set_vector ($path, $value)

  • $path (string)
  • $value (scalar)

Private twin, same two args. πŸŽ€


list = Gnome2::Config->get_vector_with_default ($path)

  • $path (string)
returns a boolean indicating whether the default was used and the actual value.

last list of the bunch: the default-used boolean plus the actual value. 🫢


list = Gnome2::Config::Private->get_vector_with_default ($path)

  • $path (string)

and the Private one to close us out. $path, list, done. ⭐


πŸ‘€ SEE ALSO πŸ‘€

  • Gnome2

go read that one too, bestie, it's the whole extended universe. 🌈


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

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


and that's the whole page, bestie!! πŸ’–βœ¨πŸŽ€ this beauty shipped as perl v5.42.0, dated 2025-07-25, and it's the Gnome2::Config(3) manual page β€” go forth and configure things, you absolute icon. πŸ‘‘πŸ¦‹πŸ’…

πŸ“¦ where this page comes from