Re: Tk::DynaTabFrame (was "Re: Tk::CanvasRottext ?")

Rob Seegel <[email protected]>
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
Dean Arnold wrote:

> Comments/questions/suggestions welcome...and once I get it all
> uploaded, patches too...

Ok.  thanks for the link to the documentation. If you specify 'false' 
for the tabclose option will it not put the little close button  on each 
tab? That would be nice if I wanted to implement my own close scheme, 
like in Mozilla, where there is one button, and it closes whichever tab 
that is being displayed.

It would also be be nice, if I could specify an option to change the 
orientation of the tabs.I know this isn't currently doable for all 
sides. For example, when you have tabs on the left or right side, I 
would like to have the option to have one column of tabs that stick out 
the side where the text is NOT rotated.  This would be like the rotate 0 
option in the blt notebook.

Why? Well, I don't particularly care for multiple rows of tabs in an 
interface (though I don't begrudge those who do)., and if I had more 
than a few tabs on a side, I'd be more inclined to display them 
un-rotated (take up less vertical real-estate).

For a very small number of tabs (3 to 4, IMO), I think having the labels 
rotated on the side can work . What I find happens is that for a few 
tabs, I remember what is on them, and I don't truly read them each time. 
I remember their position.  Too many more than 3 or 4, and I begin to 
wish that the tabs were running accross the top or bottom, because 
readability suffers What happens -- at least for me, is that I start 
forgetting what's on each tab, and I have to reread them over and over, 
resulting in me cocking my head while looking at the tabs.

With the old notebook, I found that if I was using a large number of 
tabs, then I was better off switching to a different idiom -- something 
that I  called a PaneTree -- Tree Widget on the left, Pane widget on the 
right, and an adjuster between the two.  Like the Notebook,  each Label 
in the tree would display a different page in the Pane. The nice thing 
is that I could nest  "pages" in a heirarchy  and make it easier for 
users to find things. I guess it boils down to personal preferences.

At any rate, I've mentioned how much I like the BLT notebook. That's 
pretty much the gold standard for me when it comes to notebook widgets.  
Again, it's nice to see someone taking TabFrame and enhancing it.

Rob

> BTW: If anyone has some pTk code for generating little grouped
> canvas items that look like fancy Eclipse-type notebook tabs,
> I'd happily accept the contribution ;^)

Actually, I've been playing around with "Canvas as a Notebook" idea 
recently too, but I haven't gotten very far. Maybe after I play with it 
a bit, I'll have something worthwhile to contribute.

Rob

-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.