At 02:46 PM 11/02/1997 -0500, you wrote:
>
>As far as I understand, menus can be one of the following types:
>cascade, command, checkbutton, or radiobutton. I'll like to setup a
>menu button (or any clickable button that will give me the same
>effect) that, when pressed, will display a popup scrollable listbox of
>items to pick from (the list of items will be over 100 items long, and
>can change from button press to button press). I would like the
>scrollable listbox to be part of the same window as the button if at
>all possible. Is this possible using vt, and if so, how would you do
>it?
TRS.
I don't know about doing this with vTcl but I have a thought on how
to do it generally:
Create a button (or somthing like that).
when the button is clicked create a transiant toplevel and
put the listbox on it. set up sizes etc. and you're done. when
an option is picked from the listbox "wm withdraw" the toplevel until
next time.
Hope that helps.
BTW.
There are more kinds of menus (popup, and menubar (in tk8.0))
NL.
--