~attente/glib/gbytesicon

« back to all changes in this revision

Viewing changes to docs/reference/gobject/html/gobject-properties.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:
284
284
      <code class="function"><a class="link" href="gobject-Generic-values.html#g-value-transform" title="g_value_transform ()">g_value_transform</a></code> will try to transform the input signed char into
285
285
      an unsigned int. Of course, the success of the transformation depends on the availability
286
286
      of the required transform function. In practice, there will almost always be a transformation
287
 
      <a href="#ftn.idp10671056" class="footnote"><sup class="footnote"><a name="idp10671056"></a>[4]</sup></a>
 
287
      <a href="#ftn.idp10690880" class="footnote"><sup class="footnote"><a name="idp10690880"></a>[4]</sup></a>
288
288
      which matches and conversion will be carried out if needed.
289
289
    </p>
290
290
<p>
305
305
      implementation of Foo did override this method, the code path would jump to
306
306
      <code class="function">foo_set_property</code> after having retrieved from the 
307
307
      <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> the <span class="emphasis"><em>param_id</em></span>
308
 
      <a href="#ftn.idp10682880" class="footnote"><sup class="footnote"><a name="idp10682880"></a>[5]</sup></a>
 
308
      <a href="#ftn.idp10702944" class="footnote"><sup class="footnote"><a name="idp10702944"></a>[5]</sup></a>
309
309
      which had been stored by
310
310
      <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()">g_object_class_install_property</a></code>.
311
311
    </p>
373
373
</div>
374
374
<div class="footnotes">
375
375
<br><hr style="width:100; align:left;">
376
 
<div id="ftn.idp10671056" class="footnote"><p><a href="#idp10671056" class="para"><sup class="para">[4] </sup></a>Its behaviour might not be what you expect but it is up to you to actually avoid
 
376
<div id="ftn.idp10690880" class="footnote"><p><a href="#idp10690880" class="para"><sup class="para">[4] </sup></a>Its behaviour might not be what you expect but it is up to you to actually avoid
377
377
          relying on these transformations.
378
378
        </p></div>
379
 
<div id="ftn.idp10682880" class="footnote"><p><a href="#idp10682880" class="para"><sup class="para">[5] </sup></a>
 
379
<div id="ftn.idp10702944" class="footnote"><p><a href="#idp10702944" class="para"><sup class="para">[5] </sup></a>
380
380
          It should be noted that the param_id used here need only to uniquely identify each 
381
381
          <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> within the <span class="type">FooClass</span> such that the switch
382
382
          used in the set and get methods actually works. Of course, this locally-unique