~ubuntu-branches/debian/jessie/glib2.0/jessie

« back to all changes in this revision

Viewing changes to docs/reference/gobject/html/gobject-properties.html

Tags: upstream-2.16.1
Import upstream version 2.16.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
      <code class="function"><a class="link" href="gobject-Generic-values.html#g-value-transform">g_value_transform</a></code> will try to transform the input signed char into
188
188
      an unsigned int. Of course, the success of the transformation depends on the availability
189
189
      of the required transform function. In practice, there will almost always be a transformation
190
 
      <sup>[<a name="id3106803" href="#ftn.id3106803" class="footnote">6</a>]</sup>
 
190
      <sup>[<a name="id3115200" href="#ftn.id3115200" class="footnote">6</a>]</sup>
191
191
      which matches and conversion will be carried out if needed.
192
192
    </p>
193
193
<p>
207
207
      implementation of Foo did override this method, the code path would jump to
208
208
      <code class="function">foo_set_property</code> after having retrieved from the 
209
209
      <span class="type"><a class="link" href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a></span> the <span class="emphasis"><em>param_id</em></span>
210
 
      <sup>[<a name="id3106905" href="#ftn.id3106905" class="footnote">7</a>]</sup>
 
210
      <sup>[<a name="id3115302" href="#ftn.id3115302" class="footnote">7</a>]</sup>
211
211
      which had been stored by
212
212
      <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property">g_object_class_install_property</a></code>.
213
213
    </p>
276
276
</div>
277
277
<div class="footnotes">
278
278
<br><hr width="100" align="left">
279
 
<div class="footnote"><p><sup>[<a name="ftn.id3106803" href="#id3106803" class="para">6</a>] </sup>Its behaviour might not be what you expect but it is up to you to actually avoid
 
279
<div class="footnote"><p><sup>[<a name="ftn.id3115200" href="#id3115200" class="para">6</a>] </sup>Its behaviour might not be what you expect but it is up to you to actually avoid
280
280
          relying on these transformations.
281
281
        </p></div>
282
 
<div class="footnote"><p><sup>[<a name="ftn.id3106905" href="#id3106905" class="para">7</a>] </sup>
 
282
<div class="footnote"><p><sup>[<a name="ftn.id3115302" href="#id3115302" class="para">7</a>] </sup>
283
283
          It should be noted that the param_id used here need only to uniquely identify each 
284
284
          <span class="type"><a class="link" href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a></span> within the <span class="type">FooClass</span> such that the switch
285
285
          used in the set and get methods actually works. Of course, this locally-unique