It is clear. I am working on it. -- Fons Brett Viren wrote: > > Hi again, > > I am worried that I was not clear enough about my question. What I > want to be able to do is to periodically either fully rebuild or > modify "in place" a TGPopupMenu which is attatched to a TGMenuBar. > > To modify a TGPopupMenu by deleting and rebuilding from scratch would > need methods like: > > TGPopupMenu* TGMenuBar::GetPopup(const char* title); > void TGMenuBar::RemovePopup(TGPopupMenu* menu); > > It would also be nice to edit the menu "in place". This would need > methods like: > > TGMenuEntry* TGPopupMenu::GetEntry(const char* title); > void TGPopupMenu::RemoveEntry(TGMenuEntry* entry); > void TGPopupMenu::InsertEntryAfter(TGMenuEntry* entry, > /* rest same args as AddEntry */); > > These exact interfaces aren't necessary, but I hope you get the idea. > > Is there currently some way to accomplish this that I am missing? > > -Brett. -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:08 MET