Function

Gtktest_text_set

deprecated: 3.20 since: 2.14

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

Type: GtkWidget

Valid widget pointer.

The data is owned by the caller of the function.
string

Type: const gchar*

A 0-terminated C string.

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