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 | Protected Member Functions | List of all members
Container Class Reference

#include <Container.H>

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

Public Member Functions

GtkWidget * getWidget (void)
 
GtkWidget * show (void)
 
GtkWidget * hide (void)
 
void setBorder (unsigned int size)
 
unsigned int getBorder (void)
 
Containeroperator<< (Container &b)
 
Containeroperator<< (Container *b)
 
virtual Containeroperator<< (GtkWidget *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)
 

Protected Member Functions

virtual void pack (GtkWidget *obj)
 

Additional Inherited Members

- Protected Attributes inherited from Widget
GtkWidget * widget
 The container based widget. More...
 

Detailed Description

Container

Base class for those which inherit from the Container

Definition at line 28 of file Container.H.

Member Function Documentation

unsigned int Container::getBorder ( void  )
inline
Get the border size of the container class
Returns
the size of the border

Definition at line 70 of file Container.H.

GtkWidget* Container::getWidget ( void  )
inline

Method to get the GtkWidget

Returns
box The box GtkWidget

Definition at line 41 of file Container.H.

Here is the caller graph for this function:

GtkWidget* Container::hide ( void  )
inline

Method to hide the box.

Returns
box the GtkWidget* to the box

Definition at line 55 of file Container.H.

Container& Container::operator<< ( Container b)
inline

Operator to pack a different box in this box

Parameters
bThe box to add.
Returns
Returns a Container reference for further processing.

Definition at line 78 of file Container.H.

Here is the call graph for this function:

Here is the caller graph for this function:

Container& Container::operator<< ( Container b)
inline

Operator to pack a pointed to box in this box

Parameters
bA pointer to the box to add.
Returns
Returns a Container reference for further processing.

Definition at line 86 of file Container.H.

Here is the call graph for this function:

virtual Container& Container::operator<< ( GtkWidget *  b)
inlinevirtual

Pack a GtkWidget into the box.

Parameters
bA pointer to the GtkWidget to pack.
Returns
Returns a Container reference for further processing.

Reimplemented in Box, and Table.

Definition at line 94 of file Container.H.

Here is the call graph for this function:

Container& Container::operator<< ( LinkList< GtkWidget * > &  ll)
inline

Pack a GtkWidget into the box.

Parameters
llA LinkList of GtkWidget* for packing from the first to the last
Returns
Returns a Container reference for further processing.

Definition at line 103 of file Container.H.

Container& Container::operator>> ( GtkWidget *  b)
inline

Unpack a widget from the box. Note that removal of the widget can destroy it if the only reference is the box.

Parameters
bThe widget to be unpacked from the box.
Returns
Returns a Container reference for further processing.

Definition at line 115 of file Container.H.

Here is the caller graph for this function:

Container& Container::operator>> ( Container b)
inline

Unpack a box pointer from the box. Note that removal of the widget can destroy it if the only reference is the box.

Parameters
bThe pointer to the box to be unpacked from the box.
Returns
Returns a Container reference for further processing.

Definition at line 125 of file Container.H.

Here is the call graph for this function:

Container& Container::operator>> ( Container b)
inline

Unpack a box from the box. Note that removal of the widget can destroy it if the only reference is the box.

Parameters
bThe pointer to the box to be unpacked from the box.
Returns
Returns a Container reference for further processing.

Definition at line 135 of file Container.H.

Here is the call graph for this function:

virtual void Container::pack ( GtkWidget *  obj)
inlineprotectedvirtual

Should be overloaded by inheriting classes if it has more sophisticated paching techniques, such as Box

Reimplemented in Box, Alignment, and EventBox.

Definition at line 33 of file Container.H.

Here is the caller graph for this function:

void Container::setBorder ( unsigned int  size)
inline
Set the border size of the container class
Parameters
sizethe size of the border

Definition at line 63 of file Container.H.

GtkWidget* Container::show ( void  )
inline

Method to show the box.

Returns
box the GtkWidget* to the box

Definition at line 48 of file Container.H.

Here is the caller graph for this function:


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