Re: GtkDrawingArea initialization
- From: Sven Neumann <sven gimp org>
- To: sinsedrix voila fr
- Cc: gtk-list gnome org
- Subject: Re: GtkDrawingArea initialization
- Date: Tue, 23 Nov 2004 14:12:30 +0100
Hi,
sinsedrix voila fr writes:
> So you should emit an "exopose_event" on your DrawingArea, there are
> several ways to do it :
> g_signal_emit_by_name(darea, "expose_event");
That would be just as wrong as drawing outside the expose_event handler.
> gtk_widget_queue_draw_area(darea, x, y, w, h);
> but I prefer this one :
> gtk_widget_queue_draw(darea);
That is the right way of doing it.
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]