push

open fun push(contextId: <Error class: unknown class>, text: String): <Error class: unknown class>(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

This widget will be removed in GTK 5

---

Pushes a new message onto a statusbar’s stack.

Return

a message id that can be used with method@Gtk.Statusbar.remove.

Parameters

contextId

the message’s context id, as returned by gtk_statusbar_get_context_id()

text

the message to add to the statusbar