Gnome2::Config(3)
π 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 π
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
- 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