StringList.take

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));
class StringList
void
take
(
string string_
)

Parameters

string_ string

the string to insert

Meta