Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Tk::Notebook - Scrolling Tabs (diy)

by Anonymous Monk
on May 14, 2013 at 04:40 UTC ( #1033402=note: print w/ replies, xml ) Need Help??


in reply to Tk::Notebook - Scrolling/Stacking Tabs

Am I missing something obvious?

<< This :)

Create your own widget, create a superwidget, steal/borrow ideas from other widgets
Top pane, a bunch of buttons, bottom pane, load active tab
When you click a button, when you load its pane, you change its apperance

Middle click can hide button...

There are two-four static/fixed button, for scrolling through tab-buttons, creating new ones, popping up a menu/list of all tab-button
The button list takes up most of the memory (but doesn't have to, cheapest implementation), it is scrollable ... or a canvas, whatever
The bottom pane is loaded/unloaded on demand
This way you choose how many buttons are shown, how big they are ... Tk::Notebook is simple (pretty much they all are)
Search for packforget, notebook:), see Tk::NoteBook memory usage, TK: adding notebook tabs dynamically, Tk::TabFrame, Tk::DynaTabFrame, http://docs.activestate.com/activetcl/8.5/bwidget/PagesManager.html, http://docs.activestate.com/activetcl/8.5/bwidget/NoteBook.html

Prima::Notebooks, Wx::Perl::ListView, ...
wxperl_demo --show AUI #wxAuiNotebook
wxperl_demo --show wxNotebook
wxperl_demo --show wxRibbonControl


Comment on Re: Tk::Notebook - Scrolling Tabs (diy)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033402]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2014-07-23 22:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (154 votes), past polls