The answer to "how do I put something in the bottom right corner?" can't be adequately answered out of context. It really depends on what else is in the window. You can use use place
to easily place a widget anywhere you want, but it's rarely the right solution.
Grid is relatively easy to understand if you really do want to lay things out in a grid (eg: a right-most column with a couple rows on the bottom and one or more on top.
Pack can also be used, though it typically involves using additional frames. For example, you could create a frame for the left and right, and then pack the buttons at the bottom of the right frame.
There is also the possibility to use more than one along with additional frames. For example, you could use grid to lay out the main widget into a header, main area, and footer, and then use pack to arrange buttons in the footer.
If you literally only want two buttons, and you want them stacked in the bottom-right corner, I suggest using grid
. In addition to placing them in a row on the bottom, you need to make sure that there is at least one other row and one other column that takes up any extra space. The rows and columns can be empty, but they must be configured to have a "weight".
For example:
frame1.grid_rowconfigure(0, weight=1)
frame1.grid_columnconfigure(0, weight=1)
# give the empty row 0 and column 0 a non-zero weight
# so that grid gives all extra space to those columns.
b2_1.grid(row=1, column=1)
b2_2.grid(row=2, column=1)
.grid(column=99, row=99)
(orrow=98
for button above) should usually work. – Principal