Gtk2::G...:Setting(3)
π Gtk2::Gdk::Event::Setting π
okay bestie, welcome to the little corner of the perl docs where Gtk2 and Gdk get together and gossip about settings. this is Gtk2::Gdk::Event::Setting, straight out of the User Contributed Perl Documentation, and no cap, it's a tiny page β but we're gonna treat it with the respect it deserves. π
πΈ NAME πΈ
Gtk2::Gdk::Event::Setting β that's her, that's the whole name, she's iconic and she knows it. β¨
π¦ HIERARCHY π¦
the family tree, and yes it's giving royal lineage π
Gtk2::Gdk::Event
+----Gtk2::Gdk::Event::Setting
so basically Gtk2::Gdk::Event::Setting is a child of Gtk2::Gdk::Event. it inherited the whole vibe from its parent and then added its own little setting-flavoured flair. periodt. π
π METHODS π
two methods, that's it, and they both do the classic perl thing of "you can pass a new value⦠or not". main character energy fr fr.
β¨ settingaction = $eventsetting->action ($newvalue=0)
call this on your event setting and it hands you back a setting action. and here's the cute part β $newvalue defaults to 0, so if you don't say anything it just vibes with the default. π«Ά
$newvalueβ aGtk2::Gdk::SettingAction. that's the type, bestie, no substitutes.
β¨ string or undef = $eventsetting->name ($newvalue=undef)
this one gives you a stringβ¦ or undef, because sometimes the answer is "she's not here right now" π. the $newvalue here defaults to undef, so again, no pressure to pass anything.
$newvalueβ astring or undef. yes literally either one. flexible queen. π
π ENUMS AND FLAGS π
π
enum Gtk2::Gdk::SettingAction
the holy trinity of setting actions. learn them, love them, iykyk:
'new'/GDK_SETTING_ACTION_NEWβ a brand new setting just dropped π'changed'/GDK_SETTING_ACTION_CHANGEDβ glow-up arc, she's different now β¨'deleted'/GDK_SETTING_ACTION_DELETEDβ gone, ghosted, deleted π
π SEE ALSO π
Gtk2β the mothership, the whole reason any of this exists. go say hi. πΈ
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
this software is licensed under the LGPL. see Gtk2 for a full notice. not me being a law-abiding citizen for once π
and that's the whole page, bestie β short, sweet, and lowkey perfect. this was rendered by perl v5.42.0 on 2025-07-25, so if you're reading this from the future, hi, love you, bye ππ¦π
π¦ 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