Package: gdk
Function gdk-window-parent
Lambda Listgdk-window-parent (window) ArgumentsReturn Valueparent gdk-window object of window Details
Obtains the parent of window, as known to GDK.
Does not query the X server. Thus this returns the parent as passed to the function gdk-window-new, not the actual parent. This should never
matter unless you are using Xlib calls mixed with GDK calls on the X11
platform. It may also matter for toplevel windows, because the window manager
may choose to reparent them. Note that you should use the function gdk-window-effective-parent when writing generic code that walks up a window hierarchy, because the function gdk-window-parent will most likely not do what you expect if there are offscreen windows in the hierarchy. | See also |
2020-9-24