File: index.html

package info (click to toggle)
gtkmm2.4 1%3A2.24.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 149,184 kB
  • sloc: xml: 80,438; cpp: 6,880; sh: 4,175; perl: 236; makefile: 230
file content (79 lines) | stat: -rw-r--r-- 4,392 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!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.11"/>
<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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">gtkmm
   &#160;<span id="projectnumber">2.24.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <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 widgets 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-2.4`</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-2.4])</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 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>