Re: Redrawing drawing area from main loop timer
- From: jcupitt gmail com
- To: "Jerome Blondel" <jeromeblondel yahoo fr>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Redrawing drawing area from main loop timer
- Date: Thu, 12 Apr 2007 18:48:05 +0100
Hi Jerome,
On 4/12/07, Jerome Blondel <jeromeblondel yahoo fr> wrote:
I'm trying to redraw periodically a drawing area from the main loop
using g_timer_add. In the GSourceFunc i tried to emit a signal to
my drawing area :
You need to use gtk_widget_queue_draw_area():
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#id3686176
To queue a repaint on a rectangular part of a widget.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]