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!'
===
You mean
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 signals
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___