Initial commit
[platform/upstream/glib2.0.git] / docs / reference / gobject / html / pt02.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>Part IV. Tutorial</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7 <link rel="home" href="index.html" title="GObject Reference Manual">
8 <link rel="up" href="index.html" title="GObject Reference Manual">
9 <link rel="prev" href="gobject-query.html" title="gobject-query">
10 <link rel="next" href="howto-gobject.html" title="How to define and implement a new GObject">
11 <meta name="generator" content="GTK-Doc V1.13 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 <link rel="preface" href="pr01.html" title="Introduction">
14 <link rel="part" href="pt01.html" title="Part I. Concepts">
15 <link rel="chapter" href="chapter-intro.html" title="Background">
16 <link rel="chapter" href="chapter-gtype.html" title="The GLib Dynamic Type System">
17 <link rel="chapter" href="chapter-gobject.html" title="The GObject base class">
18 <link rel="chapter" href="chapter-signal.html" title="The GObject messaging system">
19 <link rel="reference" href="rn01.html" title="API Reference">
20 <link rel="reference" href="rn02.html" title="Tools Reference">
21 <link rel="part" href="pt02.html" title="Part IV. Tutorial">
22 <link rel="chapter" href="howto-gobject.html" title="How to define and implement a new GObject">
23 <link rel="chapter" href="howto-interface.html" title="How to define and implement interfaces">
24 <link rel="chapter" href="howto-signals.html" title="How to create and use signals">
25 <link rel="part" href="pt03.html" title="Part V. Related Tools">
26 <link rel="chapter" href="tools-vala.html" title="Vala">
27 <link rel="chapter" href="tools-gob.html" title="GObject builder">
28 <link rel="chapter" href="tools-ginspector.html" title="Graphical inspection of GObjects">
29 <link rel="chapter" href="tools-refdb.html" title="Debugging reference count problems">
30 <link rel="chapter" href="tools-gtkdoc.html" title="Writing API docs">
31 <link rel="index" href="api-index-full.html" title="Index">
32 <link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
33 <link rel="index" href="api-index-2-2.html" title="Index of new symbols in 2.2">
34 <link rel="index" href="api-index-2-4.html" title="Index of new symbols in 2.4">
35 <link rel="index" href="api-index-2-6.html" title="Index of new symbols in 2.6">
36 <link rel="index" href="api-index-2-8.html" title="Index of new symbols in 2.8">
37 <link rel="index" href="api-index-2-10.html" title="Index of new symbols in 2.10">
38 <link rel="index" href="api-index-2-12.html" title="Index of new symbols in 2.12">
39 <link rel="index" href="api-index-2-14.html" title="Index of new symbols in 2.14">
40 <link rel="index" href="api-index-2-18.html" title="Index of new symbols in 2.18">
41 <link rel="index" href="api-index-2-22.html" title="Index of new symbols in 2.22">
42 <link rel="index" href="api-index-2-24.html" title="Index of new symbols in 2.24">
43 </head>
44 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
45 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
46 <td><a accesskey="p" href="gobject-query.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
47 <td> </td>
48 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
49 <th width="100%" align="center">GObject Reference Manual</th>
50 <td><a accesskey="n" href="howto-gobject.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
51 </tr></table>
52 <div class="part" title="Part IV. Tutorial">
53 <div class="titlepage"><div><div><h1 class="title">
54 <a name="id604137"></a>Part IV. Tutorial</h1></div></div></div>
55 <div class="partintro" title="Tutorial">
56 <div></div>
57 <p>
58       This chapter tries to answer the real-life questions of users and presents
59       the most common scenario use cases I could come up with.
60       The use cases are presented from most likely to less likely.
61     </p>
62 <div class="toc">
63 <p><b>Table of Contents</b></p>
64 <dl>
65 <dt><span class="chapter"><a href="howto-gobject.html">How to define and implement a new GObject</a></span></dt>
66 <dd><dl>
67 <dt><span class="sect1"><a href="howto-gobject.html#howto-gobject-header">Boilerplate header code</a></span></dt>
68 <dt><span class="sect1"><a href="howto-gobject-code.html">Boilerplate code</a></span></dt>
69 <dt><span class="sect1"><a href="howto-gobject-construction.html">Object Construction</a></span></dt>
70 <dt><span class="sect1"><a href="howto-gobject-destruction.html">Object Destruction</a></span></dt>
71 <dt><span class="sect1"><a href="howto-gobject-methods.html">Object methods</a></span></dt>
72 <dd><dl>
73 <dt><span class="sect2"><a href="howto-gobject-methods.html#id662702">Non-virtual public methods</a></span></dt>
74 <dt><span class="sect2"><a href="howto-gobject-methods.html#id662727">Virtual public methods</a></span></dt>
75 <dt><span class="sect2"><a href="howto-gobject-methods.html#id662811">Virtual private Methods</a></span></dt>
76 </dl></dd>
77 <dt><span class="sect1"><a href="howto-gobject-chainup.html">Chaining up</a></span></dt>
78 </dl></dd>
79 <dt><span class="chapter"><a href="howto-interface.html">How to define and implement interfaces</a></span></dt>
80 <dd><dl>
81 <dt><span class="sect1"><a href="howto-interface.html#howto-interface-define">How to define interfaces</a></span></dt>
82 <dt><span class="sect1"><a href="howto-interface-implement.html">How To define implement an Interface?</a></span></dt>
83 <dt><span class="sect1"><a href="ch06s03.html">Interface definition prerequisites</a></span></dt>
84 <dt><span class="sect1"><a href="howto-interface-properties.html">Interface Properties</a></span></dt>
85 </dl></dd>
86 <dt><span class="chapter"><a href="howto-signals.html">How to create and use signals</a></span></dt>
87 <dd><dl><dt><span class="sect1"><a href="howto-signals.html#howto-simple-signals">Simple use of signals</a></span></dt></dl></dd>
88 </dl>
89 </div>
90 </div>
91 </div>
92 <div class="footer">
93 <hr>
94           Generated by GTK-Doc V1.13</div>
95 </body>
96 </html>