Are you coding from an editor, or using designer?
If from an editor, you should be able to add an argument by using a lambda statement.
I'll find an example (not in Qt, but should work the same)
and post it jast as soon as I do
Example:
If from an editor, you should be able to add an argument by using a lambda statement.
I'll find an example (not in Qt, but should work the same)
and post it jast as soon as I do
Example:
b1 = tk.Button(self.f1, text="Page 1", command=lambda: self.show_page(self.page1), width=8, height=2)