Trouble with .grid() in python 3 with buttons -


so i'm trying position 2 buttons on tkinter gui, seems setting row , column aren't working should. if set grid row/column value button move on bit, if try set button grid again, won't move anymore. wondering if way created button affecting grid function? in im trying position buttons, , can't seem them move.

#play button creation btnplay = button(app, text ="play", command = playmusic) btnplay.grid(row =10, column = 10)   #pause button creation btnpause = button(app) btnpause.grid() btnpause.configure(text = "stop", command = stopmusic) 

rows , columns have size of 0 if don't contain anything. putting in column 10, when there nothing in columns 0-9 same putting in column 0.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -