Class: Gtk::Statusbar
- Inherits:
-
Object
- Object
- Gtk::Statusbar
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#get_context_id(context_description) ⇒ Integer
Returns a new context identifier, given a description of the actual context.
-
#message_area ⇒ Gtk::Box
Retrieves the box containing the label widget.
-
#new ⇒ Gtk::Widget
Creates a new Gtk::Statusbar ready for messages.
-
#pop(context_id) ⇒ nil
Removes the first message in the Gtk::Statusbar’s stack with the given context id.
-
#push(context_id, text) ⇒ Integer
Pushes a new message onto a statusbar’s stack.
-
#remove(context_id, message_id) ⇒ nil
Forces the removal of a message from a statusbar’s stack.
-
#remove_all(context_id) ⇒ nil
Forces the removal of all messages from a statusbar’s stack with the exact context_id.
Instance Method Details
#get_context_id(context_description) ⇒ Integer
Returns a new context identifier, given a description of the actual context. Note that the description is not shown in the UI.
#message_area ⇒ Gtk::Box
Retrieves the box containing the label widget.
#new ⇒ Gtk::Widget
Creates a new Gtk::Statusbar ready for messages.
#pop(context_id) ⇒ nil
Removes the first message in the Gtk::Statusbar’s stack with the given context id.
Note that this may not change the displayed message, if the message at the top of the stack has a different context id.
#push(context_id, text) ⇒ Integer
Pushes a new message onto a statusbar’s stack.
#remove(context_id, message_id) ⇒ nil
Forces the removal of a message from a statusbar’s stack. The exact context_id and message_id must be specified.
#remove_all(context_id) ⇒ nil
Forces the removal of all messages from a statusbar’s stack with the exact context_id.