pthread and GTK+

 I'm triyng to use gtk in a multithread context, and i've some problems:

I want to do this:
____________________ Programme 1
...... |.|_______________ Thread 2
.......|________________ Thread 1 create and open a gtk+ window

Window problems
1/ Display wrong
2/ callbacks errors ( gtk_entry saw as gtk_butons)
3/ I have the title APPLICATION (2), as if there was 2 windows with the same 
title, but there is only one.

To end, if I compile the thread alone, as an autonomous program, the window 
work perfectly.

Can you explain me how to do?
Thank you very much
	Vincent ROQUETA

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