tkinter - grid layout question

A

Ajay

hi!

is it possible to make a widget span more than one column in a grid?
i have two radio buttons in row=1, column=0 and 1
now in row 2 i have a listbox. i'd like it to span both columns. how would
i do that?

thanks

cheers
 
A

Alex Martelli

Ajay said:
hi!

is it possible to make a widget span more than one column in a grid?
i have two radio buttons in row=1, column=0 and 1
now in row 2 i have a listbox. i'd like it to span both columns. how would
i do that?

thelistbox.grid(row=2, columnspan=2)


Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,206
Messages
2,571,069
Members
47,675
Latest member
RollandKna

Latest Threads

Top