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() ins
Hi,
Try this:
self.aboutdialog = gtk.AboutDialog()
self.aboutdialog.set_version('0.0.1')
response = self.aboutdialog.run()
self.aboutdialog.hide()
Seeing as gtk.AboutDialog inherits from gtk.Dialog, the "right way" to
use it would be to call the run() method - which automatically calls
show(
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
--
Ronaldo Nascimento
[EMAIL PROTECTED]
___
pygtk mailin