<HTML ><HEAD ><TITLE >GtkExtra-checkitem</TITLE > <DIV CLASS="NAVHEADER" > <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#000000"> <td width="39%"> </td> <td width="61%"><font color="#FFFFFF" size="5" >GTK-EXTRA - Reference Manual</font ></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="left"> <tr bgcolor="#0033CC"> <td width="47%"> </td> <td width="53%"><font color="#FFFFFF" size="3" ><b ><a href="index.html" ><font color="#FFFFFF" size="3" ><b >Home</b ></font ></a ></b ></font ></td> </tr> </table> <p> </p> </DIV > <H1 >Version information</H1 > <DIV CLASS="REFNAMEDIV" > <H2 >Name</H2 > <p>Version Information -- variables and functions to check the GTK-EXTRA version.</p> <DIV CLASS="REFSYNOPSISDIV" > <H2 >Synopsis</H2 > <br> </DIV > <DIV CLASS="REFSECT1" > <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr align="left" valign="top"> <td bgcolor="D6E8FF"><pre>extern</pre></td> <td bgcolor="D6E8FF"><pre>const guint <a href="#gtkextra_major_version">gtkextra_major_version</a></pre></td> <td bgcolor="D6E8FF"><pre> </pre></td> </tr> <tr align="left" valign="top"> <td width="5%" bgcolor="D6E8FF"><pre>extern</pre></td> <td width="22%" bgcolor="D6E8FF"> <pre>const guint <a href="#gtkextra_minor_version">gtkextra_minor_version</a></pre></td> <td width="73%" bgcolor="D6E8FF"> <pre> </pre></td> </tr> <tr align="left" valign="top"> <td width="5%" bgcolor="D6E8FF"><pre>extern</pre></td> <td width="22%" bgcolor="D6E8FF"> <pre>const guint <a href="#gtkextra_micro_version">gtkextra_micro_version</a></pre></td> <td width="73%" bgcolor="D6E8FF"> <pre> </pre></td> </tr> <tr align="left" valign="top"> <td width="5%" bgcolor="D6E8FF"><pre>extern</pre></td> <td width="22%" bgcolor="D6E8FF"> <pre>const guint <a href="#gtkextra_binary_age">gtkextra_binary_age</a></pre></td> <td width="73%" bgcolor="D6E8FF"> <pre> </pre></td> </tr> <tr align="left" valign="top"> <td bgcolor="D6E8FF"><pre>extern</pre></td> <td bgcolor="D6E8FF"><pre>const guint <a href="#gtkextra_interface_age">gtkextra_interface_age</a></pre></td> <td bgcolor="D6E8FF"><pre> </pre></td> </tr> <tr align="left" valign="top"> <td bgcolor="D6E8FF"><pre>gchar * </pre></td> <td bgcolor="D6E8FF"><pre><a href="#gtk_extra_check_version">gtk_extra_check_version</a></pre></td> <td bgcolor="D6E8FF"><pre>(guint required_major, guint required_minor, guint required_micro) </pre></td> </tr> </table> </DIV > <p> </p> </DIV > <H2 >Description</H2 > <P >This section describes the variables and functions available to test the version of the GTK-EXTRA library in use. </P > <P > </P > <DIV CLASS="REFSECT2" > <H3 ><br> </H3 > <hr> <H3 ><a name="gtkextra_major_version" id="gtkextra_major_version"></a>gtkextra_major_version</H3 > <TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" > <TR > <TD ><PRE CLASS="PROGRAMLISTING" >extern const guint gtkextra_major_version;</PRE ></TD > </TR > </TABLE > <P >The major version number of the GTK-EXTRA library. (e.g. in GTK-EXTRA version 0.99.17 this is 0.)</P > </DIV > <HR> <DIV CLASS="REFSECT2" > <H3 ><a name="gtkextra_minor_version" id="gtkextra_minor_version"></a>gtkextra_minor_version</H3 > <TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" > <TR > <TD ><PRE CLASS="PROGRAMLISTING" >extern const guint gtkextra_minor_version;</PRE ></TD > </TR > </TABLE > <P >The minor version number of the GTK-EXTRA library. (e.g. in GTK-EXTRA version 0.99.17 this is 99.)</P > <HR> <DIV CLASS="REFSECT2" > <H3 ><a name="gtkextra_micro_version" id="gtkextra_micro_version"></a>gtkextra_micro_version</H3 > <TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" > <TR > <TD ><PRE CLASS="PROGRAMLISTING" >extern const guint gtkextra_minor_version;</PRE ></TD > </TR > </TABLE > <P >The micro version number of the GTK-EXTRA library. (e.g. in GTK-EXTRA version 0.99.17 this is 17.)</P > </DIV > <P > </P > </DIV > <HR> <DIV CLASS="REFSECT2" > <H3 ><a name="gtkextra_binary_age" id="gtkextra_binary_age"></a>gtkextra_binary_age</H3 > <TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" > <TR > <TD ><PRE CLASS="PROGRAMLISTING" >extern const guint gtkextra_binary_age;</PRE ></TD > </TR > </TABLE > <P ><br> </P > </DIV > <HR> <DIV CLASS="REFSECT2" > <H3 ><a name="gtkextra_interface_age" id="gtkextra_interface_age"></a>gtkextra_interface_age</H3 > <TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" > <TR > <TD ><PRE CLASS="PROGRAMLISTING" >extern const guint gtkextra_interface_age;</PRE ></TD > </TR > </TABLE > <P ></P > </DIV > <br> <HR> <H3 ><a name="gtk_extra_check_version" id="gtk_extra_check_version"></a>gtk_extra_check_version ()</H3 > <TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" > <TR > <TD ><PRE CLASS="PROGRAMLISTING" >gchar * gtk_extra_check_version (guint required_major,<br> guint required_minor,<br> guint required_micro);</PRE ></TD > </TR > </TABLE > <P >Checks that the GTK-EXTRA library in use is compatable with the given version.</P > <TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" > <TBODY > <TR > <TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >required_major</I ></TT > :</TD > <TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the required major version.</TD > </TR > <TR > <TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >required_minor</I ></TT > :</TD > <TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the required major version.</TD > </TR > <TR > <TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >required_micro</I ></TT > :</TD > <TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the required major version.</TD > </TR > <TR > <TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD > <TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >NULL if the GTK-EXTRA library is compatable with the given version, or a string describing the version mismatch. </TD > </TR > </TBODY > </TABLE > <H1 ><br> <BR> </H1 > <DIV CLASS="REFSECT1" > <DIV CLASS="REFSECT2" > <DIV CLASS="INFORMALTABLE" ></DIV > </DIV > </DIV > <DIV CLASS="REFSECT1" > <DIV CLASS="VARIABLELIST" ></DIV > </DIV > <DIV CLASS="NAVFOOTER" > <TABLE WIDTH="100%" BORDER="0" BGCOLOR="#000000" CELLPADDING="1" CELLSPACING="0" > <TR > <TD WIDTH="25%" BGCOLOR="#000000" ALIGN="left" > </TD > <TD WIDTH="50%" BGCOLOR="#0000C0" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="index.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Home</B ></FONT ></A ></B ></FONT ></TD > <TD WIDTH="0%" BGCOLOR="#000000" ALIGN="center" > </TD > <TD WIDTH="25%" BGCOLOR="#000000" ALIGN="right" > </TD > </TR > </TABLE > </DIV ></BODY ></HTML >