The GIR XML format
The GIR XML format — The GIR XML format
|
|
This chapter describes the GIR XML markup format. This describes exported C
API, including documentation. It may contain installation-specific data,
such as library filenames which may differ between platforms.
api node
The root node of all GIR documents is the api node.
Possible children:
namespace.
Example 4. A GIR fragment showing an api node
namespace node
Parent node: api.
Possible children: callback,
class,
function.
interface.
Example 5. A GIR fragment showing an namespace node
class node
Parent node:
namespace.
Possible children:
constructor,
field,
method,
property.
Example 6. A GIR fragment showing an class node
interface node
Parent node:
namespace.
Possible children: field,
method,
property.
Example 7. A GIR fragment showing an interface node
function node
Parent node:
namespace.
Example 8. A GIR fragment showing an function node