Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Tk::Notebook - Scrolling/Stacking Tabs

by alanonymous (Sexton)
on May 13, 2013 at 17:08 UTC ( #1033322=perlquestion: print w/replies, xml ) Need Help??
alanonymous has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks,

I am working on a project that requires many tabs/pages in a TK notebook widget, but adding too many tabs is an easy way to break the UI. What I am looking for is a way to scroll through the open tabs while minimizing some of them (ie, more tabs in less space). Think google Chrome (or any modern tabbed browser) when you open too many webpage tabs.

Some less than ideal solutions I've considered are putting notebooks within tabs/pages for multiple rows of tabs, deleting tabs (deleting is still used, but the data needs to be retained and available), aggregating data from multiple tabs into one, etc. Each has some major drawbacks for this project.

I can't find anything on the CPAN pod, googling and searching here hasn't yielded me a solution. Am I missing something obvious? This seems like a very common desired feature for Tk::Notebook. Thoughts?

Thanks!

-Al


**************
Update, I've found a few modules like Tk::DynaTabFrame that seem about ideal, but my operating environment is less than ideal and I won't be able to install *anything* beyond an old stock version of perl. Sad.

Replies are listed 'Best First'.
Re: Tk::Notebook - Scrolling/Stacking Tabs
by kcott (Chancellor) on May 14, 2013 at 06:21 UTC

    G'day alanonymous,

    • As far as I know, Tk::NoteBook has always had that limitation.
    • Tk::DynaTabFrame stacks the tabs when needed.
    • I'm not aware of a module whch scrolls the tabs (doesn't mean one doesn't exist).

    -- Ken

Re: Tk::Notebook - Scrolling Tabs (diy)
by Anonymous Monk on May 14, 2013 at 04:40 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1033322]
Approved by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2017-12-12 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (327 votes). Check out past polls.

    Notices?