## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Gtk

- Goto spec source

# Description

    package Gtk is

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

Binding from C File version 2.8.17

# Types

### Gtk_Type

- Goto declaration in source

    subtype Gtk_Type is Glib.GType;

Renaming used for compatiblity. Note: Gtk_Type_* constants have been replaced by GType_* constants in Glib.

### Gtk_Notebook_Page

- Goto declaration in source

    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.

# Subprograms & Entries

### Major_Version

- Goto spec in source
- Goto body in source

    function Major_Version return Guint;

Return the major version number for Gtk+ that was linked. Note that this is not necessarily the same as for GtkAda. It could also be different when your application is running, if the dynamic linker find some other GtkAda library. Use Gtk.Main.Check_Version to ensure that the two versions are compatible If the version is 1.2.6, returns 1.

### Minor_Version

- Goto spec in source
- Goto body in source

    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.

### Micro_Version

- Goto spec in source
- Goto body in source

    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.