pub fn test_text_set(widget: &impl IsA<Widget>, string: &str)
Expand description

Set the text string of widget to string if it is a GtkLabel, GtkEditable (entry and text widgets) or GtkTextView.

Deprecated since 3.20

This testing infrastructure is phased out in favor of reftests.

widget

valid widget pointer.

string

a 0-terminated C string