GwyStatusbar — Statusbar with Pango markup support
GtkWidget * | gwy_statusbar_new () |
void | gwy_statusbar_set_markup () |
struct | GwyStatusbar |
struct | GwyStatusbarClass |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GtkHBox ╰── GtkStatusbar ╰── GwyStatusbar
GwyStatusbar implements AtkImplementorIface, GtkBuildable and GtkOrientable.
#include <libgwydgets/gwydgets.h>
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.
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.
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_statusbar_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.
statusbar |
A statusbar. |
|
markup |
Text message to display in the statusbar. It can contain Pango markup. |
struct GwyStatusbar;
struct GwyStatusbarClass { GtkStatusbarClass parent_class; void (*reserved1)(void); };