| gtdFlush {RGtk} | R Documentation |
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.
gdkFlush()
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.
Duncan Temple Lang
http://www.gtk.org http://www.omegahat.org/RGtk
gdkFlush()
# create new widget
w <- gtkWindow(show = FALSE)
b <- gtkButton("A button")
w$Add(b)
gtkShow(w)
gdkFlush()