StringList
open class StringList(pointer: <Error class: unknown class><<Error class: unknown class>>) : Buildable
GtkStringList
is a list model that wraps an array of strings.
The objects in the model have a "string" property.
GtkStringList
is well-suited for any place where you would typically use a char*[]
, but need a list model.
GtkStringList as GtkBuildable
The GtkStringList
implementation of the GtkBuildable
interface supports adding items directly using the
Here is a UI definition fragment specifying a GtkStringList
<object class="GtkStringList">
<items>
<item translatable="yes">Factory</item>
<item translatable="yes">Home</item>
<item translatable="yes">Subway</item>
</items>
</object>
Content copied to clipboard
Skipped during bindings generation
method
take
: C function gtk_string_list_take is ignored