GtkWidget* gtk_widget_new ( GType type, const gchar* first_property_name, ... )
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
g_object_new(), but returns a widget so you don’t have to
cast the object yourself.
|This constructor is not directly available to language bindings|
Type ID of the widget to create.
Name of first property to set.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Value of first property, followed by more properties,
GtkWidget of type
|The data is owned by the called function.|