[ltk-user] grid

cage cage at katamail.com
Thu Jul 28 15:36:04 UTC 2011


On Sun, Jul 24, 2011 at 12:42:15AM +0200, Haris Bogdanovich wrote:
> Hi.

Hello!
 
> I would like to make a 3x3 grid and put 9 buttons in it.
> If I have 9 button instances (b1, b2 ...)
>  how does the grid command look like ?

(grid button-instance row column)

> Does grid have a master (if it's in a frame for example)?
> Who is the master of all the buttons ?

Each button could have the frame as its master, whilst the frame could
have (for  example) a toplevel as  master instead (think  about a tree
structure where each widget is a node).
 
> Thanks

Bye.
C.




More information about the ltk-user mailing list