Package: gdk
Function gdk-window-geometry
Lambda Listgdk-window-geometry (window) ArgumentsReturn Value x -- a :int with the x coordinate of window, relative to its parent y -- a :int with the y coordinate of window, relative to its parent width -- a :int with the width of window height -- a :int with the height of window Details The x and y coordinates returned are relative to the parent window of window, which for toplevels usually means relative to the
window decorations (titlebar, etc.) rather than relative to the root window
(screen-size background window). On the X11 platform, the geometry is obtained from the X server, so reflects the latest position of the window. This may be out-of-sync with the position of the window delivered in the most-recently-processed gdk-event-configure event. The function gdk-window-position in contrast gets the position from the most recent configure event. Note | See also |
2020-9-7