Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ndk::menu< DirectT > Class Template Reference

Inheritance diagram for ndk::menu< DirectT >:

Inheritance graph
Collaboration diagram for ndk::menu< DirectT >:

Collaboration graph
List of all members.

Public Member Functions

 menu (panel *parent=0)
void add (const std::string &name, const button_command &action)

Private Types

typedef lister< DirectT > base_type

Private Member Functions

virtual void at_run ()
virtual void adjust_size (button *)

template<class DirectT>
class ndk::menu< DirectT >

Member Typedef Documentation

template<class DirectT>
typedef lister<DirectT> ndk::menu< DirectT >::base_type [private]

< General engine for the both horizonal and vertical menus

Reimplemented in ndk::popup_menu, and ndk::menu_bar.

Constructor & Destructor Documentation

template<class DirectT>
ndk::menu< DirectT >::menu panel parent = 0  )  [inline]

append to menus both name of the item and appropriate action

Member Function Documentation

template<class DirectT>
void ndk::menu< DirectT >::add const std::string &  name,
const button_command action

template<class DirectT>
virtual void ndk::menu< DirectT >::adjust_size button  )  [inline, private, virtual]

adjust size of the widget

Reimplemented in ndk::popup_menu.

template<class DirectT>
virtual void ndk::menu< DirectT >::at_run  )  [inline, private, virtual]

menu specific on-click action

Reimplemented in ndk::popup_menu.

The documentation for this class was generated from the following file:
Generated on Fri Jun 4 16:20:58 2004 for NDK++ by doxygen 1.3.6