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

sptkMenuBar Class Reference

#include <sptkmenubar.h>

Inheritance diagram for sptkMenuBar:

sptkBar sptkObject List of all members.

Public Member Functions

unsigned int addMenu (std::string title)
unsigned int addMenu (unsigned int preID)
unsigned int addItem (std::string title, unsigned int menu)
unsigned int addItem (unsigned int preID, unsigned int menu)

Detailed Description

Author:
Sven Broenstrup


Member Function Documentation

unsigned int sptkMenuBar::addItem unsigned int    preID,
unsigned int    menu
 

Add an predefined item to a menu.

Parameters:
preID ID of the predefined item as declared in sptkid.h
menu ID of the Menu generated by sptkMenuBar::addMenu

unsigned int sptkMenuBar::addItem std::string    title,
unsigned int    menu
 

Add an Item to a menu.

Parameters:
title Title of the item
menu ID of the Menu generated by sptkMenuBar::addMenu

unsigned int sptkMenuBar::addMenu unsigned int    preID
 

Add a predefined menu to the sptkMenuBar

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

unsigned int sptkMenuBar::addMenu std::string    title
 

Add a menu to the sptkMenuBar

Parameters:
title Title of the menu


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