Re[2]: Drawing



On 17.01.2005 15:44, Cristiano Ghirardi <cristiano ghirardi gmail com> wrote:

 Thanks for the sample !
 Should I free the created GdkGC object after using it ?

CG> This is a working example
 
CG>    GdkGC *red_gc;
CG>    GdkColor color;
CG>    GdkGCValues gc_values;
CG>    GtkWidget *area; // Drawing area
CG>    GdkPixmap *pixmap;

CG>    red_gc = gdk_gc_new(widget->window);
CG> [ ... ]


Regards,
 Alexander
http://kresin.belgorod.su





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