tkInter - Achieving a particular control layout...

Tobe tbradshaw at orchestream.com
Wed Sep 27 09:51:25 EDT 2000


Hi..

I have a tool bar in an app. of mine made from a frame in a window... I'd
like to have the following button layout..

(Put your fixed width glasses on)....

+---------------------------------+
|+--------+-------------+--------+|
||====    |  ==== ====  |        ||
||=B1=    |  =B2= =B3=  |        ||
||====    |  ==== ====  |        ||
|+--------+-------------+--------+|
+---------------------------------+


My first thoughts were to have 3 frames within the toolbar in grid columns
0, 1 and 2 to separate the parent into 3 equal parts.. put a button in 0,
sticky at W, 2 more in 1 and nothing in 2 then pack the toolbar with expand
= X..

Unfortunately this doesn't seem to be working for me.. can anyone help me
out here.. ??

Thanks..

t o b e
Orchestream
London






More information about the Python-list mailing list