Re: [pygtk] Close button on gtk.AboutDialog

2008-06-25 Thread Markus W. Barth
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

Re: [pygtk] Close button on gtk.AboutDialog

2008-06-24 Thread Walter Leibbrandt
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(

[pygtk] Close button on gtk.AboutDialog

2008-06-24 Thread Ronaldo Nascimento
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