0

close and open a new window on button click

Hi all, I have a function which I pass id as a parameter, which will display the details associated with parameter (id) in a window. The window gets opened on every click, it doesn't close the previous one. How to close the existing and open the new window? Note: I have a tab with grid list. The window gets displayed on button click of particular. It shouldn't close another row's already opened window.

4th Jun 2018, 12:37 PM
Pooja
5 odpowiedzi
+ 1
Thanks for your immediate response.I am a newbie to python. I couldn't get any proper reference for my problem.
4th Jun 2018, 12:46 PM
Pooja
+ 1
Can I able to close the window (GUI)?
4th Jun 2018, 1:44 PM
Pooja
0
see that hope that helps
4th Jun 2018, 1:46 PM
Bugs-bunny
Bugs-bunny - avatar
0
I am using QDialog(Pyqt5)
5th Jun 2018, 4:58 AM
Pooja