gtkIOStream
1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
|
#include <Box.H>
Public Types | |
enum | { EXPAND =1, FILL =2, START =4, RESET =8, END =16, NOFILL =32, NOEXPAND =64 } |
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<< (int val) |
Box & | operator<< (Box *b) |
Box & | operator<< (Container &b) |
Box & | operator<< (Container *b) |
Box & | operator<< (GtkWidget *b) |
Box & | operator<< (Widget *w) |
Box & | operator<< (Widget &w) |
Box & | operator<< (LinkList< GtkWidget *> &ll) |
Box & | operator>> (GtkWidget *b) |
Box & | operator>> (Container *b) |
Box & | operator>> (Container &b) |
Box & | operator= (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) |
BoxIS & | operator= (BoxIS &bis) |
BoxIS & | operator= (const BoxIS bis) |
void | dump (void) |
Public Member Functions inherited from Container | |
void | setBorder (unsigned int size) |
unsigned int | getBorder (void) |
Container & | operator<< (Container &c) |
Container & | operator<< (Container *c) |
Container & | operator<< (Widget &w) |
Container & | operator<< (Widget *w) |
Container & | operator<< (LinkList< GtkWidget *> &ll) |
Container & | operator>> (GtkWidget *w) |
Container & | operator>> (Container *c) |
Container & | operator>> (Container &c) |
Container & | operator>> (LinkList< GtkWidget *> &ll) |
void | setChildrensSensitivity (bool sens) |
bool | areAnyChildrensSensitive (void) |
unsigned int | size () |
Public Member Functions inherited from Widget | |
Widget () | |
Construcotr. More... | |
Widget (GtkWidget *w) | |
virtual | ~Widget () |
Destructor. More... | |
GtkWidget * | ref (void) |
void | unref (void) |
GtkWidget * | show (void) |
GtkWidget * | hide (void) |
bool | getVisible (void) |
GtkWidget * | getWidget (void) |
bool | getSensitive (void) |
void | setSensitive (bool sens) |
void | getSize (int &width, int &height) |
virtual void | setSize (int width, int height) |
void | getLocationSize (int &x, int &y, int &width, int &height) |
void | queueDraw () |
GdkWindow * | getWindow () |
void | connect (const char *event, GCallback callback, gpointer data) |
void | connectAfter (const char *event, GCallback callback, gpointer data) |
void | connectExposeEventCallback (GCallback callback, void *data) |
void | connectExposeEventCallback (GtkWidget *w, GCallback callback, void *data) |
void | connectConfigureEventCallback (GCallback callback, void *data) |
void | connectConfigureEventCallback (GtkWidget *w, GCallback callback, void *data) |
Widget & | operator<< (DragNDrop &dnd) |
Widget & | operator>> (DragNDrop &dnd) |
Protected Member Functions | |
virtual void | pack (GtkWidget *obj) |
Protected Member Functions inherited from Widget | |
virtual bool | checkDropValidity (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData) |
virtual bool | dragDataReceived (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData, int length) |
virtual void | dragLeave (GtkWidget *w, GtkWidget *sourceWidget) |
virtual bool | dragMotion (GtkWidget *w, GtkWidget *sourceWidget, int x, int y) |
virtual int | chooseTheTargetToUse (GtkWidget *w, GtkWidget *sourceWidget, DragNDrop &dnd) |
virtual void | dragDataGet (GtkWidget *w, GtkSelectionData *selectionData, guint info) |
virtual void | dragDataDelete (GtkWidget *w) |
virtual void | dragBegin (GtkWidget *w) |
virtual void | dragEnd (GtkWidget *w) |
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... | |
This class implements the foundation for both horizontal and vertical boxes.
anonymous enum |
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 188 of file Box.H.
|
inline |
Operator to change one of the packing values : EXPAND, FILL, START, RESET, END, NOFILL, NOEXPAND
You can use like so : Box()<<EXPAND|START
NOTE: Using opposites is undefined, e.g. : Box()<<START|END
val | One of : EXPAND, FILL, START, RESET, END, NOFILL, NOEXPAND |
Definition at line 218 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 313 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 323 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.
GTK+ IOStream
Beta
|