MarkupCollectType
- class MarkupCollectType
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 OPTIONAL
.
It is likely that this enum will be extended in the future to support other types.
Fields
- class MarkupCollectType
- BOOLEAN
Expects a parameter of type (gboolean *) and parses the attribute value as a boolean. Sets
False
if the attribute isn’t present. Valid boolean values consist of (case-insensitive) “false”, “f”, “no”, “n”, “0” and “true”, “t”, “yes”, “y”, “1”
- INVALID
Used to terminate the list of attributes to 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