<?xml version='1.0' encoding='utf-8' /> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html><head> <title>GtkAda: Gtk</title> <link rel='stylesheet' href='gtkada_rm.css' type='text/css'> <script src='gtkada_rm.js' type='text/javascript'></script> </head><body> <div id='objectName'> <span><a href='index.html'><img src='home.png' alt='Toc' title='Table of Contents'/></a> <a href='gallery.html'><img src='gallery.png' alt='Gallery' title='Widgets gallery'/></a> <a href='entities.html'><img src='entities.png' alt='Index' title='Global Index'/></a> <a href='tree.html'><img src='tree.png' alt='Tree' title='Widgets Inheritance Tree'/></a> </span> Gtk </div> <!-- objectName --> <div id='leftSide'> <div id='navigation'> <h2>Navigation</h2> <ul> <li><a href='#Description' onclick='return switchPage("page1")'>Description</a></li> <li><a href='#Types' onclick='return switchPage("page1")'>Types</a></li> <li><a href='#Subprograms' onclick='return switchPage("page1")'>Subprograms</a> <ul> <li><a href='#Subprograms__General' onclick='return switchPage("page1")'>General</a></li> </ul> </li> </ul> </div> <!-- navigation --> </div> <!-- leftSide --> <div id='documentation'> <ul id='notebook'> <li id='tab_page1' class='current'><a href='' onclick='return !switchPage("page1")'>Entities</a></li> </ul> <!-- notebook --> <div id='notebook_page1' class='notebookPage'> <a name='Description'></a> <div class='description'> <h2>Description</h2> This package provides some basic <a href='gtk.html'>Gtk</a>+ functionalities such as getting the version number. For general GtkAda initializations, see <a href='gtk-main.html'>Gtk.Main</a>. <p> </div> <!-- description --> <a name='Types'></a> <div id='types'> <h2>Types</h2> <ul> <li><a name='Gtk_Notebook_Page_'></a> <div class='profile'><b>type</b> Gtk_Notebook_Page <b>is</b> <b>new</b> <a href='gdk.html'>Gdk.C_Proxy</a>;</div> <div class='comment'>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. </div></li> <li><a name='Gtk_Type_'></a> <div class='profile'><b>type</b> Gtk_Type <b>is</b> Glib.GType;</div> <div class='comment'>Renaming used for compatiblity. Note: Gtk_Type_* constants have been replaced by GType_* constants in <a href='glib.html'>Glib</a>. </div></li> </ul> </div> <!-- types --> <a name='Subprograms'> </a> <a name='Subprograms__General'> </a> <div id='subprograms'> <h2>Subprograms</h2> <ul> <li><a name='Major_Version_1_'></a> <div class='profile'><b>function</b> <span class='name'>Major_Version</span> <b>return</b> Guint;</div> <div class='comment'>Return the major version number for <a href='gtk.html'>Gtk</a>+ 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 <a href='gtk-main.html#Check_Version_6_'>Gtk.Main.Check_Version</a> to ensure that the two versions are compatible If the version is 1.2.6, returns 1. </div></li> <li><a name='Minor_Version_2_'></a> <div class='profile'><b>function</b> <span class='name'>Minor_Version</span> <b>return</b> Guint;</div> <div class='comment'>Return the minor version number for <a href='gtk.html'>Gtk</a>+. Note that this is not necessarily the same as for GtkAda. If the version is 1.2.6, returns 2. </div></li> <li><a name='Micro_Version_3_'></a> <div class='profile'><b>function</b> <span class='name'>Micro_Version</span> <b>return</b> Guint;</div> <div class='comment'>Return the micro version number for <a href='gtk.html'>Gtk</a>+. Note that this is not necessarily the same as for GtkAda. If the version is 1.2.6, returns 6. </div></li> </ul> </div> <!-- subprograms --> </div> <!-- notebook_page1 --> <div id='notebook_page3' class='notebookPage'> </div> <!-- notebook_page3 --> </div> <!-- documentation --> <div id='rightSide'> <div id='Index'> <h2>Alphabetical Index</h2> <ul> <li><a href='#Major_Version_1_' onclick='return switchPage("page1")'>Major_Version</a></li> <li><a href='#Micro_Version_3_' onclick='return switchPage("page1")'>Micro_Version</a></li> <li><a href='#Minor_Version_2_' onclick='return switchPage("page1")'>Minor_Version</a></li> </ul> </div> <!-- Index --> </div> <!-- rightSide --> <script language='javascript'>switchPage('page1'); adjust_height()</script> </body> </html>