[gtkada] Limit Storage Size of Gtk_Text
Emmanuel Briot
briot at ACT-Europe.FR
Fri May 17 10:40:37 CEST 2002
"Bade, Frank" <Frank.Bade at astrium-space.com> writes:
> This window should display logging information in an application which must
> be able to run several days without being stopped. Therefore, the amount of
> data stored by the window should be limited to do not eat up all the memory.
Just remove from the beginning of the gtk_text when it gets too big.
If you are using GtkAda 2.0, you might want to use a Gtk.Tree_View instead,
this would allow you to have a separate column for the time the log message was
emitted.
Emmanuel
More information about the gtkada
mailing list