Gtk2::Activatable(3)
β¨ NAME β¨
okay so bestie, welcome to Gtk2::Activatable π β it's the wrapper for GtkActivatable, and she's giving interface energy, not class energy. (This is the Gtk2::Activatable(3) page, from the User Contributed Perl Documentation, in case you were wondering who wrote this banger π«Ά)
π¦ HIERARCHY π¦
the family tree, and it's short and sweet:
Glib::Interface
+----Gtk2::Activatable
so yeah, she's a Glib::Interface girlie and Gtk2::Activatable is the one and only child. main character only, no siblings π
πΈ METHODS πΈ
$activatable->do_set_related_action ($action)
the actual do-er of the set-related-action situation π₯
$actionβ aGtk2::Action, that's the whole vibe
action or undef = $activatable->get_related_action
yep, it hands you back either an action or undef, no in-between, no drama. π
$activatable->set_related_action ($action)
sets the related action, bestie, it's right there in the name β¨
$actionβ aGtk2::Action
$activatable->sync_action_properties ($action)
syncs the action properties. it's giving "keeping things in lockstep" π
$actionβ aGtk2::Action
boolean = $activatable->get_use_action_appearance
returns a boolean about whether we're using the action appearance. yes or no, iconic behavior β
$activatable->set_use_action_appearance ($use_appearance)
sets whether we use the action appearance, and honestly? slay, you get to choose π
$use_appearanceβ aboolean
π PROPERTIES π
'related-action' (Gtk2::Action : default undef : readable / writable / private / static-nick / static-blurb)
the action this activatable will activate and receive updates from β so like, her whole personality comes from this action, no cap.
'use-action-appearance' (boolean : default true : readable / writable / private / static-nick / static-blurb)
whether to use the related actions appearance properties β default is true, and yes the flags are readable, writable, private, static-nick, static-blurb, all of them, periodt. π
π SEE ALSO π
go read these too, they're the supporting cast:
Gtk2Glib::Interface
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team. π«Ά
This software is licensed under the LGPL. See Gtk2 for a full notice. (fr fr, go read the full notice, i'm not playing π)
okay and literally one last thing bestie π§ β this page is from perl v5.42.0, dated 2025-07-25, and it's the Gtk2::Activatable(3) manpage. that's it, that's the whole thing, mwah πβ¨πΈ
π¦ 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