deprecated draw method and cairo context



Hello,

 I am looking at this article from the gnome journal
http://gnomejournal.org/article/34/writing-a-widget-using-cairo-and-gtk28, and I believe that the draw method in the section "Step 2. Drawing with Cairo" is deprecated, that should be used instead to draw with a cairo context? (api mentions gtk_widget_queue_draw_area, but I am not sure if it's still a "correct"/recommended way of using cairo with gtk...) 
is there an updated version of this article somewhere?

Evgeny



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