Message-ID: <Pine.SOL.4.20.0402172058530.10746-100000@santiam.dfci.harvard.edu>
Date: 2004-02-18T02:00:36Z
From: Jeff Gentry
Subject: Test for pre-existing Win menu or item
In-Reply-To: <6.0.1.1.1.20040218095902.029527a8@imaphost.wehi.edu.au>
> Before using winMenuAdd(), is it possible to test whether the menu already
> exists? One could use try(winMenuAddItem()) with appropriate arguments, but
> is there anything more elegant?
winMenuNames() and winMenuItems() should give you the sort of information
you're looking for, tho they're in R-devel and not R-1.8.x.
-J