Finn Sando
2003-Dec-08 16:56 UTC
[R] WinMenus - is there a way of knowing if a WinMenu or WinMenuItem already exists?
I am developing a menusystem using the functions WinMenuAdd and WinMenuAddItem etc. I want to be able to shift between different interfaces (ie. different sets of menu-trees). Therefore I would like to be able to ask whether a specific menu already exists in order to remove or add it Without errors. That is I am looking for something like: WinMenuExist(menuname) and WinMenuExistItem(menuname,itemname) Are there any way asking such question of R? -- Finn
Prof Brian D Ripley
2003-Dec-08 17:05 UTC
[R] WinMenus - is there a way of knowing if a WinMenu or WinMenuItem already exists?
On Mon, 8 Dec 2003, Finn Sando wrote:> I am developing a menusystem using the functions WinMenuAdd and > WinMenuAddItem etc. > > I want to be able to shift between different interfaces (ie. different sets of menu-trees). > Therefore I would like to be able to ask whether a specific menu already exists in order > to remove or add it Without errors. That is I am looking for something like: > > WinMenuExist(menuname) and WinMenuExistItem(menuname,itemname) > > Are there any way asking such question of R?No. But you could contribute such functionality. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595