Re: GtkDrawingArea initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

sinsedrix@xxxxxxxx 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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux