gtkWidgetIsToplevel {RGtk2} | R Documentation

## gtkWidgetIsToplevel

### Description

Determines whether `widget` is a toplevel widget. Currently only `GtkWindow` and `GtkInvisible` are toplevel widgets. Toplevel widgets have no parent widget.

### Usage

    gtkWidgetIsToplevel(object)

### Arguments

``object`` | a `GtkWidget`

### Details

Since 2.18

### Value

[logical] `TRUE` if `widget` is a toplevel, `FALSE` otherwise

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]