On 16 Dec 2000, Havoc Pennington wrote:

>From an example, it draws a black rectangle the size of teh pixmap to
black out.


>
> "M.N.S.S.K.Pavan Kumar" <[EMAIL PROTECTED]> writes:
> >     I have already posted this question one day before. I did not get
> > any answer, please help me with this.
> >     I am writing a small test program which draws a pixmap on the root
> > window of the desktop and moves it ( something like a little animation ).
> > Now the problem is, when I draw the image and move it, it leaves marks on
> > the previous position where it is drawn and it doesnot get updated.
> >     Here I think double buffering doesnot help. So I am drawing on to
> > the root window directly and updating the previously drawn area with a
> > copy of the original background. But this is not working.Can any one help
> > me by saying how to refresh the desktop after drawing a pixmap.
> >
>
> XClearArea() (gdk_window_clear()) will clear the root window back to
> its normal state.
>
> Havoc
>
>
> _______________________________________________
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list
>

=========+=========+=========+=========+=========+=========+=========+
   ___  _ ____       ___       __  __
  / _ )(_) / /_ __  / _ \___ _/ /_/ /____  ___
 / _  / / / / // / / ___/ _ `/ __/ __/ _ \/ _ \
/____/_/_/_/\_, / /_/   \_,_/\__/\__/\___/_//_/
           /___/
Texas Instruments ASIC Circuit Design Methology Group
Dallas, Texas
214-480-4455
[EMAIL PROTECTED]
=========+=========+=========+=========+=========+=========+=========+


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to