Skip to content

How do I receive the return values from the command argument? #63

Answered by ColtAuron
ColtAuron asked this question in Q&A
Discussion options

You must be logged in to vote

Found the answer. It should be

self.userstable=CTkTable(master=self.userscroll, width=200, height=10, values=updated_table, command=self.users)
self.userstable.pack()
    
def users(self, block):
        print(block)

It will print out the row, column, table, and args on a dict.

Thank you so much, creator!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ColtAuron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant