whats the path of menu entries within the menubar of a minwindow ( Iwidgets )



Hi All

I have a simple menubar within the mainwindow as follows, this is
using Iwidgets

iwidgets::mainwindow .mw

.mw menubar add menubutton file -text "File" -underline 0 -menu {

command load -label "Load" -command { loadCmd }

command unload -label "Unload" -command { unloadCmd }

separator sep1

command exit -label "Exit" -command { exit }

}

Now i could figure out the path of the File menu using
..mw menubar component file command

and I could figure out the path of the contained menu as

..mw.shellchildsite.menubar.menubar.file.menu

But I am unable t figure out the paths of the menu entries load,
unload and exit .

What is the command for getting them or is there and standard naming
convension for them ??

Thanks in advance

.


Quantcast