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.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:08 MET