Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

1 view
Skip to first unread message

shyam

unread,
Oct 31, 2007, 8:44:57 AM10/31/07
to
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

0 new messages