Re: a lot of modal dialogs without GTK.main

2010-02-06 Thread David Nečas
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?

Re: a lot of modal dialogs without GTK.main

2010-02-06 Thread Andrey Nikitin
Здравствуйте, 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!' === You mean

Re: a lot of modal dialogs without GTK.main

2010-02-06 Thread David Nečas
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!'

Re: glib *nix signals

2010-02-06 Thread Brian J. Tarricone
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 signals

Varun Shrivastava wants to stay in touch on LinkedIn

2010-02-06 Thread Varun Shrivastava
LinkedIn GTK, I'd like to add you to my professional network on LinkedIn. - Varun Shrivastava Confirm that you know Varun Shrivastava https://www.linkedin.com/e/isd/1052891302/g4bk5Nka/ -- (c) 2010, LinkedIn Corporation___