#include <RightAlignedLabel.h>
Public Member Functions | |
RightAlignedLabel (const std::string &text) | |
operator GtkWidget * () | |
Private Attributes | |
GtkWidget * | _label |
A GtkLabel that is right-aligned, rather than the default centered align- ment.
Definition at line 12 of file RightAlignedLabel.h.
gtkutil::RightAlignedLabel::RightAlignedLabel | ( | const std::string & | text | ) | [inline] |
Construct a right-aligned label with the given text.
Definition at line 14 of file RightAlignedLabel.h.
References _label, operator GtkWidget *(), and string.
gtkutil::RightAlignedLabel::operator GtkWidget * | ( | ) | [inline] |
Operator cast to GtkWidget*. Left-aligns then returns the GtkLabel.
Definition at line 22 of file RightAlignedLabel.h.
Referenced by RightAlignedLabel().
GtkWidget* gtkutil::RightAlignedLabel::_label [private] |
Definition at line 8 of file RightAlignedLabel.h.
Referenced by RightAlignedLabel().