Skip to content

Commit b43cb23

Browse files
committed
docs/manual/libsigc_manual.xml: Add id on <sect1> elements
1 parent 1b47767 commit b43cb23

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

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,
@@ -254,7 +254,7 @@ int main()
254254
<para>Easy.</para>
255255
</sect1>
256256

257-
<sect1>
257+
<sect1 id="sect-disconnecting">
258258
<title>Disconnecting</title>
259259

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

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

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

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

334-
<chapter id="sec-advanced">
334+
<chapter id="chapter-advanced">
335335
<title>Advanced topics</title>
336336

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

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

426-
<chapter id="sec-reference">
426+
<chapter id="chapter-reference">
427427
<title>Reference</title>
428428
<para>See the reference documentation <ulink url="http://library.gnome.org/devel/libsigc++/unstable/">online</ulink></para>
429429
</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