Constructor
GtkStringListnew
Declaration [src]
GtkStringList*
gtk_string_list_new (
const char* const* strings
)
Parameters
strings |
An array of char* |
The strings to put in the model. |
|
The argument can be NULL . | |
The array must be NULL -terminated. | |
The data is owned by the caller of the function. | |
Each element is a NUL terminated UTF-8 string. |
Return value
Returns: | GtkStringList |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |