Gtk2::G...:Setting(3)

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

πŸ’– 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 β€” a Gtk2::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 β€” a string 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 (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