gdkWindowGetToplevel {RGtk2} | R Documentation

## gdkWindowGetToplevel

### Description

Gets the toplevel window that's an ancestor of `window`.

### Usage

    gdkWindowGetToplevel(object)

### Arguments

``object`` | a `GdkWindow`

### Details

Any window type but `GDK_WINDOW_CHILD` is considered a toplevel window, as is a `GDK_WINDOW_CHILD` window that has a root window as parent.

### Value

[`GdkWindow`] the toplevel window containing `window`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]