Skip to content

Commit 24a3a07

Browse files
committed
docs/docs/manual/libsigc_manual.xml: Add id on <sect1> elements
1 parent 317ab48 commit 24a3a07

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/docs/manual/libsigc_manual.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
</abstract>
1717
</bookinfo>
1818

19-
<chapter id="sec-introduction">
19+
<chapter id="chapter-introduction">
2020
<title>Introduction</title>
2121

22-
<sect1>
22+
<sect1 id="sect-motivation">
2323
<title>Motivation</title>
2424

2525
<para>There are many situations in which it is desirable to decouple code that
@@ -72,10 +72,10 @@ register_click_handler(okbutton, clicked, somedata);
7272
</sect1>
7373
</chapter>
7474

75-
<chapter id="sec-connecting">
75+
<chapter id="chapter-connecting">
7676
<title>Connecting your code to signals</title>
7777

78-
<sect1>
78+
<sect1 id="sect-simple-ex">
7979
<title>A simple example</title>
8080
<para>So to get some experience, lets look at a simple example...</para>
8181

@@ -140,7 +140,7 @@ int main()
140140

141141
</sect1>
142142

143-
<sect1>
143+
<sect1 id="sect-using-mem-func">
144144
<title>Using a member function</title>
145145

146146
<para>Suppose you found a more sophisticated alien alerter class on the web,
@@ -189,7 +189,7 @@ int main()
189189
offers.</para>
190190
</sect1>
191191

192-
<sect1>
192+
<sect1 id="sect-signals-with-pars">
193193
<title>Signals with parameters</title>
194194

195195
<para>Functions taking no parameters and returning void are quite useful,
@@ -255,7 +255,7 @@ int main()
255255
<para>Easy.</para>
256256
</sect1>
257257

258-
<sect1>
258+
<sect1 id="sect-disconnecting">
259259
<title>Disconnecting</title>
260260

261261
<para>If you decide you no longer want your code to be called whenever a signal is
@@ -267,10 +267,10 @@ int main()
267267
</sect1>
268268
</chapter>
269269

270-
<chapter id="sec-writing">
270+
<chapter id="chapter-writing">
271271
<title>Writing your own signals</title>
272272

273-
<sect1>
273+
<sect1 id="sect-quick-recap">
274274
<title>Quick recap</title>
275275
<para>If all you want to do is use gtkmm, and connect your functionality to its
276276
signals, you can probably stop reading here.</para>
@@ -318,7 +318,7 @@ void AlienDetector::run()
318318
</programlisting>
319319
</sect1>
320320

321-
<sect1>
321+
<sect1 id="sect-return-values">
322322
<title>What about return values?</title>
323323
<para>If you only ever have one slot connected to a signal, or if you only care
324324
about the return value of the last registered one, it's quite straightforward:</para>
@@ -332,10 +332,10 @@ a_return_value = somesignal.emit();
332332
</sect1>
333333
</chapter>
334334

335-
<chapter id="sec-advanced">
335+
<chapter id="chapter-advanced">
336336
<title>Advanced topics</title>
337337

338-
<sect1>
338+
<sect1 id="sect-rebinding">
339339
<title>Rebinding</title>
340340
<para>Suppose you already have a function that you want to be called when a
341341
signal is emitted, but it takes the wrong argument types. For example, lets try
@@ -401,7 +401,7 @@ myaliendetector.signal_detected.connect( sigc::hide&lt;std::string&gt;( sigc::pt
401401
<para><literal remap="tt">sigc::hide_return</literal> effectively makes the return type void.</para>
402402
</sect1>
403403

404-
<sect1>
404+
<sect1 id="sect-retyping">
405405
<title>Retyping</title>
406406
<para>A similar topic is retyping. Perhaps you have a signal that takes an <literal remap="tt">int</literal>, but
407407
you want to connect a function that takes a <literal remap="tt">double</literal>.</para>
@@ -424,7 +424,7 @@ asignal.connect( sigc::retype( sigc::ptr_fun(&amp;dostuff) ) );
424424
</sect1>
425425
</chapter>
426426

427-
<chapter id="sec-reference">
427+
<chapter id="chapter-reference">
428428
<title>Reference</title>
429429
<para>See the reference documentation <ulink url="http://library.gnome.org/devel/libsigc++/unstable/">online</ulink></para>
430430
</chapter>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy