#include <omgui/menubar.h>
Inherits omgui::Object.
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_type * | get_impl () const |
void | release () |
~MenuBar () | |
Static Public Member Functions | |
static MenuBar * | create (object_id id=OBJECT_ID_ANY) |
Protected Member Functions | |
MenuBar (object_id id, api_type *impl) | |
MenuBar (object_id id) | |
Private Attributes | |
api_type * | m_impl |
omgui::MenuBar::MenuBar | ( | object_id | id | ) | [protected] |
omgui::MenuBar::~MenuBar | ( | ) |
void omgui::MenuBar::add_ref | ( | ) | [inline, virtual] |
Implements omgui::RefCountable.
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.
MenuBar * omgui::MenuBar::create | ( | object_id | id = OBJECT_ID_ANY |
) | [static] |
Creates a MenuBar
object_id omgui::Object::get_id | ( | ) | const [inherited] |
MenuBar::api_type * omgui::MenuBar::get_impl | ( | ) | const |
void omgui::MenuBar::release | ( | ) | [inline, virtual] |
Implements omgui::RefCountable.
api_type* omgui::MenuBar::m_impl [private] |