~attente/glib/gbytesicon

« back to all changes in this revision

Viewing changes to docs/reference/gobject/html/signal.html

  • Committer: Package Import Robot
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2012-11-28 14:38:35 UTC
  • mfrom: (172.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20121128143835-at37o4ozls05rkgf
Tags: 2.34.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
                        no accumulator was specified. If an accumulator was specified during signal creation,
191
191
                        this accumulator is used to calculate the return_value as a function of the return
192
192
                        values of all the closures invoked during emission. 
193
 
                        <a href="#ftn.idp11066896" class="footnote"><sup class="footnote"><a name="idp11066896"></a>[8]</sup></a>
 
193
                        <a href="#ftn.idp10740144" class="footnote"><sup class="footnote"><a name="idp10740144"></a>[8]</sup></a>
194
194
                        If no closure is invoked during
195
195
                        emission, the return_value is nonetheless initialized to zero/null.
196
196
                        </p></li>
273
273
<p>
274
274
            Of the three main connection functions,
275
275
                only one has an explicit detail parameter as a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>
276
 
                <a href="#ftn.idp10715648" class="footnote"><sup class="footnote"><a name="idp10715648"></a>[9]</sup></a>:
 
276
                <a href="#ftn.idp10764688" class="footnote"><sup class="footnote"><a name="idp10764688"></a>[9]</sup></a>:
277
277
</p>
278
278
<pre class="programlisting">
279
279
gulong     g_signal_connect_closure_by_id          (gpointer          instance,
357
357
</div>
358
358
<div class="footnotes">
359
359
<br><hr style="width:100; align:left;">
360
 
<div id="ftn.idp11066896" class="footnote"><p><a href="#idp11066896" class="para"><sup class="para">[8] </sup></a>
 
360
<div id="ftn.idp10740144" class="footnote"><p><a href="#idp10740144" class="para"><sup class="para">[8] </sup></a>
361
361
                          James (again!!) gives a few non-trivial examples of accumulators:
362
362
                          <span class="quote">“<span class="quote">
363
363
                                For instance, you may have an accumulator that ignores NULL returns from 
365
365
                                to return the list of values returned by the closures.
366
366
                          </span>”</span>
367
367
                        </p></div>
368
 
<div id="ftn.idp10715648" class="footnote"><p><a href="#idp10715648" class="para"><sup class="para">[9] </sup></a>A GQuark is an integer which uniquely represents a string. It is possible to transform
 
368
<div id="ftn.idp10764688" class="footnote"><p><a href="#idp10764688" class="para"><sup class="para">[9] </sup></a>A GQuark is an integer which uniquely represents a string. It is possible to transform
369
369
                   back and forth between the integer and string representations with the functions 
370
370
                   <code class="function"><a href="./../glib/glib/glib-Quarks.html#g-quark-from-string">g_quark_from_string</a></code> and <code class="function"><a href="./../glib/glib/glib-Quarks.html#g-quark-to-string">g_quark_to_string</a></code>.
371
371
                  </p></div>