Module gwy :: Class Statusbar
[hide private]
[frames] | no frames]

Class Statusbar

source code

Instance Methods [hide private]
 
__init__()
Creates a new Gwyddion statusbar.
source code
 
set_markup(markup)
Sets the text to display in a status bar.
source code
Method Details [hide private]

__init__()
(Constructor)

source code 

Creates a new Gwyddion statusbar.

Gwyddion statusbar differs from GtkStatusbar only in one thing: the messages can contain Pango markup.

Returns:
The newly created statusbar, as a GtkWidget. (gtk.Widget)

set_markup(markup)

source code 

Sets the text to display in a status bar.

This method is intended for simple status bars that do not have stacks and do not need contexts. It does not mix with gtk_statusbar_push(). You can use either this simple interface or the full stacks-and-contexts API with Statusbar, but not both in the same status bar.

Parameters:
  • markup - Text message to display in the statusbar. It can contain Pango markup. (string)