Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > c853f8888160a4a69cea8bbae1d26bcf > files > 93

atkmm-doc-2.22.5-1.fc16.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>atkmm: atkmm Reference Manual</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<h1>atkmm Reference Manual </h1> </div>
</div>
<div class="contents">
<h3 class="version">2.22.5 </h3><h2><a class="anchor" id="description"></a>
description</h2>
<p>atkmm is the official C++ interface for the <a href="http://library.gnome.org/devel/atk/stable/">ATK</a> accessibility toolkit library. It may be used, for instance, by user interfaces implemented with gtkmm.</p>
<h2><a class="anchor" id="basics"></a>
basics</h2>
<p>Include the atkmm header: </p>
<div class="fragment"><pre class="fragment"><span class="preprocessor"> #include &lt;atkmm.h&gt;</span>
</pre></div><p> This includes every header installed by atkmm, so can slow down compilation, but suffices for this simple example. Assuming that your program source file is <code>program.cc</code>, compile it with: </p>
<div class="fragment"><pre class="fragment"> g++ program.cc -o program `pkg-config --cflags --libs atkmm-1.6`
</pre></div><p> Alternatively, if using autoconf, use the following in <code>configure.ac:</code> </p>
<div class="fragment"><pre class="fragment"> PKG_CHECK_MODULES([ATKMM], [atkmm-1.6])
</pre></div><p> Then use the generated <code>ATKMM_CFLAGS</code> and <code>ATKMM_LIBS</code> variables in the project <code>Makefile.am</code> files. For example: </p>
<div class="fragment"><pre class="fragment"> program_CPPFLAGS = $(ATKMM_CFLAGS)
 program_LDADD = $(ATKMM_LIBS)
</pre></div> </div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Mar 30 2011 09:27:41 for atkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>