[Glade-devel] dialog problem



hi,
I am developing a account application .In  that i added a quit dialog with a
two stock buttons i.e quit and cancel.but when i triggered the quit button
just closes the dialog not the main window .here is my code:

def dialogQuit(self,widget):
        self.dialog_quit = self.wTree.get_widget("dialog_quit")
        self.dialog_quit.show()
        self.response = self.dialog_quit.run()
        if self.response == 'gtk.RESPONSE_QUIT':
            gtk.main_quit()
        self.dialog_quit.destroy() <pygtk at daa.com.au>

how to solve the issue

Thanks in advance

Njoy the share of Freedom,
Anusha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-devel/attachments/20090110/22c4cde1/attachment.html 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]