This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Cascade menus
- From: "David Mc Kenna" <mckennad at esatclear dot ie>
- To: Keith Seitz <keiths at redhat dot com>, mckennad at esatclear dot ie, "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: Fri, 25 Jul 2003 16:52:53 +0100
- Subject: Re: Cascade menus
- Reply-to: mckennad at esatclear dot ie
Hi Keith,
I think it should be possible also but here is the problem:
The below code adds a "Timer Control" option under the PLUGINS menu. It successfully
launches a Test window with a list of memory addresses displayed.
$Menu add command Other "TIMER Control" \
{ManagedWin::open TIMER} \
-underline 0
My problem is that my chip, an ARM7TDMi has several different timers and I would
like to have them all grouped together as in Register->Format. So I tried
$Menu add menu Menu.hello memem 0
$Menu.hello add command Other "TIMER Control" \
{ManagedWin::open TIMER} \
-underline 0
and
$Menu add cascade Menu.hello memem 0
$Menu.hello add command Other "TIMER Control" \
{ManagedWin::open TIMER} \
-underline 0
but what happens is that the plugin menu disappears altogether.
Any Thoughts,?
Thanks,
Dave
--
http://www.iol.ie