Scrolled menu
Duncan Ferguson <[email protected]> Wed, 22 Apr 2009 09:16:19 +0100
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
Hiya list,
In my perl-Tk app I have a generated menu and on occasion it is long
enough to go off the bottom of the screen so you cannot see the last
few items. I have tried to add a scroll to the menu but my attempts
so far have been unsuccessful. Is it possible to have a scrolled
menu, and if so are there any hints anywhere on how to do it?
I tried doing
$menus{hosts} = $menus{bar}->Scrolled('cascade',
-scrollbars => 'e',
-label => 'Hosts',
-tearoff => 1,
-menuitems => [
......
but I just get an error:
Failed to AUTOLOAD 'Tk::Frame::cascade' ....
Thanks
Duncs
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk