dialog problem

"anusha k" <[email protected]>
Newsgroups gmane.comp.gnome.gtk+.python,gmane.comp.gnome.glade.user,gmane.comp.gnome.glade.devel
Message-ID <[email protected]>
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() <[email protected]>

how to solve the issue

Thanks in advance

Njoy the share of Freedom,
Anusha

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.