This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cascade menus


On Fri, 25 Jul 2003 16:52:53 +0100
"David Mc Kenna" <mckennad@esatclear.ie> wrote:
> 
> 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
                       ^^^^^^^^^^^
Shouldn't that read:
   $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
                          ^^^^^^^^^^
And this read:
       $Menu add cascade $Menu.hello memem 0

Ian.

>   $Menu.hello add command Other "TIMER Control" \
>     {ManagedWin::open TIMER} \
>     -underline 0  
> 
> but what happens is that the plugin menu disappears altogether.
> 
> Any Thoughts,? 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]