![]() |
![]() |
![]() |
![]() |
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.
Example 5. A GIR fragment showing an namespace node
1 2 3 4 5 6 |
<api version="1.0"> <namespace="Gtk"> <class/> <function/> </namespace> </api> |
Example 6. A GIR fragment showing an class node
1 2 3 4 5 6 7 8 9 10 |
<api version="1.0"> <namespace="Gtk"> <class name="Widget"> <constructor/> <field/> <method/> <property/> <class> </namespace> </api> |
Example 7. A GIR fragment showing an interface node
1 2 3 4 5 6 7 8 9 |
<api version="1.0"> <namespace="Gtk"> <interface name="Buildable"> <field/> <method/> <property/> <interface> </namespace> </api> |
Example 8. A GIR fragment showing an function node
1 2 3 4 5 6 |
<api version="1.0"> <namespace="Gtk"> <function name="init"> </function> </namespace> </api> |