gtkWindowSetModal {RGtk2} | R Documentation

## gtkWindowSetModal

### Description

Sets a window modal or non-modal. Modal windows prevent interaction with other windows in the same application. To keep modal dialogs on top of main application windows, use `gtkWindowSetTransientFor` to make the dialog transient for the parent; most window managers will then disallow lowering the dialog below the parent.

### Usage

    gtkWindowSetModal(object, modal)

### Arguments

``object`` | a `GtkWindow`
``modal`` | whether the window is modal

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]