Gtk.IMMulticontext.prototype.append_menuitems

function append_menuitems(menushell:Gtk.MenuShell):void {
    // Gjs wrapper for gtk_im_multicontext_append_menuitems()
}

Add menuitems for various available input methods to a menu; the menuitems, when selected, will switch the input method for the context and the global default input method.

menushell

a Gtk.MenuShell