Method

GdkWindowget_effective_toplevel

since: 2.22

Declaration [src]

GdkWindow*
gdk_window_get_effective_toplevel (
  GdkWindow* window
)

Description [src]

Gets the toplevel window that’s an ancestor of window.

Works like gdk_window_get_toplevel(), but treats an offscreen window’s embedder as its parent, using gdk_window_get_effective_parent().

See also: gdk_offscreen_window_get_embedder()

Available since: 2.22

Return value

Type: GdkWindow

The effective toplevel window containing window.

The returned data is owned by the instance.