Function gtk::functions::test_text_set[][src]

pub fn test_text_set<P: IsA<Widget>>(widget: &P, 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