Gtk2::I...context(3)
π 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β aGtk2::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β astring, 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:
Gtk2Glib::ObjectGtk2::IMContext
π COPYRIGHT π
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
- 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