Enumeration
GLibMarkupCollectType
Description
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.
Members
Name | Description |
---|---|
G_MARKUP_COLLECT_INVALID |
Used to terminate the list of attributes to collect. |
G_MARKUP_COLLECT_STRING |
Collect the string pointer directly from
the attribute_values[] array. Expects a parameter of type (const
char **). If |
G_MARKUP_COLLECT_STRDUP |
As with |
G_MARKUP_COLLECT_BOOLEAN |
Expects a parameter of type (gboolean *)
and parses the attribute value as a boolean. Sets |
G_MARKUP_COLLECT_TRISTATE |
As with |
G_MARKUP_COLLECT_OPTIONAL |
Can be bitwise ORed with the other fields. If present, allows the attribute not to appear. A default value is set depending on what value type is used. |