The anchor value controls how to place the grid within the container widget when no row/column has any weight. The default anchor is nw.
(self, anchor=None)
| 1941 | # Grid methods that apply to the container widget |
| 1942 | |
| 1943 | def grid_anchor(self, anchor=None): # new in Tk 8.5 |
| 1944 | """The anchor value controls how to place the grid within the |
| 1945 | container widget when no row/column has any weight. |
| 1946 | |
| 1947 | The default anchor is nw.""" |
| 1948 | self.tk.call('grid', 'anchor', self._w, anchor) |
| 1949 | |
| 1950 | anchor = grid_anchor |
| 1951 |