gdkDisplaySync {RGtk2} | R Documentation

## gdkDisplaySync

### Description

Flushes any requests queued for the windowing system and waits until all requests have been handled. This is often used for making sure that the display is synchronized with the current state of the program. Calling `gdkDisplaySync` before `gdkErrorTrapPop()` makes sure that any errors generated from earlier requests are handled before the error trap is removed.

### Usage

    gdkDisplaySync(object)

### Arguments

``object`` | a `GdkDisplay`

### Details

This is most useful for X11. On windowing systems where requests are handled synchronously, this function will do nothing. Since 2.2

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]