take

open fun take(string: String)

Adds @string to self at the end, and takes ownership of it.

This variant of method@Gtk.StringList.append is convenient for formatting strings:

gtk_string_list_take (self, g_strdup_print ("%d dollars", lots));

Parameters

string

the string to insert