GtkAda Reference Manual - Package Gtk

[Contents] [Back] [Prev] [Up] [Next] [Forward]

# Package Gtk

This package provides some basic Gtk+ functionalities such as getting the version number. For general GtkAda initializations, see section Package Gtk.Main.

- Gtk Types
- Gtk Subprograms

## Types

    type Gtk_Notebook_Page is new Gdk.C_Proxy;
| A page of the notebook. It can contain a single child, and is also associated with a tab label used to select that page in the notebook.
    subtype Gtk_Type is Glib.GType;
| Renaming used for compatiblity. Note: Gtk_Type_* constants have been replaced by GType_* constants in Glib.

## Subprograms

    function Major_Version         return Guint;
| Return the major version number for Gtk+. Note that this is not necessarily the same as for GtkAda. If the version is 1.2.6, returns 1.
    function Minor_Version         return Guint;
| Return the minor version number for Gtk+. Note that this is not necessarily the same as for GtkAda. If the version is 1.2.6, returns 2.
    function Micro_Version         return Guint;
| Return the micro version number for Gtk+. Note that this is not necessarily the same as for GtkAda. If the version is 1.2.6, returns 6.

[Contents] [Back] [Prev] [Up] [Next] [Forward]