CAVEY GERARD wrote: >yo all >About back pixmap i have a question, i did all u told and now it works like > >a Ferrari engine :D >however each time i want to set a new back pixmap i write these few lines > >GdkPixmap *pixmap = NULL; > >w=(GtkWidget*)gtk_object_get_data(GTK_OBJECT(((Formulaire*)data)->GetMainWin >dow()),"drawingarea1"); >pixmap=gdk_pixmap_new (w->window, >w->allocation.width,w->allocation.height,-1); >... >//here i draw onto pixmap >... >gdk_window_set_back_pixmap(w->window,pixmap,0); > >thus i think it s a bit dirty... because i don t clear the previous drawing >area back buffer!! >how can i get a pointer to that back buffer >i know i could use a global variable but... >; i didn t find gdk_window_get_back_pixmap :P >any idea? > Will gdk_window_set_user_data(), gdk_window_get_user_data() help in case of gtk+-1.2 ?
Olexiy _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list