RE: Drawing area




> -----Original Message-----
> From: M.N.S.S.K.Pavan Kumar [mailto:pavan@iiit.net]
> Sent: zondag 3 september 2000 17:28
> To: gtk-list@gnome.org
> Subject: Drawing area
> 
> 
> 
> Hi ,
> 	I have asked the question two days before. I am really 
> waiting for
> reply. Can anyone please tell me how to draw on a drawing area. I have
> drawn using a backing pixmap and an update rectangle .but is 
> this the only
> way to do that. Suppose I don't want to use double buffering and I
> directly want to get input from mouse, how to do that.

Drawing using a backing pixmap is one (the best) way, you can also draw directly to the GdkWindow using the same functions: GdkPixmap and GdkWindow are basically the same.

Double buffering is a good thing IMHO: avoid ugly updates.

Regards,

Arjan

> 	thank you in anticipation,
> 
> bye
> pavan
> 
> 
> 
> --------------------------------------------------------------
> ----------------
> You are what your deep driving desire is
> As is your desire, so is your will
> As is your will, so is your deed
> As is your deed, so is your destiny.
> /******************************Brihadaranyaka 
> UpanishadIV.1.2******************/
> 
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 




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