I created a post on this but The problem is still there. I want to know two things:
1.How to get my text box lower
2.How to make a button change it's image and function
Thanks in advance,
IA13RU
To move your text box lower on the screen, change the parameters to the grid call on line 194 to have a higher number for row. The grid lays the widgets out in a grid, and you can place things in different places by modifying these numbers. row goes down as it increases, column goes right as it increases.
To change the properties of a widget (in this case, your buttons), you store it in a variable. Here's an example: (I've cropped out tkinter setup)
Text box and Button problem
I created a post on this but The problem is still there. I want to know two things:
1.How to get my text box lower
2.How to make a button change it's image and function
Thanks in advance,
IA13RU
To move your text box lower on the screen, change the parameters to the
grid
call on line 194 to have a higher number forrow
. The grid lays the widgets out in a grid, and you can place things in different places by modifying these numbers.row
goes down as it increases,column
goes right as it increases.To change the properties of a widget (in this case, your buttons), you store it in a variable. Here's an example: (I've cropped out
tkinter
setup)You can call the
config
method on a widget and re-set any properties you'd like, such as command, background image, text, etc.Thanks
@19wintersp , you are a life saver :-)I'll try to apply the code soon