Re: [gtk-list] [Question] Reading root windows
- From: Nicolas GEORGE <george clipper ens fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] [Question] Reading root windows
- Date: Wed, 2 Feb 2000 17:12:52 +0100 (CET)
Suhku Huh, dans le message (.gtk.general:1539), a écrit :
> root = gdk_window_get_parent(widget->window); // widget is TOP_LEVELWINDOW
> gdk_window_get_geometry(widget->window, &x, &y, &width, &height, &depth);
> gdk_window_copy_area(widget->window,
> widget->style->fg_gc[GTK_WIDGET_STATE(widget)], \
> 0, 0, root, x, y, width, height);
First, I'm not shure that you can get with Gdk a X-window that isn't a gdk
one.
Secondly, even if you can, you'll get the window-manager window, and not
the root.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]