Function

Gtktest_text_set

Declaration [src]

void
gtk_test_text_set (
  GtkWidget* widget,
  const gchar* string
)

Description [src]

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

Available since:2.14
Deprecated since:3.20

This testing infrastructure is phased out in favor of reftests.

Parameters

widget GtkWidget
 

Valid widget pointer.

 The data is owned by the caller of the function.
string const gchar*
 

A 0-terminated C string.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.