On Tuesday 24 June 2008 16:07:18 Ronaldo Nascimento wrote:
> Code
>
> >         self.aboutdialog = gtk.AboutDialog()
> >         self.aboutdialog.set_version('0.0.1')
> >         self.aboutdialog.show()
>
> How do i get the "close" button to hide the dialog?
> thanks

use self.aboutdialog.run() instead of show()

Then call
self.aboutdialog.destroy()




_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to