gtkShow {RGtk}R Documentation

Show/realize one or more Widgets

Description

This causes each widget given in the call to be realized or actually displayed

Usage

gtkShow(..., all = T, .flush = TRUE)

Arguments

... 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.
.flush a logical value indicating whether to flush the event queue to encourage any changes to be processed immediately.

Details

This calls gtk_widget_show or gtk_widget_show_all for each widget.

Value

An integer giving the number of widgets that were realized in the call.

Author(s)

Duncan Temple Lang

References

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

See Also

gtkWidgetShow

Examples

 gtkInit()
 w <- gtkWindow(show = FALSE) 
 b <- gtkButton("Hit me") # automatically shown in the creation.
 w$Add(b)

 gtkShow(w)

[Package Contents]