[gtkada] window refreh in GtkAda
Manuel Op de Coul
manuel.op.de.coul at eon-benelux.com
Fri Mar 12 18:03:57 CET 2004
Are you sure you want to use an entry and not a label for this?
In any case you need to add an idle handler to your
task to process any gtk events in the event queue.
Something like this
function Idle return Boolean is
Dummy : Boolean;
begin
while Gtk.Main.Events_Pending loop
Dummy := Gtk.Main.Main_Iteration;
end loop;
return True;
end Idle;
task body ...
Id : Gtk.Main.Idle_Handler_Id;
begin
...
Id := Gtk.Main.Idle_Add(Cb => Idle'Access);
And be sure to carefully read the GtkAda User Guide about
tasking and GtkAda!
Manuel
More information about the gtkada
mailing list