|
| uiVisMenuItemHandler (const char *classnm, uiVisPartServer &, const uiString &mnutext, const CallBack &cb, const char *parenttext=0, int placement=-1) |
|
int | getDisplayID () const |
|
Public Member Functions inherited from MenuItemHandler |
| MenuItemHandler (MenuHandler &, const uiString &nm, const CallBack &, const char *parenttxt=0, int placement=-1) |
|
| ~MenuItemHandler () |
|
void | setIcon (const char *fnm) |
|
| CallBacker () |
|
| CallBacker (const CallBacker &) |
|
virtual | ~CallBacker () |
|
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
|
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
|
void | detachCB (NotifierAccess &, const CallBack &) |
|
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
|
bool | isNotifierAttached (NotifierAccess *) const |
| Only for debugging purposes, don't use. More...
|
|
Adds a menu-item to a visual object's right-click menu. Menu item will be added to all visual objects of a certain type.
Usage example:
vispartserver_, tr("My menu text"),
mCB(
this,MyClass,myFuncCB) );