For special application, the entries of the menu can be other object than strings. The engine can only draw item that are strings, so yo should provide a function to draw the item. A such function should have the folowing type:
The parameters of the function are:
An exemple of this type of use is the "home" menu of HibView. This menu show the variables of the Ti as a tree. In fact, the !tab! used for this menu is a table of !HSym!. Then, to draw correctly the name of the variable, and further more some additionnal informations of the selected object, the folowing drawing function is passed to the menu engine.