d = {}
layout = ...
for key in d:
layout.addWidget(QButton(...))
On Sun, 2 Feb 2020, 19:59 Souvik Dutta, wrote:
> Hi,
> I want to add about 40 buttons based upon a dictionary. I want them to be
> added to a grid layout. How can I do it easily. Please write the code and
> thank you for yo
Hi,
I want to add about 40 buttons based upon a dictionary. I want them to be
added to a grid layout. How can I do it easily. Please write the code and
thank you for your trouble.
--
https://mail.python.org/mailman/listinfo/python-list