[gtkmm] messagedialogs and threads..



Hey,

What's the recommended way to show a messagedialog from a thread? The
thread needs to block till the user closes the dialog.
If i just call dialog.run() it's not threadsafe and i will get errors
(and even chrashes) every now and then.
If i use a dispatcher, the thread will continue while the box is still
open and that will also result in errors.

So, is there a nice way to "pause" a thread and let it resume or is
there some other way to get my dialogs threadsafe ?

TIA :)

Bart

-- 
www.titanium-it.nl --- Open Minded Open Source
www.heavenisopen.com <-----Another Source




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