test_text_set

function test_text_set(widget:Gtk.Widget, string:String):void {
    // Gjs wrapper for gtk_test_text_set()
}

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

Since 2.14

widget

valid widget pointer.

string

a 0-terminated C string