gdkWindowFlush: gdkWindowFlush

Description Usage Arguments Details Author(s)

View source: R/gdkFuncs.R

Description

Flush all outstanding cached operations on a window, leaving the window in a state which reflects all that has been drawn before.

Usage

1

Arguments

object

a GdkWindow

Details

Gdk uses multiple kinds of caching to get better performance and nicer drawing. For instance, during exposes all paints to a window using double buffered rendering are keep on a pixmap until the last window has been exposed. It also delays window moves/scrolls until as long as possible until next update to avoid tearing when moving windows.

Normally this should be completely invisible to applications, as we automatically flush the windows when required, but this might be needed if you for instance mix direct native drawing with gdk drawing. For Gtk widgets that don't use double buffering this will be called automatically before sending the expose event. Since 2.18

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to gdkWindowFlush in RGtk2...