Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ttk::notebook -- tabs on several rows

12 views
Skip to first unread message

Luc Moulinier

unread,
Oct 10, 2008, 8:21:02 AM10/10/08
to
Hello !

Is there a way to have tabs on several rows with ttk::notebook ? Can
someone give me the trick ?

Many thanks !

If this is not possible, I think this should be a feature to be
implemented in a future version.

Luc

schlenk

unread,
Oct 10, 2008, 8:42:45 AM10/10/08
to
On Oct 10, 2:21 pm, Luc Moulinier <mou...@igbmc.u-strasbg.fr> wrote:

> Is there a way to have tabs on several rows with ttk::notebook ? Can
> someone give me the trick ?

Hi Luc,

i guess the trick is 'use a different widget'. If you have so many
tabs to need multiple rows of them you should reconsider your usage of
the notebook widget. You often see a pane manager with a listbox on
the left to select the active pane in use instead of a notebook. Has
the benefit that it does not reorder your tabs in a confusing way, you
are not as restricted in using meaningful names for your tabs and is
generally more accessible.

Michael

Luc Moulinier

unread,
Oct 10, 2008, 9:13:10 AM10/10/08
to
On 10 oct, 14:42, schlenk
...

> Michael

Thanks Michael ! Good advise !

I put my mask and I dive into my code !

Luc

MSE...@gmail.com

unread,
Oct 10, 2008, 9:49:00 AM10/10/08
to

Hi Luc,

I use a canvas with large images on which can be selected, this could
even be a tree which allows grouping/hiding, This is very easy with a
Bwidget tree.

Martyn

Gerald W. Lester

unread,
Oct 10, 2008, 10:14:28 AM10/10/08
to

One way to do the above is to use ttk::treeview and some frames with
grid/pack forget and confiure -- or just with raise.

--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+

0 new messages