Top | ![]() |
![]() |
![]() |
![]() |
GwyStringList * | gwy_string_list_new () |
void | gwy_string_list_append () |
void | gwy_string_list_append_take () |
guint | gwy_string_list_get_length () |
const gchar * | gwy_string_list_get () |
void | gwy_string_list_clear () |
GwyStringList * | gwy_string_list_copy () |
void | gwy_string_list_assign () |
void gwy_string_list_append (GwyStringList *strlist
,const gchar *string
);
Appends a string to the end of a string list.
void gwy_string_list_append_take (GwyStringList *strlist
,gchar *string
);
Appends a string to the end of a string list, taking ownership of the string.
The string must be dynamically allocated and will be eventually freed with g_free()
.
guint
gwy_string_list_get_length (GwyStringList *strlist
);
Gets the number of strings in a string list.
const gchar * gwy_string_list_get (GwyStringList *strlist
,guint i
);
Gets a string from a string list by position.
void
gwy_string_list_clear (GwyStringList *strlist
);
Clears the contents of a string list, removing all strings.
GwyStringList *
gwy_string_list_copy (GwyStringList *strlist
);
Create a new string list as a copy of an existing one.
This function is a convenience gwy_serializable_copy()
wrapper.
void gwy_string_list_assign (GwyStringList *destination
,GwyStringList *source
);
Makes one string list equal to another.
This function is a convenience gwy_serializable_assign()
wrapper.
“value-changed”
signalvoid user_function (GwyStringList *gwystrlist, gpointer user_data)
The ::value-changed signal is emitted whenever a string list changes.
gwystrlist |
The GwyStringList which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First