Gtk2::I...context(3)

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

πŸ’– Gtk2::IMMulticontext πŸ’–

okay bestie, so the manual name for this one is Gtk2::I...context (the terminal cuts it off, tragic, but it's really Gtk2::IMMulticontext), and it's part of the User Contributed Perl Documentation. grab a strawberry πŸ“ and let's get into it.

This page is your guide to Gtk2::IMMulticontext β€” literally just a wrapper for GtkIMMulticontext. that's the whole vibe. a lil cozy blanket around the C thing.


🌸 HIERARCHY 🌸

so here's the family tree, and yes it's giving royal lineage πŸ‘‘

Glib::Object
+----Gtk2::IMContext
     +----Gtk2::IMMulticontext

Glib::Object is the ancestor at the top, then Gtk2::IMContext descends from it, and Gtk2::IMMulticontext is the baby of the family, inheriting everything. main character energy fr fr πŸ’…


✨ METHODS ✨

πŸ¦‹ imcontext = Gtk2::IMMulticontext->new

this is how you make one, bestie. call new on the class and boom, you got yourself an imcontext. iconic constructor behavior, no notes.

πŸŽ€ $context->append_menuitems ($menushell)

appends the menuitems, obviously. takes one thing:

  • $menushell β€” a Gtk2::MenuShell, that's the type, that's the vibe

⭐ string = $context->get_context_id

hands you back a string, which is the context id. that's the whole thing.

Since: gtk+ 2.16 β€” so if you're on anything older, this is not the moment, bestie 😭

πŸ’œ $context->set_context_id ($context_id)

sets the context id. takes:

  • $context_id β€” a string, that's what goes in
Since: gtk+ 2.16 β€” same deal, newer gtk+ only 🫢

🌈 SEE ALSO 🌈

go read these next, they're the friends of this page, the group chat if you will:

  • Gtk2
  • Glib::Object
  • Gtk2::IMContext

Copyright (C) 2003-2011 by the gtk2-perl team. πŸ’–

This software is licensed under the LGPL. See Gtk2 for a full notice. (iykyk, go read it, it's important fr fr)


and that's the whole page bestie!! this was rendered by perl v5.42.0 on 2025-07-25, so if you're reading it some other time, hi, you're a time traveler, slay 🧚✨

πŸ“¦ where this page comes from