get_geometry


Description:

public void get_geometry (out int xp, out int yp, out int widthp, out int heightp)

Gets the size and position of this, including decorations.

This function uses the information last received in a ConfigureNotify event and adjusts it according to the size of the frame that is added by the window manager (this call does not round-trip to the server, it just gets the last sizes that were notified). The X and Y coordinates are relative to the root window.

If you need to know the actual size of this ignoring the frame added by the window manager, use get_client_window_geometry.

Parameters:

this

a Window.

xp

return location for X coordinate in pixels of this.

yp

return location for Y coordinate in pixels of this.

widthp

return location for width in pixels of this.

heightp

return location for height in pixels of this.