Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 36a4a1ce4320fd74059ccc32828cc5d4 > files > 1046

gtkmm3.0-doc-3.14.0-2.mga5.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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>gtkmm: gtkmm Reference Manual</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">gtkmm
   &#160;<span id="projectnumber">3.14.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
  <div id="navrow1" 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><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">gtkmm Reference Manual </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="description"></a>
Description</h1>
<p>gtkmm is the official C++ interface for the popular GUI library GTK+. Highlights include typesafe callbacks, and a comprehensive set of widgets that are easily extensible via inheritance.</p>
<p>For instance, see <a class="el" href="group__Widgets.html">Widgets</a>, <a class="el" href="group__Dialogs.html">Dialogs</a>, <a class="el" href="group__TreeView.html">TreeView</a> and <a class="el" href="group__TextView.html">TextView</a>.</p>
<p>See also the <a href="http://library.gnome.org/devel/gtkmm-tutorial/stable/">Programming with gtkmm</a> book.</p>
<h1><a class="anchor" id="features"></a>
Features</h1>
<ul>
<li>GTK+’s mature, capable set of <a class="el" href="group__Widgets.html">Widgets</a> widgets. See <a href="http://www.gtk.org/">the GTK+ website</a> for more information.</li>
<li>Use inheritance to derive custom widgets.</li>
<li>Type-safe signal handlers (slots), in standard C++, using <a href="http://libsigc.sourceforge.net/">libsigc++</a>.</li>
<li>Polymorphism.</li>
<li>Use of the Standard C++ Library, including strings, containers and iterators.</li>
<li>Full internationalisation with UTF8.</li>
<li>Complete C++ memory management.<ul>
<li>Member instances or dynamic new and delete.</li>
<li>Optional automatic deletion of child widgets.</li>
<li>No manual reference-counting.</li>
</ul>
</li>
<li>Full use of C++ namespaces.</li>
<li>No macros.</li>
</ul>
<h1><a class="anchor" id="basics"></a>
Basic Usage</h1>
<p>Include the gtkmm header: </p><div class="fragment"><div class="line"><span class="preprocessor">#include &lt;gtkmm.h&gt;</span></div>
</div><!-- fragment --><p> (You may include individual headers, such as <code>gtkmm/button.h</code> instead.)</p>
<p>If your source file is <code>program.cc</code>, you can compile it with: </p><div class="fragment"><div class="line">g++ program.cc -o program  `pkg-config --cflags --libs gtkmm-3.0`</div>
</div><!-- fragment --><p>Alternatively, if using autoconf, use the following in <code>configure.ac:</code> </p><div class="fragment"><div class="line">PKG_CHECK_MODULES([GTKMM], [gtkmm-3.0])</div>
</div><!-- fragment --><p> Then use the generated <code>GTKMM_CFLAGS</code> and <code>GTKMM_LIBS</code> variables in the project <code>Makefile.am</code> files. For example: </p><div class="fragment"><div class="line">program_CPPFLAGS = $(GTKMM_CFLAGS)</div>
<div class="line">program_LDADD = $(GTKMM_LIBS)</div>
</div><!-- fragment --> </div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Sep 23 2014 12:59:29 for gtkmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>