[R] WinMenus - is there a way of knowing if a WinMenu or WinMenuItem already exists?

Prof Brian D Ripley ripley at stats.ox.ac.uk
Mon Dec 8 18:05:06 CET 2003


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




More information about the R-help mailing list