public weak Widget test_create_widget (Type widget_type, ...)
Warning: test_create_widget is deprecated since "3.20".
This function wraps @new for widget types.
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.
a valid widget type.
value to set the first property to, followed by more name-value pairs, terminated by null
Name of first property to set or null
a newly created widget.