>From the docs: "The created GC must always be used with drawables of the same depth as this one".
The gc I am using during bitmap copy does not have depth 1. This must be the problem. I probably have to use create the gc using the original bitmap, not the window. Thank you much for your help, and I'm sorry for the wasted bandwidth Edscott On Thu 17 Jan 2002 14:21, you wrote: > Edscott Wilson García <[EMAIL PROTECTED]> writes: > > But isn't a bitmap nothing more than a pixmap of depth 1? If > > gdk_pixmap_new(window,pix_w,pix_h,1); > > is not the correct way to create an empty bitmap with gtk, how should it > > be created? > > That is the right way. One of us is missing some detail. > > Havoc _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list