Le 23/10/2008, "Timo" <[EMAIL PROTECTED]> a écrit:

>def errorDlg(string):
>    s = "An error occured during this operation!"
>    errordlg = gtk.MessageDialog(type=gtk.MESSAGE_ERROR,
>message_format=s, buttons=gtk.BUTTONS_OK)
>    errordlg.format_secondary_text(string)
>    errordlg.run()
>    errordlg.destroy()

Strange, I use such dialog in Windows, and it works fine. I think your
problem is elsewhere. In what context do you open this dialog? Is it
from the main loop thread? Or from another thread?

--
   Frédéric
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to