RE: Scrolled menu
"Jack" <[email protected]> Wed, 22 Apr 2009 09:34:48 -0600
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
When adding your entries, set the -columnbreak option to 1 for a new column. I know of no way to make it scroll. Although it sounds like an interesting challenge.. Jack -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Duncan Ferguson Sent: April-22-09 2:16 AM To: [email protected] Subject: Scrolled menu 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 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.12.2/2072 - Release Date: 04/21/09 16:48:00 --++**==--++**==--++**==--++**==--++**==--++**==--++**== ptk mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/ptk