VDKToolbar Class Reference

Provides a GtkToobar wrapper. More...

#include <toolbar.h>

Inheritance diagram for VDKToolbar:

VDKObjectContainer VDKObject VDKNotCopyAble List of all members.

Public Member Functions

Public Attributes


Detailed Description

Provides a GtkToobar wrapper.

SIGNALS
EXAMPLES
In ./testvdk/tbarwin.cc


Constructor & Destructor Documentation

VDKToolbar::VDKToolbar ( VDKForm owner,
GtkOrientation  orientation = GTK_ORIENTATION_HORIZONTAL 
)

Constructor.

Parameters:
owner 
orientation see Orientation() property

virtual VDKToolbar::~VDKToolbar (  )  [inline, virtual]

Destructor


Member Function Documentation

virtual void VDKToolbar::Add ( VDKObject obj,
int  ,
int  ,
int  ,
int   
) [inline, virtual]

Adds an object to toolbar

Parameters:
obj object to be added
others ignored

Reimplemented from VDKObjectContainer.

void VDKToolbar::AddWidget ( VDKObject widget,
char *  tip = NULL 
)

Adds an object to toolbar

Parameters:
obj object to be added
tip 

void VDKToolbar::AddButton ( char **  pixdata,
char *  tip = NULL,
char *  text = NULL 
)

Adds a button to toolbar

Parameters:
pixdata 
tip assigned tip
text assigned label

void VDKToolbar::AddButton ( char *  pixfile,
char *  tip = NULL,
char *  text = NULL 
)

Adds a button to toolbar

Parameters:
pixfile 
tip assigned tip
text assigned label

void VDKToolbar::AddSpace (  )  [inline]

Add a space to toolbar


Member Data Documentation

VDKReadOnlyValueProp<VDKToolbar, ToolWidgetList*> VDKToolbar::WidgetList

Returns a list of VDKObject* other than buttons inserted into toolbar

VDKReadOnlyValueProp<VDKToolbar, GtkWidgetList*> VDKToolbar::ButtonList

Returns a list of GtkWidget* inserted into toolbar

VDKReadOnlyValueProp<VDKToolbar, int> VDKToolbar::ButtonPressed

Returns ordinal number of pressed button after a clicked_signal

VDKReadWriteValueProp<VDKToolbar, GtkOrientation> VDKToolbar::Orientation

Returns toolbar orientation, defaults to GTK_ORIENTATION_HORIZONTAL. Can be:

VDKReadWriteValueProp<VDKToolbar, GtkToolbarStyle> VDKToolbar::Style

Sets/gets toolbar style, defaults to GTK_TOOLBAR_ICONS. Can be:

VDKReadWriteValueProp<VDKToolbar, GtkToolbarSpaceStyle> VDKToolbar::SpaceStyle

Sets/gets toolbar space style,defaults to: GTK_TOOLBAR_SPACE_LINE. Can be:

VDKReadWriteValueProp<VDKToolbar, bool> VDKToolbar::Borderless

Sets/gets border flag, defaults to true.

VDKReadWriteValueProp<VDKToolbar, GtkReliefStyle> VDKToolbar::Relief

Sets/gets button relief, defaults to: GTK_RELIEF_NONE. Can be:

VDKReadWriteValueProp<VDKToolbar, int> VDKToolbar::Spacing

Sets/gets spacing between buttons.


The documentation for this class was generated from the following files:
Generated on Fri Nov 10 15:11:28 2006 for vdk 2.4.0 by  doxygen 1.5.1