How to use gdk_window_copy_area



I want to use the function gdk_window_copy_area(GdkWindow *window,GdkGC
*gc, gint x, gint y, GdkWindow *source_window, gint source_x, gint
source_y, gint width, gint height).

Especially, I don't know how to get the GdkGC from the first parameter
GdkWindow *window.

Suppose I have a GdkWindow window1, how I can get the GdkGC of the
window1??

If anybody knows how to do it, please tell me ASAP!

THANKS

jiang



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