~inkscape.dev/inkscape-devlibs/devlibs-gtk3

« back to all changes in this revision

Viewing changes to share/doc/gtkmm-2.4/reference/html/index.html

  • Committer: JazzyNico
  • Date: 2013-01-21 10:11:05 UTC
  • Revision ID: nicoduf@yahoo.fr-20130121101105-i8d8slkq9ng4olx8
Adding gtk2 libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 
5
<title>gtkmm: gtkmm Reference Manual</title>
 
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
 
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
 
8
</head>
 
9
<body>
 
10
<!-- Generated by Doxygen 1.7.3 -->
 
11
<div id="top">
 
12
<div id="titlearea">
 
13
<table cellspacing="0" cellpadding="0">
 
14
 <tbody>
 
15
 <tr style="height: 56px;">
 
16
  <td style="padding-left: 0.5em;">
 
17
   <div id="projectname">gtkmm&#160;<span id="projectnumber">2.24.2</span></div>
 
18
  </td>
 
19
 </tr>
 
20
 </tbody>
 
21
</table>
 
22
</div>
 
23
  <div id="navrow1" class="tabs">
 
24
    <ul class="tablist">
 
25
      <li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
 
26
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
 
27
      <li><a href="modules.html"><span>Modules</span></a></li>
 
28
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 
29
      <li><a href="annotated.html"><span>Classes</span></a></li>
 
30
    </ul>
 
31
  </div>
 
32
</div>
 
33
<div class="header">
 
34
  <div class="headertitle">
 
35
<h1>gtkmm Reference Manual </h1> </div>
 
36
</div>
 
37
<div class="contents">
 
38
<div class="textblock"><h2><a class="anchor" id="description"></a>
 
39
description</h2>
 
40
<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>
 
41
<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>
 
42
<p>See also the <a href="http://library.gnome.org/devel/gtkmm-tutorial/stable/">Programming with gtkmm</a> book.</p>
 
43
<h2><a class="anchor" id="features"></a>
 
44
features</h2>
 
45
<ul>
 
46
<li>GTK+’s mature, capable set of widgets Widgets. See <a href="http://www.gtk.org/">the GTK+ website</a> for more information.</li>
 
47
<li>Use inheritance to derive custom widgets.</li>
 
48
<li>Type-safe signal handlers (slots), in standard C++, using <a href="http://libsigc.sourceforge.net/">libsigc++</a>.</li>
 
49
<li>Polymorphism.</li>
 
50
<li>Use of the Standard C++ Library, including strings, containers and iterators.</li>
 
51
<li>Full internationalisation with UTF8.</li>
 
52
<li>Complete C++ memory management.<ul>
 
53
<li>Member instances or dynamic new and delete.</li>
 
54
<li>Optional automatic deletion of child widgets.</li>
 
55
<li>No manual reference-counting.</li>
 
56
</ul>
 
57
</li>
 
58
<li>Full use of C++ namespaces.</li>
 
59
<li>No macros.</li>
 
60
</ul>
 
61
<h2><a class="anchor" id="basics"></a>
 
62
basics</h2>
 
63
<p>Include the gtkmm header: </p>
 
64
<div class="fragment"><pre class="fragment"><span class="preprocessor"> #include &lt;gtkmm.h&gt;</span>
 
65
</pre></div><p> (You may include individual headers, such as <code>gtkmm/button.h</code> instead.)</p>
 
66
<p>If your source file is <code>program.cc</code>, you can compile it with: </p>
 
67
<div class="fragment"><pre class="fragment"> g++ program.cc -o program `pkg-config --cflags --libs gtkmm-2.4`
 
68
</pre></div><p>Alternatively, if using autoconf, use the following in <code>configure.ac:</code> </p>
 
69
<div class="fragment"><pre class="fragment"> PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4])
 
70
</pre></div><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>
 
71
<div class="fragment"><pre class="fragment"> program_CPPFLAGS = $(GTKMM_CFLAGS)
 
72
 program_LDADD = $(GTKMM_LIBS)
 
73
</pre></div> </div></div>
 
74
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:43 for gtkmm by&#160;
 
75
<a href="http://www.doxygen.org/index.html">
 
76
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
 
77
</body>
 
78
</html>