Re: Use a GtkMessageBox in a GThread under Win32
- From: Tor Lillqvist <tml iki fi>
- To: gtk-app-devel-list gnome org
- Subject: Re: Use a GtkMessageBox in a GThread under Win32
- Date: Wed, 5 Jan 2005 15:36:12 +0000
gtk_dialog_run() blocks all execution until the user responds, so don't
use it. Just show the dialog and use a callback function to evaluate
user response and to ultimately destroy the dialog.
Especially on Win32, not even that will work if done from another
thread than the "main" thread that runs the GLib main loop. Call
g_timeout_add_full from other threads to schedule GTK+ interaction in
the main thread.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]