Gtk2::Activatable(3)

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

✨ 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 🌸

the actual do-er of the set-related-action situation πŸ”₯

  • $action β€” a Gtk2::Action, that's the whole vibe

yep, it hands you back either an action or undef, no in-between, no drama. πŸ™ˆ


sets the related action, bestie, it's right there in the name ✨

  • $action β€” a Gtk2::Action

$activatable->sync_action_properties ($action)

syncs the action properties. it's giving "keeping things in lockstep" πŸŽ€

  • $action β€” a Gtk2::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 β€” a boolean

πŸ’œ PROPERTIES πŸ’œ

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:

  • Gtk2
  • Glib::Interface

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