From murdoch at stats.uwo.ca  Mon Aug 16 17:30:50 2004
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Mon Aug 16 17:30:49 2004
Subject: [Rd] Bug or feature in winMenuDel?
In-Reply-To: <po5qh0tcc28i1lnc8iidmr58dmniged010@4ax.com>
References: <po5qh0tcc28i1lnc8iidmr58dmniged010@4ax.com>
Message-ID: <nnk1i0pj7np6n7ccp3v9qla8mnvsbsonkm@4ax.com>

On Fri, 13 Aug 2004 15:37:28 -0400, Duncan Murdoch
<murdoch@stats.uwo.ca> wrote :

>I just noticed the following in Rgui:
>
>> winMenuAdd('test')       # adds a menu
>> winMenuAddItem('test', 'item', 'x')  # adds an item to it
>> winMenuDel('test')        # deletes the menu...
>> winMenuItems('test')        # but leaves the item behind.
>item 
> "x" 
>
>Would anyone object if I changed winMenuDel so that it deleted the
>menu and any items or submenus in it as well?  

I made this change in r-devel, along with some other ones that allow
items to be added to the popups and the graph window menus as well as
the standard ones.

Duncan Murdoch


[Rd] Bug or feature in winMenuDel?
Duncan Murdoch