#include <LeftAlignment.h>
Public Member Functions | |
LeftAlignment (GtkWidget *w, int indent=0, float expand=0.0) | |
operator GtkWidget * () | |
Private Attributes | |
GtkWidget * | _widget |
Container that left-aligns a child widget, with configurable indentation and fill ratio.
Definition at line 24 of file LeftAlignment.h.
gtkutil::LeftAlignment::LeftAlignment | ( | GtkWidget * | w, | |
int | indent = 0 , |
|||
float | expand = 0.0 | |||
) | [inline] |
Construct a LeftAlignment displaying the given widget with the given indentation parameters.
w | The child widget. | |
indent | Number of pixels to left-indent by (default 0). | |
expand | Amount by which the child should expand, from 0.0 (no expansion, widget remains at default size) to 1.0 (widget expands to fill all available space). |
Definition at line 46 of file LeftAlignment.h.
References _widget.
gtkutil::LeftAlignment::operator GtkWidget * | ( | ) | [inline] |
GtkWidget* gtkutil::LeftAlignment::_widget [private] |
Definition at line 27 of file LeftAlignment.h.
Referenced by LeftAlignment(), and operator GtkWidget *().