NCBI C++ ToolKit
|
#include <corelib/ncbistd.hpp>
#include <unordered_map>
#include <gui/gui_export.h>
#include <gui/utils/ui_object.hpp>
#include <gui/utils/command.hpp>
#include <gui/widgets/wx/fixed_base.hpp>
#include <wx/menuitem.h>
#include <wx/event.h>
#include <wx/menu.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CUICommand |
CUICommand. More... | |
struct | SwxCommandRec |
class | CUICommandRegistry |
CUICommandRegistry is a centralized registry where all application commands should be registered. More... | |
struct | SwxMenuItemRec |
class | IUICommandContributor |
IUICommandContributor - contributes commands to the common command space. More... | |
class | IMenuContributor |
IMenuContributor - contributes menu to Menu Service. More... | |
class | IToolBarContributor |
IToolBarContributor - a factory that produces toolbars. More... | |
#define WX_DEFINE_MENU | ( | name | ) |
New macros for defining menus for use with CUICommandRegistry.
Definition at line 266 of file ui_command.hpp.
#define WX_END_MENU | ( | ) |
Definition at line 294 of file ui_command.hpp.
#define WX_END_SUBMENU | ( | ) | { SwxMenuItemRec::eSubmenu, "", eCmdInvalid, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eBoth }, |
Definition at line 291 of file ui_command.hpp.
#define WX_MENU_CHECK_ITEM | ( | cmd | ) | { SwxMenuItemRec::eCheckItem, "", cmd, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eBoth }, |
Definition at line 276 of file ui_command.hpp.
#define WX_MENU_CHECK_ITEM_EXT | ( | cmd | ) | { SwxMenuItemRec::eCheckItem, "", cmd, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eExternal }, |
Definition at line 330 of file ui_command.hpp.
#define WX_MENU_CHECK_ITEM_INT | ( | cmd | ) | { SwxMenuItemRec::eCheckItem, "", cmd, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eInternal }, |
Definition at line 308 of file ui_command.hpp.
#define WX_MENU_ITEM | ( | cmd | ) | { SwxMenuItemRec::eDefaultItem, "", cmd, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eBoth }, |
Definition at line 270 of file ui_command.hpp.
#define WX_MENU_ITEM_EXT | ( | cmd | ) | { SwxMenuItemRec::eDefaultItem, "", cmd, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eExternal }, |
Definition at line 324 of file ui_command.hpp.
#define WX_MENU_ITEM_INT | ( | cmd | ) | { SwxMenuItemRec::eDefaultItem, "", cmd, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eInternal }, |
Definition at line 302 of file ui_command.hpp.
#define WX_MENU_NORMAL_ITEM | ( | cmd | ) | { SwxMenuItemRec::eNormalItem, "", cmd, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eBoth }, |
Definition at line 273 of file ui_command.hpp.
#define WX_MENU_NORMAL_ITEM_EXT | ( | cmd | ) | { SwxMenuItemRec::eNormalItem, "", cmd, SwxMenuItemRec::eDefaultItem. SwxMenuItemRec::eExternal }, |
Definition at line 327 of file ui_command.hpp.
#define WX_MENU_NORMAL_ITEM_INT | ( | cmd | ) | { SwxMenuItemRec::eNormalItem, "", cmd, SwxMenuItemRec::eDefaultItem. SwxMenuItemRec::eInternal }, |
Definition at line 305 of file ui_command.hpp.
#define WX_MENU_RADIO_ITEM | ( | cmd | ) | { SwxMenuItemRec::eRadioItem, "", cmd, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eBoth }, |
Definition at line 279 of file ui_command.hpp.
#define WX_MENU_RADIO_ITEM_EXT | ( | cmd | ) | { SwxMenuItemRec::eRadioItem, "", cmd, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eExternal }, |
Definition at line 333 of file ui_command.hpp.
#define WX_MENU_RADIO_ITEM_INT | ( | cmd | ) | { SwxMenuItemRec::eRadioItem, "", cmd, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eInternal }, |
Definition at line 311 of file ui_command.hpp.
#define WX_MENU_SEPARATOR | ( | ) | { SwxMenuItemRec::eSeparator, "", eCmdNone, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eBoth }, |
Definition at line 282 of file ui_command.hpp.
#define WX_MENU_SEPARATOR_EXT | ( | ) | { SwxMenuItemRec::eSeparator, "", eCmdNone, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eExternal }, |
Definition at line 336 of file ui_command.hpp.
#define WX_MENU_SEPARATOR_INT | ( | ) | { SwxMenuItemRec::eSeparator, "", eCmdNone, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eInternal }, |
Definition at line 314 of file ui_command.hpp.
#define WX_MENU_SEPARATOR_L | ( | label | ) | { SwxMenuItemRec::eSeparator, label, eCmdNone, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eBoth }, |
Definition at line 285 of file ui_command.hpp.
#define WX_MENU_SEPARATOR_L_EXT | ( | label | ) | { SwxMenuItemRec::eSeparator, label, eCmdNone, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eExternal }, |
Definition at line 339 of file ui_command.hpp.
#define WX_MENU_SEPARATOR_L_INT | ( | label | ) | { SwxMenuItemRec::eSeparator, label, eCmdNone, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eInternal }, |
Definition at line 317 of file ui_command.hpp.
#define WX_SUBMENU | ( | label | ) | { SwxMenuItemRec::eSubmenu, label, eCmdNone, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eBoth }, |
Definition at line 288 of file ui_command.hpp.
#define WX_SUBMENU_EXT | ( | label | ) | { SwxMenuItemRec::eSubmenu, label, eCmdNone, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eExternal }, |
Definition at line 321 of file ui_command.hpp.
#define WX_SUBMENU_INT | ( | label | ) | { SwxMenuItemRec::eSubmenu, label, eCmdNone, SwxMenuItemRec::eDefaultItem, SwxMenuItemRec::eInternal }, |
Definition at line 299 of file ui_command.hpp.