Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
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?



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.

In reply to Tk::Notebook - Scrolling/Stacking Tabs by alanonymous

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2022-11-30 07:53 GMT
Find Nodes?
    Voting Booth?