[pygtk] gtk.MessageDialog doesn't work on windows
Frédéric
frederic.mantegazza at gbiloba.org
Thu Oct 23 17:19:32 WST 2008
Le 23/10/2008, "Timo" <timovwb at gmail.com> 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
More information about the pygtk
mailing list