Re: Copying X pixmap.
- From: Paul Davis <paul linuxaudiosystems com>
- To: Shannon Rause <gtk-list indpkgsup com>
- Cc: gtk-list gnome org
- Subject: Re: Copying X pixmap.
- Date: Sat, 03 May 2003 20:23:24 -0400
>First, sorry if this gets posted twice *
>
>Can someone point me in the proper direction on how to do this...
>
>I have an X pixmap (Pixmap) and I would like to copy its contents onto a
>GdkWindow. I have tried to use XCopyArea() to do this but it appears that
>the background is redrawn over the copied pixmap. I set it up so the
>XCopyArea() occurs in the windows expose event. You can actually see the
>pixmap contents as it blinks when you resize the window but it is
>immediately replaced by the standard gray background color. Can someone
>tell me what I may be doing wrong?
you can *only* draw in an expose_event handler.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]