[gtkada] Creating a Window from a task

Dominique Canazzi dominique.canazzi at wanadoo.fr
Fri Dec 6 00:55:06 CET 2002


Wayne Bullaughey wrote:
> 
> I'm using  GtkAda 1.3.12 for Win32. My main task creates a GtkAda window
> which works correctly. I have child thread that gets requests from a socket
> interface. It needs to create an independent GtkAda window when it receives
> a request. The toplevel window gets displayed but non of the widgets that it
> contains are displayed. Is there something I need to do to allow the child
> thread to create GtkAda windows? Alternately do I need to create my new
> window from the original thread?
> 

I have encountered exactly the same problem. This is not a window creation
problem. It seems that, by default, only the *main* thread catches the windows
events. Unfortunately, I do not know how to direct events to another thread.
You should ask a WinGuru.

-- dominique
-- 
------------------------
My thoughts are free.
Mes pensées sont libres.




More information about the gtkada mailing list