GTK+ IOStream
Beta
<< GTK+ >> add C++ IOStream operators to GTK+. Now with extra abilities ... like network serialisation
|
#include <Box.H>
Public Member Functions | |
Box (void) | |
constructor More... | |
Box & | operator<< (BoxIS bis) |
destructor destroys the widget to neatly cleanup. More... | |
Box & | operator<< (Box &b) |
Box & | operator<< (Box *b) |
Box & | operator<< (Container &b) |
Box & | operator<< (Container *b) |
Box & | operator<< (GtkWidget *b) |
Box & | operator<< (LinkList< GtkWidget * > &ll) |
Box & | operator>> (GtkWidget *b) |
Box & | operator>> (Container *b) |
Box & | operator>> (Container &b) |
void | connectAfter (const char *event, GCallback callback, gpointer data) |
Box & | operator= (const Box b) |
![]() | |
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) |
BoxIS & | operator= (BoxIS &bis) |
BoxIS & | operator= (const BoxIS bis) |
void | dump (void) |
![]() | |
GtkWidget * | getWidget (void) |
GtkWidget * | show (void) |
GtkWidget * | hide (void) |
void | setBorder (unsigned int size) |
unsigned int | getBorder (void) |
Container & | operator<< (Container &b) |
Container & | operator<< (Container *b) |
Container & | operator<< (LinkList< GtkWidget * > &ll) |
Container & | operator>> (GtkWidget *b) |
Container & | operator>> (Container *b) |
Container & | operator>> (Container &b) |
![]() | |
virtual | ~Widget () |
Destructor. More... | |
GtkWidget * | ref (void) |
void | unref (void) |
Protected Member Functions | |
virtual void | pack (GtkWidget *obj) |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
GtkWidget * | widget |
The container based widget. More... | |
This class implements the foundation for both horizontal and vertical boxes.
|
inline |
destructor destroys the widget to neatly cleanup.
Operator to adjust the expand and fill values. This operator sets the expand and fill to either 0 or 1 and is used as follows << BoxIS(expandVal, fillVal).
bis | The box input stream variables to set expand and fill as. |
Definition at line 181 of file Box.H.
Align the box : this is a bad idea, as it requires
a | The alignment class |
Operator to pack a different box in this box
b | The box to add. |
Definition at line 199 of file Box.H.
|
inlinevirtual |
|
inline |
Unpack a box pointer from the box. Note that removal of the widget can destroy it if the only reference is the box.
b | The pointer to the box to be unpacked from the box. |
Definition at line 260 of file Box.H.
Unpack a box from the box. Note that removal of the widget can destroy it if the only reference is the box.
b | The pointer to the box to be unpacked from the box. |
Definition at line 270 of file Box.H.
|
inlineprotectedvirtual |
The function called to pack GTK widgets into the box. Once called, the default values for expand and fill are set. At each run, these values can be altered by using the << BoxIS(expand,fill) operator. Post packing, these values are reset.
obj | The GtkWidget to pack |
Reimplemented from Container.
Reimplemented in Alignment, and EventBox.
Definition at line 157 of file Box.H.