On Sat, Feb 06, 2010 at 12:27:47PM +0300, Andrey Nikitin wrote:
> > Explicit main loop iterations are usually a sign of desperation.
>
> Really? :)
> Try to change your example (with finally gtk.main()) to consecutive run
> several dialogs.
You mean something like this?
=
Здравствуйте, David Nečas.
> while True:
> dialog = gtk.MessageDialog(buttons=gtk.BUTTONS_OK,
> message_format='Close me.') dialog.connect('response', response)
> dialog.show_all()
> gtk.main()
> print 'Done!'
> ===
>
> Y
On Sat, Feb 06, 2010 at 12:49:43PM +0300, Andrey Nikitin wrote:
> > while True:
> > dialog = gtk.MessageDialog(buttons=gtk.BUTTONS_OK,
> > message_format='Close me.') dialog.connect('response', response)
> > dialog.show_all()
> > gtk.main()
> > print 'Done!'
> >
On 02/04/2010 11:11 AM, Thomas Stover wrote:
> I'm looking for some notes / advise on catching SIGTERM in a glib main
> loop based program.
> Mainly on linux, but other kernels would be nice. This article:
>
> http://www.linuxjournal.com/article/2121
>
> for instance, recommends masking all sign