Pike v8.1 release 6

Class GTK2.Statusbar

Inheritance graph
Description

Statusbars are simple widgets used to display a text message. They keep a stack of the messages pushed onto them, so that popping the current message will re-display the previous text message.

In order to allow different parts of an application to use the same statusbar to display messages, the statusbar widget issues Context Identifiers which are used to identify different 'users'. The message on top of the stack is the one displayed, no matter what context it is in. Messages are stacked in last-in-first-out order, not context identifier order.

 lambda() {object sb = GTK2.Statusbar();int id = sb->get_context_id("test");sb->push(id,"A message");sb->push(id,"Another message");return sb;}()

 lambda() {object sb = GTK2.Statusbar();int id = sb->get_context_id("test");sb->push(id,"A message");sb->push(id,"Another message");sb->pop(id);return sb;}()

Properties: int has-resize-grip

Style properties: int shadow-type

Signals: text_popped

text_pushed


Inherit Hbox

inherit GTK2.Hbox : Hbox


Method create

GTK2.Statusbar GTK2.Statusbar(mapping|void props)

Description

Create a new statusbar widget