From: Arman Ohanian on
HI All,

Does anyone know for to make a 3-way panedwindow using ttk::panedwindow
in Tk8.5?

I want to achieve something like a T-junction, one horizontal pane on
the right, and 2 vertical panes on the left.

Thanks in advance for the advise.

Thanks,
-Arman.
From: Kevin Walzer on
Arman Ohanian wrote:
> HI All,
>
> Does anyone know for to make a 3-way panedwindow using ttk::panedwindow
> in Tk8.5?
>
> I want to achieve something like a T-junction, one horizontal pane on
> the right, and 2 vertical panes on the left.
>
> Thanks in advance for the advise.
>
> Thanks,
> -Arman.

I do this a lot. The idea is to have one panedwindow, and then another
panedwindow as a child widget of the first panedwindow. The code looks
something like this:

.middle.right add .middle.right.upper
.middle.right add .middle.right.lower

.middle add .middle.left
.middle add .middle.right

..middle.right and .middle are ttk::panedwindows.

You'll have to fiddle with the orientation to get what you're looking
for, but that's the general idea.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
From: Bryan Oakley on
Arman Ohanian wrote:
> HI All,
>
> Does anyone know for to make a 3-way panedwindow using ttk::panedwindow
> in Tk8.5?
>
> I want to achieve something like a T-junction, one horizontal pane on
> the right, and 2 vertical panes on the left.
>
> Thanks in advance for the advise.
>
> Thanks,
> -Arman.

It's a pretty simple problem. You want your app divided in half, so
create a paned window and give it a left pane and a right pane.

Ok, so now you need the left pane divided in half. Create another paned
window, put in in the left pane and give it a top pane and a bottom pane.

Divide and conquer.