Function gtk::functions::test_text_get[][src]

pub fn test_text_get<P: IsA<Widget>>(widget: &P) -> 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().