Describes one element of the context menu associated to a class
The menu item may describe
- a separator,
- standard list of methods i.e. the methods defined in
the described class by a *MENU* in the comment field
of the header,
- a method of an external class or a global function
All the standard methods of the class are described by only
one item. Since a complete context menu is described by a TList of
TClassMenuItem elements, it is possible to customize the context
menu of a class by removing the element "standard methods" and
replacing it by whatever one wants.

TClassMenuItem ctor. TClassMenuItems are constructed in TClass
with a standard content but may be customized later
type = 0 : external method/function
type = 1 : separator
type = 2 : standard methods list
self indicates if the object to be called is the one selected
by the popup menu
selfobjposition, if non zero, indicates the position in the arguments
list of the argument corresponding to the selected (clicked) object.
This argument in the calling method should be a TObject*

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.