gtdFlush {RGtk}R Documentation

Flush Gtk events

Description

This is a simple call to ensure that events that actions that affect widgets, etc. are sent to the server and made available to the R event loop. This helps to update displays, etc.

Usage

gdkFlush()

Value

Note

Many of the Gtk/Gdk functions have a .flush argument which, if TRUE, has the same effect as calling gdkFlush after that function is called.

Author(s)

Duncan Temple Lang

References

http://www.gtk.org http://www.omegahat.org/RGtk

See Also

gtkAdd gtkShow

Examples

 gdkFlush()

   # create new widget
 w <- gtkWindow(show = FALSE)
 b <- gtkButton("A button")

 w$Add(b)
 gtkShow(w)
 gdkFlush()
   

[Package Contents]