Gtk.Statusbar.prototype.get_context_id

function get_context_id(context_description:String):Number {
    // Gjs wrapper for gtk_statusbar_get_context_id()
}

Returns a new context identifier, given a description of the actual context. Note that the description is <emphasis>not</emphasis> shown in the UI.

context_description

textual description of what context the new message is being used in

Returns

an integer id