pub fn test_text_get(widget: &impl IsA<Widget>) -> Option<GString>
Expand description

Retrive the text string of widget 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.

Returns

new 0-terminated C string, needs to be released with g_free().