PDA

View Full Version : GTK Python, quit one of multiple windows



Ubuntuud
May 25th, 2006, 09:50 PM
Hi,
I am making a program, with an exit confimation popup. But how can I let just the popup disappear when the user clicks "no". Something like "self.popup.quit()"? With "self.popup" being a "gtk.Window".

Thanks in advance!

dabear
May 25th, 2006, 10:01 PM
gtk.Window should inhert from gtk.Object which has a destroy()-method you could use.

Ubuntuud
May 25th, 2006, 10:02 PM
Offcouse, stupid me, thanks!