Re: unexpected async reply gnome_dialog Hell



On Wed, 29 May 2002, Ian Frawley wrote:

Can somebody help me please???? Can you create a gnome message box
from a thread??? If I scratch my head anymore I will go bald.

I'm no expert but I remember having banged my head against the wall on
this one some time ago. I ended up making the thread set up a idle
callback and running the gnome dialog in that callback. Maybe not the best
solution but works for me anyway... Mind you I only use an OK dialog, no
need to get any feedback from the user.

You will of course have to do the usual gdk_threads_enter/leave stuff in
the callback as idle callbacks are not inside the global lock (or
whatever...).

-- 
Tomi Manninen           Internet:  oh2bns sral fi
OH2BNS                  AX.25:     oh2bns oh2rbi fin eu
KP20ME04                Amprnet:   oh2bns oh2rbi ampr org




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]