Adobe Systems Incorporated

menu_system_t Class Reference

#include <menu_system.hpp>

List of all members.

Public Types

typedef boost::signals::connection connection_t
typedef boost::function< void()> item_callback_t
enum  modifier_set_t {
  modifier_none_k, modifier_option_k, modifier_alt_k, modifier_control_k,

Public Member Functions

void enable_menu_item (name_t name, bool enabled)
void insert_item (name_t parent_name, name_t name, boost::uint16_t cmd_key=0, modifier_set_t modifier_set=modifier_none_k)
void insert_menu (name_t name)
void insert_separator (name_t parent_name)
void mark_menu_item (name_t name, bool marked)
 menu_system_t ()
connection_t monitor_menu_item (name_t name, const item_callback_t &callback)
void remove (name_t name)
 ~menu_system_t ()

Detailed Description

Definition at line 30 of file menu_system.hpp.

Member Typedef Documentation

typedef boost::signals::connection connection_t

Definition at line 43 of file menu_system.hpp.

typedef boost::function<void ()> item_callback_t

Definition at line 42 of file menu_system.hpp.

Member Enumeration Documentation


Definition at line 33 of file menu_system.hpp.

Constructor & Destructor Documentation

~menu_system_t (  )

Member Function Documentation

void enable_menu_item ( name_t  name,
bool  enabled 
void insert_item ( name_t  parent_name,
name_t  name,
boost::uint16_t  cmd_key = 0,
modifier_set_t  modifier_set = modifier_none_k 
void insert_menu ( name_t  name )
void insert_separator ( name_t  parent_name )
void mark_menu_item ( name_t  name,
bool  marked 
connection_t monitor_menu_item ( name_t  name,
const item_callback_t callback 
void remove ( name_t  name )

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google