Hi Christoph,

On 1/4/06, Christoph Bersch <[EMAIL PROTECTED]> wrote:
> Great, this seems to work :-)

Good!

> I thought, that a call of gtk_widget_draw() might be better than
> gtk_widget_queue_draw_area(), as it draws immediately, although it is
> deprecated.
>
> So how could a call of gtk_widget_draw() be replaced in new code (I
> don't fully understand the part belonging to this function in the
> documentation). Could it be something like
>
> gdk_window_invalidate_rect ();
> gdk_window_process_updates ();
> ?

You could do somethiing that, but it is more complicated and might
well finish being slower than just calling _queue_draw().

I would do some benchmarks and only even think about some hack like
that if _queue_draw() is unacceptably slow (which it shouldn't be ...
probably).

J
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to