GLib.Markup – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
Markup
CollectType
collect_attributes
escape_text
printf_escaped
vprintf_escaped
GLib.Markup
Description:
Content:
Enums:
CollectType
-
A mixed enumerated type and flags field.
Functions:
public
string
escape_text
(
string
text,
ssize_t
length = -
1
)
Escapes text so that the markup parser will parse it verbatim.
public
string
printf_escaped
(
string
format, ...)
Formats arguments according to
format
, escaping all string and character arguments in the fashion of
escape_text
.
public
string
vprintf_escaped
(
string
format,
va_list
args)
Formats the data in
args
according to
format
, escaping all string and character arguments in the fashion of
escape_text
.
public
bool
collect_attributes
(
string
element_name,
string
[] attribute_names,
string
[] attribute_values, ...)
throws
MarkupError
Collects the attributes of the element from the data passed to the
MarkupParser
start_element function, dealing with common error conditions and supporting boolean values.