test_create_widget
Description:
[ Version ( deprecated = true , deprecated_since = "3.20" , since = "2.14" ) ]
public unowned Widget test_create_widget (Type widget_type, ...)
Warning: test_create_widget is deprecated since 3.20.
This function wraps @new for widget types.
Note:
This testing infrastructure is phased out in favor of reftests.
It’ll automatically show all created non window widgets, also ref_sink them (to keep them alive across a running test) and set them up for destruction during the next test teardown phase.
Parameters:
widget_type |
a valid widget type. |
... |
value to set the first property to, followed by more name-value pairs, terminated by null |
first_property_name |
Name of first property to set or null |
Returns:
a newly created widget. |
Namespace: Gtk
Package: gtk+-3.0