gtkShow: Show/realize one or more Widgets

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/zcompat.R

Description

DEPRECATED!! (compatibility wrappers for RGtk 1!)

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

Usage

1
gtkShow(..., all = T)

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.

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.net/RGtk

See Also

gtkWidgetShow

Examples

1
2
3
4
5
6
  if (gtkInit()) {
    w <- gtkWindow(show = FALSE) 
    b <- gtkButton("Hit me") # automatically shown in the creation.
    w$add(b)
    gtkShow(w)
  }

RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to gtkShow in RGtk2...