gtkWidgetNew {RGtk2} | R Documentation |
This is a convenience function for creating a widget and setting
its properties in one go. For example you might write:
gtk_widget_new (GTK_TYPE_LABEL, "label", "Hello World", "xalign",
0.0, NULL)
to create a left-aligned label. Equivalent to
gObjectNew
, but returns a widget so you don't have to
cast the object yourself.
gtkWidgetNew(type, ..., show = TRUE)
|
[GType ] type ID of the widget to create |
|
value of first property, followed by more properties,
NULL -terminated |
[GtkWidget
] a new GtkWidget
of type widget.type
Derived by RGtkGen from GTK+ documentation