Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get the value of qpushbutton pyqt5 with argument

from functools import partial

my_btn.clicked.connect(partial(my_func, my_int, my_str, my_second_int))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #qpushbutton #argument
ADD COMMENT
Topic
Name
4+6 =