| Gwyddion Widgets Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | ||||
#include <libgwydgets/gwydgets.h> struct GwyStatusbar; struct GwyStatusbarClass; GtkWidget * gwy_statusbar_new (void); void gwy_statusbar_set_markup (GwyStatusbar *statusbar,const gchar *markup);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----GtkStatusbar +----GwyStatusbar
This widget is almost identical to GtkStatusbar except that it interprets Pango markup in its messages.
It also provides a simple context-free message method
gwy_statusbar_set_markup() for status bars that do not need all the
complexity of GtkStatusbar stacks.
struct GwyStatusbarClass {
GtkStatusbarClass parent_class;
void (*reserved1)(void);
};
GtkWidget * gwy_statusbar_new (void);
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. |
void gwy_statusbar_set_markup (GwyStatusbar *statusbar,const gchar *markup);
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_status_bar_push(). You can
use either this simple interface or the full stacks-and-contexts API with
GwyStatusbar, but not both in the same status bar.
|
A statusbar. |
|
Text message to display in the statusbar. It can contain Pango markup. |