CollectType
Description:
[ CCode ( cprefix = "G_MARKUP_COLLECT_" , has_type_id = false ) ]
public enum CollectType
A mixed enumerated type and flags field.
You must specify one type (string, strdup, boolean, tristate). Additionally, you may optionally bitwise OR the type with the flag
g_markup_collect_optional.
It is likely that this enum will be extended in the future to support other types.
Content:
Enum values:
- BOOLEAN - expects a parameter
of type (gboolean *) and parses the attribute value as a boolean.
- INVALID - used to terminate the
list of attributes to collect
- OPTIONAL - can be bitwise ORed
with the other fields.
- STRDUP - as with
g_markup_collect_string, but expects a parameter of type (char **) and
strdups the returned pointer.
- STRING - collect the string
pointer directly from the attribute_values[] array.
- TRISTATE - as with
g_markup_collect_boolean, but in the case of a missing attribute a value is set that compares equal to
neither false nor true G_MARKUP_COLLECT_OPTIONAL is implied