12 #include <sigc++/sigc++.h>
29 std::vector<CSGAction*>::iterator it_act;
31 if ((*it_act)->getName() ==
name)
45 std::vector<CSGAction*>::iterator it_act;
48 (*it_act)->globalEnable();
50 (*it_act)->globalDisable();
55 std::vector<CSGAction*>::iterator it_act;
57 if (entry == (*it_act)->getMenuEntry()) {
58 (*it_act)->activated.emit();
66 std::vector<CSGAction*>::iterator it_act;
68 if ((*it_act)->getToolBarData() && (*it_act)->getToolBarData()->fId ==
entry) {
69 (*it_act)->activated.emit();
79 std::vector<CSGAction*>::iterator it_act;
81 if ((*it_act)->getMenu() == menu && (*it_act)->getKeycode() != 0) {
82 (*it_act)->resizeMenuEntry();
virtual void enableActions(bool enable=true)
Bool_t activateMenuEntry(int entry)
void resizeMenu(TGPopupMenu *menu)
void addToActionMap(CSGAction *action)
std::vector< CSGAction * > m_actionList
Long_t getToolTipDelay() const
virtual void defaultAction()
virtual ~CSGActionSupervisor()
CSGAction * getAction(const std::string &name)
const std::vector< CSGAction * > & getListOfActions() const
Bool_t activateToolBarEntry(int entry)
virtual void HandleMenu(Int_t id)