gtkutil::LeftAlignment Class Reference
[GTK utility library]

#include <LeftAlignment.h>

Public Member Functions

 LeftAlignment (GtkWidget *w, int indent=0, float expand=0.0)
 operator GtkWidget * ()

Private Attributes

GtkWidget_widget

Detailed Description

Container that left-aligns a child widget, with configurable indentation and fill ratio.

Definition at line 24 of file LeftAlignment.h.


Constructor & Destructor Documentation

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.

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.


Member Function Documentation

gtkutil::LeftAlignment::operator GtkWidget * (  )  [inline]

Operator cast to GtkWidget*.

Definition at line 56 of file LeftAlignment.h.

References _widget.


Field Documentation

Definition at line 27 of file LeftAlignment.h.

Referenced by LeftAlignment(), and operator GtkWidget *().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2