Hi, Guys:

I'm a newbie on clutter programming. I just want to create a modal dialog to
get a user's response and then return the status to the caller. The caller
will be blocked and wait for the dialog return.

Currently my program only has one thread. First I thought if I can do a
nested call of clutter_main so the thread can be blocked untill the dialog
finishes its job. But it's failed and the problem is hung at the
clutter_main. I don't know why?

Then I thought if I can create another thread to handle the dialog stuff and
block the main thread untill the dialog return. I have not tried that yet.

I think such usage model should be common and there are must be some
existing solutions.

Can anyone help to provide any suggestion? Thanks in advance!

Thanks
Weihua Wu

Reply via email to