Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkUIManagerEnsureUpdate

gtkUIManagerEnsureUpdate


Description

Makes sure that all pending updates to the UI have been completed.

Usage

gtkUIManagerEnsureUpdate(object)

Arguments

object

a GtkUIManager

Details

This may occasionally be necessary, since GtkUIManager updates the UI in an idle function. A typical example where this function is useful is to enforce that the menubar and toolbar have been added to the main window before showing it:

window$add(vbox, show = F)
gSignalConnect(merge, "add_widget", add_widget, vbox)
merge$addUiFromFile("my-menus")
merge$addUiFromFile("my-toolbars")
merge$ensureUpdate() 
window$showAll()

Since 2.4

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.