From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,d38d76f108979fc7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-27 01:22:22 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!btnet-peer0!btnet-peer!btnet!newsfeed.bt.es!news.bt.es!not-for-mail From: carlos_aganzo@terra.es (Carlos Aganzo) Newsgroups: comp.lang.ada Subject: Re: Problem with gtkada and tasks Date: Fri, 27 Jul 2001 08:16:28 GMT Organization: BT Tel. Netnews service (readers) Message-ID: <3b612332.907204@news.bt.es> References: <3b5e88ee.10782754@news.bt.es> NNTP-Posting-Host: 212.49.167.81 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: titan.bt.es 996221755 17022 212.49.167.81 (27 Jul 2001 08:15:55 GMT) X-Complaints-To: abuse@bt.es NNTP-Posting-Date: 27 Jul 2001 08:15:55 GMT X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:10625 Date: 2001-07-27T08:15:55+00:00 List-Id: > > When I instance a task using GtkAda windows, the windows do not > >update until the tasks have completed their execution. Why does this > >happen? Is it because of the thread the Gtk application uses? How can > >I solve this? > What OS are you using? I'm using Windows Millenium. I think there must be some kind of problem with Windows and the Gtk signal handlers. task type cell(init: access location); type type_access_cell is access cell; (...) procedure HandlerBotonComenzar (Widget : access Gtk.Widget.Gtk_Widget_Record'Class) is -- Crea una c�lula que ser� la encargada de crear todo lo dem�s t: type_access_cell; begin t:=new type_access_cell; end HandlerBotonComenzar; Until t has not completed its execution, the windows do not update. (and in the body of the task type cell it updates the window, but it does not appear in screen after the tasks have died). Thanks for your help