omgui::MenuBar Class Reference

#include <omgui/menubar.h>

Inherits omgui::Object.

List of all members.


Detailed Description

Represents a collection of Menus

Public Types

typedef omgui::api::MenuBar api_type

Public Member Functions

void add_ref ()
void append_menu (Menu *menu, const string &title)
object_id get_id () const
api_typeget_impl () const
void release ()
 ~MenuBar ()

Static Public Member Functions

static MenuBarcreate (object_id id=OBJECT_ID_ANY)

Protected Member Functions

 MenuBar (object_id id, api_type *impl)
 MenuBar (object_id id)

Private Attributes

api_typem_impl

Member Typedef Documentation


Constructor & Destructor Documentation

omgui::MenuBar::MenuBar ( object_id  id  )  [protected]

Note:
This constructor is implemented by the current platform

omgui::MenuBar::MenuBar ( object_id  id,
api_type impl 
) [protected]

omgui::MenuBar::~MenuBar (  ) 


Member Function Documentation

void omgui::MenuBar::add_ref (  )  [inline, virtual]

Implements omgui::RefCountable.

void omgui::MenuBar::append_menu ( Menu menu,
const string title 
)

Appends a Menu to the end of the MenuBar with the given title. The title of the menu can contain mnemonic character just like the label for a MenuItem. For information about mnemonic characters, see the documentation for MenuItem.

See also:
omgui::MenuItem

MenuBar * omgui::MenuBar::create ( object_id  id = OBJECT_ID_ANY  )  [static]

Creates a MenuBar

object_id omgui::Object::get_id (  )  const [inherited]

Returns:
This object's unique identifier

Reimplemented in omgui::MenuItem.

MenuBar::api_type * omgui::MenuBar::get_impl (  )  const

void omgui::MenuBar::release (  )  [inline, virtual]

Implements omgui::RefCountable.


Member Data Documentation


doxygen SourceForge.net Logo