Method

GdkWindowget_frame_extents

Declaration [src]

void
gdk_window_get_frame_extents (
  GdkWindow* window,
  GdkRectangle* rect
)

Description [src]

Obtains the bounding box of the window, including window manager titlebar/borders if any. The frame position is given in root window coordinates. To get the position of the window itself (rather than the frame) in root window coordinates, use gdk_window_get_origin().

Parameters

rect

Type: GdkRectangle

Rectangle to fill with bounding box of the window frame.

The argument will be set by the function.
The returned data is owned by the instance.