Difference between revisions of "트킨터"

Jump to navigation Jump to search
17 bytes removed ,  10:46, 9 May 2020
no edit summary
Line 1,779: Line 1,779:
             # partial takes care of function and argument
             # partial takes care of function and argument
             cmd = partial(self.calculate, b)
             cmd = partial(self.calculate, b)
             tk.Button(self, text=b, width=5, relief=rel,
             tk.Button(self, text=b, width=5, relief=rel, command=cmd).grid(row=r, column=c)
                command=cmd).grid(row=r, column=c)
             c += 1
             c += 1
             if c > 4:
             if c > 4:
2

edits

Navigation menu