Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.02 KB

File metadata and controls

36 lines (24 loc) · 1.02 KB

GtkAda development guide

This contains Ada bindings for Gtk, Gdk, Glib, Pango and Cairo.

Source organization

src/ # The main source directory
    generated/ # The generated bindings
    misc.c     # C code for miscellaneous functions and constants
docs/    # The user-facing documentation
gtkada_demo/ # A demo that can be used as an example for how to use GtkAda.

Ada packages are namespaced under Gtk, Gdk, Glib, Pango and Cairo corresponding to the underlying C libraries.

The mapping from C to Ada is mostly straightforward. For instance, gtk_window_present becomes Gtk.Window.Present.

Documentation

The GtkAda Reference manual (docs/gtkada_rm/) is generated by gnatdoc.

Working on bindings

The documentation for bindings is in contrib/documentation.md.

Work checklist

Before submitting your work:

  • Add a demo for your changes in gtkada_demo/ if applicable.
  • Update the user's guide in docs/gtkada_ug/ if needed.
  • Update dev_guide.md and contrib/documentation.md if needed.