Google News
logo
Tkinter - Interview Questions
How many Python Tkinter grid() methods?
Column : The column number in which the widget is to be placed. The leftmost column is represented by 0.
 
Columnspan : The width of the widget. It represents the number of columns up to which, the column is expanded.
 
ipadx, ipady : It represents the number of pixels to pad the widget inside the widget's border.
 
padx, pady : It represents the number of pixels to pad the widget outside the widget's border.
 
row : The row number in which the widget is to be placed. The topmost row is represented by 0.
 
rowspan : The height of the widget, i.e. the number of the row up to which the widget is expanded.
 
Sticky : If the cell is larger than a widget, then sticky is used to specify the position of the widget inside the cell. It may be the concatenation of the sticky letters representing the position of the widget. It may be N, E, W, S, NE, NW, NS, EW, ES.
 
 
Advertisement