GtkStatusbar

GtkStatusbar

Widget that provides a way to report messages of minor importance.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkBox
                     `-- GtkHBox
                            `-- GtkStatusbar

Direct subclasses

None.

Description

A GtkStatusbar is a framed label, usually added to the bottom of a window, that provides a way to report messages of minor importance. It is usually updated fairly frequently.

There are two indices in the structure of a statusbar; one is an associative array of message information, and the other is a stack of uniquely-indexed message arrays. The message at the top of the stack is the one currently on display.

Where a routine requires a lot of processing, the statusbar may be unable to update during the time taken to do so. You will need to call

each time the bar has been updated, to allow updating throughout.

Constructor

-- Creates a status bar.

Methods

get_context_id()
  Returns the context id from the description.
push()
  Adds message to top of stack.
pop()
  Removes message from top of stack.
remove()
  Removes designated message from stack.

Signals

"text-pushed"
  Emitted when a message is prepended to the stack.
"text-popped"
  Emitted when a message is popped from the top of the stack.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.