On 1/12/07,
Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> wrote:
On Fri, 2007-01-12 at 02:21 +0000, Pedro Castro wrote:
> I'm using Drawable.DrawLayout to draw some text over a widget. The
> problem is, the text is removed when the widget is updated. How to
> make the text persist?
you can't. every time a widget gets an expose event from the underlying
window system, some or all of it is redrawn. this is a basic element of
GTK's design.
you will need to hook into the "expose" signal for the widget in
question, and redraw your text from the signal handler.
--p
--
Pedro Castro
http://www.pedrocastro.org
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list