Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

sptkToolBar Class Reference

#include <sptktoolbar.h>

Inheritance diagram for sptkToolBar:

sptkBar sptkObject List of all members.

Public Member Functions

void setName (std::string name)
std::string getName ()
unsigned int addItem (std::string title)
unsigned int addItem (unsigned int preID)

Protected Attributes

std::string name
spdtListitems

Detailed Description

Author:
Sven Broenstrup


Member Function Documentation

unsigned int sptkToolBar::addItem unsigned int    preID
 

Add an predefined Item to the sptkToolBar.

Parameters:
preID ID of the predefined item as declared in sptkid.h

unsigned int sptkToolBar::addItem std::string    title
 

Add an Item to the sptkToolBar.

Parameters:
title Title of the Item

std::string sptkToolBar::getName  
 

Get the name of the sptkToolBar

Returns:
Name of the sptkToolBar

void sptkToolBar::setName std::string    name
 

Set the name of the toolbar; since you can use more than one sptkToolBar in the sptkRootPane it is usefull to name it like it functionality, eg. "File" or "Edit"

Parameters:
name Name of the sptkToolBar


Member Data Documentation

spdtList* sptkToolBar::items [protected]
 

A list of item objects.

std::string sptkToolBar::name [protected]
 

The name of the sptkToolBar.


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