Hey people, i was just wondering if anyone knew the code to make a tkinter button...
def createExample(self):
top=self.winfo_toplevel()
top.rowconfigure(0, weight=1)
top.columnconfigure(0, weight=1)
self.rowconfigure(0, weight=1)
self.columnconfigure(0, weight=1)
self.Button = Button ( self, text=" Example", font=("Arial", 12), bg="white", fg="magenta", cursor="crosshair")
self.Button.grid(row=1, column=0, sticky=N+E+S+W)
...and i wanted to know the code that you can click on that button and the value of that button can apper in an entry screen. For example if you made a button that was 1, if you click on it, it displays the number 1 in an entry screen.
thanks for any help
:):):)