~gdesklets-desklet-team/gdesklets/0.36

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<section id="prefs-tag-font" xmlns:xi="http://www.w3.org/2001/XInclude">
  <title>&lt;font&gt;</title>

  <para>A font setting. Its representation is a font selection widget.
    </para>

  <screenshot>
    <mediaobject>
      <imageobject>
        <imagedata fileref="gfx/prefs-font" format="PNG"/>
      </imageobject>
    </mediaobject>
  </screenshot>


  <section><title>Attributes</title>

    <informaltable frame="topbot">
    <tgroup>

    <thead>
      <row>
        <entry>Name</entry>
        <entry>Type</entry>
        <entry>Default Value</entry>
        <entry>Description</entry>
      </row>
    </thead>

    <tbody>
      <row>
        <entry valign="top">bind</entry>
        <entry valign="top">string</entry>
        <entry valign="top"></entry>
        <entry valign="top">The name of the variable or property to which the
          configuration element is bound.</entry>
      </row>
      <row>
        <entry valign="top">callback</entry>
        <entry valign="top">function</entry>
        <entry valign="top"></entry>
        <entry valign="top"><emph>[new in 0.34]</emph>
          A callback function
          which is called every time
          the value changes. The callback takes the name of the bound
          property and the new value as arguments.</entry>
      </row>
      <row>
        <entry valign="top">enabled</entry>
        <entry valign="top">boolean</entry>
        <entry valign="top">true</entry>
        <entry valign="top"><emph>[new in 0.34]</emph> 
          Whether the config item is enabled. Disabled items appear greyed
          out.</entry>
      </row>
      <row>
        <entry valign="top">help</entry>
        <entry valign="top">string</entry>
        <entry valign="top"></entry>
        <entry valign="top">The tooltip text for the element in the
          configuration dialog.</entry>
      </row>
      <row>
        <entry valign="top">label</entry>
        <entry valign="top">string</entry>
        <entry valign="top"></entry>
        <entry valign="top">The label text for the element in the
          configuration dialog.</entry>
      </row>
    </tbody>

    </tgroup>
    </informaltable>

  </section>



  <section><title>Examples</title>

    <programlisting><![CDATA[
<font label="Font:" bind="Dsp.tz.font"/>
    ]]></programlisting>

  </section>

</section>