gtkShow {RGtk2} | R Documentation |
DEPRECATED!! (compatibility wrappers for RGtk 1!)
This causes each widget given in the call to be realized or actually displayed
gtkShow(..., all = T)
... |
any collection of widgets that are to be realized. These are processed in the order they are given. |
all |
a logical value indicating whether to show
the particular widget (FALSE ), or both
it and all of the sub-widgets
which it contains (TRUE ). This is the difference between
a call to gtk_widget_show and gtk_widget_show_all
in the lower-level Gtk interface. |
This calls gtk_widget_show
or
gtk_widget_show_all
for each widget.
An integer giving the number of widgets that were realized in the call.
Duncan Temple Lang
http://www.gtk.org http://www.omegahat.org/RGtk
if (gtkInit()) { w <- gtkWindow(show = FALSE) b <- gtkButton("Hit me") # automatically shown in the creation. w$add(b) gtkShow(w) }