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
EventBox Class Reference

#include <EventBox.H>

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

Public Member Functions

 EventBox (void)
 
void setBackgroundColour (GdkColor *colour, GtkStateType state=GTK_STATE_NORMAL)
 
void setBackgroundColour (const char *colourName, GtkStateType state=GTK_STATE_NORMAL)
 
void setAboveChild (bool aboveChild)
 
void setVisibleWindow (bool visible)
 
- 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

Definition at line 23 of file EventBox.H.

Constructor & Destructor Documentation

EventBox::EventBox ( void  )
inline
Constructor

defaults to children below with a visible window

Definition at line 36 of file EventBox.H.

Here is the call graph for this function:

Member Function Documentation

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

The function called to pack GTK widgets into the event box. Overloads Box::pack

Parameters
objThe GtkWidget to add to the container

Reimplemented from Box.

Definition at line 28 of file EventBox.H.

void EventBox::setAboveChild ( bool  aboveChild)
inline
Whether to set the event box above it's children
Parameters
aboveChildif true, then set above the children, false will set it below.

Definition at line 63 of file EventBox.H.

Here is the caller graph for this function:

void EventBox::setBackgroundColour ( GdkColor *  colour,
GtkStateType  state = GTK_STATE_NORMAL 
)
inline
set the background colour of the top window
Parameters
colourThe GdkColour to change the background to
stateThe colour for a particular state. Defaults to GTK_STATE_NORMAL

Definition at line 46 of file EventBox.H.

Here is the caller graph for this function:

void EventBox::setBackgroundColour ( const char *  colourName,
GtkStateType  state = GTK_STATE_NORMAL 
)
inline
set the background colour of the top window
Parameters
colourNameThe name of the colour to use. e.g. "white"
stateThe colour for a particular state. Defaults to GTK_STATE_NORMAL

Definition at line 54 of file EventBox.H.

Here is the call graph for this function:

void EventBox::setVisibleWindow ( bool  visible)
inline
Whether the event box is visible (can change background and so on)
Parameters
visibletrue to show, false to hide

Definition at line 70 of file EventBox.H.

Here is the caller graph for this function:


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