Skip to content
Back to formatted view

Raw Message

Message-ID: <34897.170.210.173.216.1055943820.squirrel@inter14.unsl.edu.ar>
Date: 2003-06-18T13:43:40Z
From: solares@unsl.edu.ar
Subject: menu

Hello, my question is on as doing a submenu, therefore in all the examples 
that saw alone is used tkmenu and a ready one is created  without 
possibility of a submenu
for example:
topmenu <- tkmenu (ventmenup) tkconfigure (ventmenup, menu = topmenu) 
archMenu <-tkmenu(topmenu,tearoff = FALSE) tkadd(archMenu,"command",label 
= "Abrir...",
 nd=abrir,accelerator="CTRL+A",underline=0)
tkadd(archMenu,"command",label = 
abrir...",command="",accelerator="CTRL+G",underline=0) tkadd tkadd
(archMenu,"separator")
chMenu,"command",label="Salir",command=functio() tkdestr y
(ventmenup),accelerator="CTRL+S",underline=0) 
tkadd(t menu,"cascade",label="Archivo",menu=archMenu)  

I have seen that in tcl the path is used to do the menu as a waterfall for 
example: set w .menu.file.save.saveas $w menu $w -tearoff 0 ?As I do in R a 
submenu
if I do not know the path of names to create a submenu as a cascade? . 
Sorry Ruben