Main Gtk struct.
The GString struct contains the public fields of a GString.
gchar *str;
points to the character data. It may move as text is added.
The str field is null-terminated and so
can be used as an ordinary C string.
gsize len;
contains the length of the string, not including the
terminating nul byte.
gsize allocated_len;
the number of bytes that can be stored in the
string before it needs to be reallocated. May be larger than len.
Main Gtk struct. The GString struct contains the public fields of a GString. gchar *str; points to the character data. It may move as text is added. The str field is null-terminated and so can be used as an ordinary C string. gsize len; contains the length of the string, not including the terminating nul byte. gsize allocated_len; the number of bytes that can be stored in the string before it needs to be reallocated. May be larger than len.