comp.lang.ada
 help / color / mirror / Atom feed
From: carlos_aganzo@terra.es (Carlos Aganzo)
Subject: Re: Problem with gtkada and tasks
Date: Fri, 27 Jul 2001 08:16:28 GMT
Date: 2001-07-27T08:15:55+00:00	[thread overview]
Message-ID: <3b612332.907204@news.bt.es> (raw)
In-Reply-To: TeX77.7790$ar1.25796@www.newsranger.com

> > 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




  reply	other threads:[~2001-07-27  8:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-25  8:53 Problem with gtkada and tasks Carlos Aganzo
2001-07-26 16:07 ` Ted Dennison
2001-07-27  8:16   ` Carlos Aganzo [this message]
2001-07-27 12:31     ` Manuel Carro
2001-07-30 16:57 ` David Monterroso Cabello
2001-07-31  0:40   ` MCL
2001-07-31 11:17   ` Frank
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox