adout copying a pixmap to drawable area?



    first,I declare GtkWidget *window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    second,I declare GtkWidget *area = gtk_drawing_area_new(),then call the function    gtk_container_add (GTK_CONTAINER (window), area);
    because it has sometime to draw something on the area,i want to draw them on a pixmap(GtkPixmap),and then copy the pixmap to the area.But what i want to draw haven't been shown.These objects,such as gc,piaxmap,etc.have been created.
    is there something wrong?what should i do?
    please reply.

Best Regards
 

Wang Weihua
-------------------------------------------------
Technology Development Dept.
Nanjing Fujitsu Nanda Software Tech. Co.,Ltd.(FNST)
No. 16-5 Guangzhou Road. Nanjing,P.R.China
Tel: 025-6630566-47 (+86+25-6630566-47)
P.C: 210008
EMail: wangwh nanjing-fnst com


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