mmkw43
Posts: 707
Joined: Tue Dec 24, 2013 6:18 pm

Tkinter -- pack with place?

Sun Nov 01, 2020 4:35 pm

Maybe someone knows offhand to save me time trying it but if I have some labels that I have written with place at specific points, if I add another label with pack, what happens? Does it somehow find a place to put itself? -- thanks

User avatar
RogerW
Posts: 297
Joined: Sat Dec 20, 2014 12:15 pm
Location: London UK

Re: Tkinter -- pack with place?

Sun Nov 01, 2020 4:49 pm

You should look at grid rather than pack, This allows you to place your widget by row and column.

mmkw43
Posts: 707
Joined: Tue Dec 24, 2013 6:18 pm

Re: Tkinter -- pack with place?

Sun Nov 01, 2020 5:54 pm

well, I'm doing something rather hard to explain -- I'll just try it and see what happens.

Return to “Graphics programming”