Gtk.IMMulticontext.prototype.get_context_id

function get_context_id():String {
    // Gjs wrapper for gtk_im_multicontext_get_context_id()
}

Gets the id of the currently active slave of the context.

Since 2.16

Returns

the id of the currently active slave