gdk_draw_drawable on a non-active widget window



hi,

iam trying to take the snapshot of a widget window in a pixmap using gdk_draw_drawable, however it seems to work only if the widget is active (visible on the screen).

as i understand, this process involves a peek on to the x and that may mean that the data for the inactive window may not be available.

can somebody confirm on this and also if there is any other means to get access to pixmaps of inactive windows

thanks,
Zaheer


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