GTK+ IOStream  Beta
<< GTK+ >> add C++ IOStream operators to GTK+. Now with extra abilities ... like network serialisation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | List of all members
Alignment Class Reference

#include <Alignment.H>

Inheritance diagram for Alignment:
Inheritance graph
[legend]
Collaboration diagram for Alignment:
Collaboration graph
[legend]

Public Member Functions

 Alignment (void)
 
 Alignment (gfloat xalign, gfloat yalign, gfloat xscale, gfloat yscale)
 
void set (gfloat xalign, gfloat yalign, gfloat xscale, gfloat yscale)
 
void padding (guint padding_top, guint padding_bottom, guint padding_left, guint padding_right)
 
- Public Member Functions inherited from Box
 Box (void)
 constructor More...
 
Boxoperator<< (BoxIS bis)
 destructor destroys the widget to neatly cleanup. More...
 
Boxoperator<< (Box &b)
 
Boxoperator<< (Box *b)
 
Boxoperator<< (Container &b)
 
Boxoperator<< (Container *b)
 
Boxoperator<< (GtkWidget *b)
 
Boxoperator<< (LinkList< GtkWidget * > &ll)
 
Boxoperator>> (GtkWidget *b)
 
Boxoperator>> (Container *b)
 
Boxoperator>> (Container &b)
 
void connectAfter (const char *event, GCallback callback, gpointer data)
 
Boxoperator= (const Box b)
 
- Public Member Functions inherited from BoxIS
 BoxIS (void)
 
 BoxIS (bool expandIn, bool fillIn)
 
 BoxIS (bool expandIn, bool fillIn, bool startIn)
 
void reset (void)
 
void setDefaultStart (bool startIn)
 
void setDefaultExpand (bool expandIn)
 
void setDefaultFill (bool fillIn)
 
BoxISoperator= (BoxIS &bis)
 
BoxISoperator= (const BoxIS bis)
 
void dump (void)
 
- Public Member Functions inherited from Container
GtkWidget * getWidget (void)
 
GtkWidget * show (void)
 
GtkWidget * hide (void)
 
void setBorder (unsigned int size)
 
unsigned int getBorder (void)
 
Containeroperator<< (Container &b)
 
Containeroperator<< (Container *b)
 
Containeroperator<< (LinkList< GtkWidget * > &ll)
 
Containeroperator>> (GtkWidget *b)
 
Containeroperator>> (Container *b)
 
Containeroperator>> (Container &b)
 
- Public Member Functions inherited from Widget
virtual ~Widget ()
 Destructor. More...
 
GtkWidget * ref (void)
 
void unref (void)
 

Private Member Functions

virtual void pack (GtkWidget *obj)
 

Additional Inherited Members

- Public Attributes inherited from BoxIS
bool expand
 Set to expand the box contents. More...
 
bool fill
 Set to fill the box. More...
 
bool start
 Set to pack the start. More...
 
- Protected Attributes inherited from Widget
GtkWidget * widget
 The container based widget. More...
 

Detailed Description

This class handels the alignment and overloads the Box type

Definition at line 26 of file Alignment.H.

Constructor & Destructor Documentation

Alignment::Alignment ( void  )
inline
Constructor sets the alignment and coverage
Parameters
xalignThe horizontal alignment
yalignThe vertical alignment
xscaleThe horizontal scaling in the box - how much the box will fill the space (1.0 for all)
yscaleThe vertical scaling in the box - how much the box will fill the space (1.0 for all)

Definition at line 40 of file Alignment.H.

Alignment::Alignment ( gfloat  xalign,
gfloat  yalign,
gfloat  xscale,
gfloat  yscale 
)
inline
Constructor sets the alignment and coverage
Parameters
xalignThe horizontal alignment
yalignThe vertical alignment
xscaleThe horizontal scaling in the box - how much the box will fill the space (1.0 for all)
yscaleThe vertical scaling in the box - how much the box will fill the space (1.0 for all)

Definition at line 50 of file Alignment.H.

Member Function Documentation

virtual void Alignment::pack ( GtkWidget *  obj)
inlineprivatevirtual

The function called to pack GTK widgets into the Alignment container.

Parameters
objThe GtkWidget to pack

Reimplemented from Box.

Definition at line 30 of file Alignment.H.

Here is the call graph for this function:

void Alignment::padding ( guint  padding_top,
guint  padding_bottom,
guint  padding_left,
guint  padding_right 
)
inline
sets the padding around the container
Parameters
padding_top
padding_bottom
padding_left
padding_right

Definition at line 70 of file Alignment.H.

void Alignment::set ( gfloat  xalign,
gfloat  yalign,
gfloat  xscale,
gfloat  yscale 
)
inline
sets the alignment and coverage
Parameters
xalignThe horizontal alignment
yalignThe vertical alignment
xscaleThe horizontal scaling in the box - how much the box will fill the space (1.0 for all)
yscaleThe vertical scaling in the box - how much the box will fill the space (1.0 for all)

Definition at line 60 of file Alignment.H.


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