[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Threads + gtk_events_pending()
- From: "Christopher T. Lansdown" <lansdoct screech cs alfred edu>
- To: gtk-app-devel-list <gtk-app-devel-list redhat com>, macst92+ pitt edu
- Subject: Re: Threads + gtk_events_pending()
- Date: Mon, 23 Aug 1999 15:10:25 -0400 (EDT)
Mike,
Where in your app is the cursor function called? In one of the
threads or in the main threads which is sitting in gtk_main()? That's
important info. Otherwise, you have to surround the gdk/gtk calls with
gdk_threads_enter();
gdk/gtk code
gdk_threads_leave();
And you never call while(gtk_events_pending())gtk_main_iteration(); from
any thread which isn't in the gtk_main(); loop (there should be only one
of these).
-Chris
--
lansdoct@cs.alfred.edu
"If I had had more time I would have not written you at all." - Pascal
Linux Programs: http://cs.alfred.edu/~lansdoct/linux/
Linux - Get there. Today.
Evil Overlord Quote of the Day:
150.I will provide funding and research to develop tactical and strategic
weapons covering a full range of needs so my choices are not limited to
"hand to hand combat with swords" and "blow up the planet".
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]