File: exo-docs.xml

package info (click to toggle)
exo 4.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,336 kB
  • sloc: ansic: 16,412; sh: 5,029; makefile: 350; xml: 233; perl: 103; sed: 16
file content (282 lines) | stat: -rw-r--r-- 10,531 bytes parent folder | download
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                      "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
  <!ENTITY % gtkdocentities SYSTEM "xml/gtkdocentities.ent">
  %gtkdocentities;
]>

<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
  <bookinfo>
    <title>&package_name; Reference Manual</title>
    <releaseinfo>
      For &package_string;.
      The latest version of this documentation can be found on-line at
      <ulink role="online-location" url="https://developer.xfce.org/&package_name;/index.html">https://developer.xfce.org/&package_name;/</ulink>.
    </releaseinfo>
    <copyright>
      <year>2004-2007</year>
      <holder>os-cillation e.K.</holder>
    </copyright>

    <copyright>
      <year>2009-2024</year>
      <holder>Xfce Development Team</holder>
    </copyright>
  </bookinfo>

  <part id="exo-overview">
    <title>Overview</title>
    <para>
      exo is an extension library for <ulink url="https://xfce.org/" type="http">Xfce</ulink>,
      originally developed by <ulink url="https://www.os-cillation.com/" type="http">os-cillation</ulink>.
      While Xfce comes with quite a few libraries that are targeted at desktop development,
      libexo is targeted at application developement - in particular, developing applications for
      the Xfce Desktop Environment.
    </para>

    <para>
      The <application>exo</application> library depends on the following libraries:

      <variablelist>
        <varlistentry>
          <term>GLib</term>
          <listitem>
            <para>
              A general-purpose utility library, not specific to graphical user interfaces.
              GLib provides many useful data types, macros, type conversions,
              string utilities, file utilities, a main loop abstraction, and so on.
            </para>
          </listitem>
        </varlistentry>

        <varlistentry>
          <term>Pango</term>
          <listitem>
            <para>
              Pango is a library for internationalized text handling. It centers
              around the <link linkend="PangoLayout">PangoLayout</link> object, representing
              a paragraph of text.  Pango provides the engine for <link
              linkend="GtkTextView">GtkTextView</link>, <link linkend="GtkLabel">GtkLabel</link>,
              <link linkend="GtkEntry">GtkEntry</link>, and other widgets that display text.
            </para>
          </listitem>
        </varlistentry>

        <varlistentry>
          <term>ATK</term>
          <listitem>
            <para>
              ATK is the Accessibility Toolkit. It provides a set of generic
              interfaces allowing accessibility technologies to interact with a
              graphical user interface. For example, a screen reader uses ATK to
              discover the text in an interface and read it to blind users.  GTK+
              widgets have built-in support for accessibility using the ATK
              framework.
            </para>
          </listitem>
        </varlistentry>

        <varlistentry>
          <term>GdkPixbuf</term>
          <listitem>
            <para>
              This is a small library which allows you to create <link linkend="GdkPixbuf">GdkPixbuf</link>
              ("pixel buffer") objects from image data or image files. Use a <link linkend="GdkPixbuf">GdkPixbuf</link>
              in combination with <link linkend="GtkImage">GtkImage</link> to display images.
            </para>
          </listitem>
        </varlistentry>

        <varlistentry>
          <term>GDK</term>
          <listitem>
            <para>
              GDK is the abstraction layer that allows GTK+ to support multiple
              windowing systems. GDK provides drawing and window system facilities
              on X11, Windows, and the Linux framebuffer device.
            </para>
          </listitem>
        </varlistentry>

        <varlistentry>
          <term>GTK+</term>
          <listitem>
            <para>
              The GTK+ library contains <firstterm>widgets</firstterm>, that is, GUI
              components such as <link linkend="GtkButton">GtkButton</link> or
              <link linkend="GtkTextView">GtkTextView</link>.
            </para>
          </listitem>
        </varlistentry>

        <varlistentry>
          <term>libxfce4util</term>
          <listitem>
            <para>
              The Xfce utility library provides various helper functions and classes for
              C programmers, that aren't directly related to GUI tasks.
            </para>
          </listitem>
        </varlistentry>
      </variablelist>
    </para>
  </part>

  <part id="exo-widgets">
    <title>Additional widgets</title>

    <para>
      This section describes the additional widgets provided by the <application>exo</application> library. The <link
      linkend="ExoIconView">ExoIconView</link> and <link linkend="ExoTreeView">ExoTreeView</link>
      are views that display data from a <link linkend="GtkTreeModel">GtkTreeModel</link>, and can be seen as extensions to the basic widgets
      in Gtk+. For example, both <link linkend="ExoIconView">ExoIconView</link> and <link linkend="ExoTreeView">ExoTreeView</link> offer support
      for single-click mode, which is not provided by their Gtk+ counterparts.
    </para>

    <para>
      The <link linkend="ExoIconChooserDialog">ExoIconChooserDialog</link> is a special widget, that presents a dialog to let the user select
      an icon from the current icon theme or from an image file in the file system. You should use this dialog whenever you want the user to
      select an icon, instead of just displaying a <link linkend="GtkFileChooserDialog">GtkFileChooserDialog</link>.
    </para>

    <xi:include href="xml/exo-icon-chooser-dialog.xml"/>
    <xi:include href="xml/exo-icon-view.xml"/>
    <xi:include href="xml/exo-tree-view.xml"/>
  </part>

  <part id="exo-cell-renderers">
    <title>Additional cell renderers</title>

    <para>
      Gtk+ contains various cell renderers that are intended to be used with <link linkend="GtkTreeView">GtkTreeView</link>
      and <link linkend="GtkComboBox">GtkComboBox</link>, but are difficult to use with <link linkend="ExoIconView">ExoIconView</link>
      (or even <link linkend="GtkIconView">GtkIconView</link>), mainly because the renderers do not follow the state of the view and
      render appropriate indicators.
    </para>

    <para>
      Because of these issues, the <link linkend="ExoCellRendererIcon">ExoCellRendererIcon</link> class is provided, which
      includes a <literal>follow-state</literal> property that tells whether the renderer should follow the state of the view and
      draw appropriate indicators.
    </para>

    <para>
      The <link linkend="ExoCellRendererIcon">ExoCellRendererIcon</link> class should also be preferred over the the <link
      linkend="GtkCellRendererPixbuf">GtkCellRendererPixbuf</link> class when using named icons or image files because it uses a fixed
      size for layouting and loads the icons only on-demand (utilizing the thumbnail database whenever possible).
    </para>

    <xi:include href="xml/exo-cell-renderer-icon.xml"/>
  </part>

  <part id="exo-jobs">
    <title>Framework for threaded/asynchronous jobs</title>

    <para>
      <link linkend="ExoJob">ExoJob</link> provides a simple way to deal with threaded/asynchronous operations (called jobs here).
      It can be used to wrap any kind of blocking function calls like file operations or web service communication. It can be
      subclassed to add additional signals for progress information or password requests.
      <link linkend="ExoSimpleJob">ExoSimpleJob</link> is useful in situations where you don't need additional signals. It takes
      a <link linkend="ExoSimpleJobFunc">ExoSimpleJobFunc</link> callback and creates a job so one doesn't have to subclass
      <link linkend="ExoJob">ExoJob</link> just to execute a single function asynchronously.
    </para>

    <xi:include href="xml/exo-job.xml"/>
    <xi:include href="xml/exo-simple-job.xml"/>
  </part>

  <part id="exo-extensions">
    <title>Extensions to existing frameworks</title>

    <para>
      This section describes extensions to existing frameworks provided by the <application>exo</application>, that range from additional
      methods for certain classes to specialized functions dealing with <link linkend="GdkPixbuf">GdkPixbuf</link>s.
    </para>

    <xi:include href="xml/exo-gdk-pixbuf-extensions.xml"/>
    <xi:include href="xml/exo-gobject-extensions.xml"/>
    <xi:include href="xml/exo-gtk-extensions.xml"/>
  </part>

  <part id="exo-miscelleanous">
    <title>Miscelleanous</title>
    <xi:include href="xml/exo-config.xml"/>
    <xi:include href="xml/exo-binding.xml"/>
    <xi:include href="xml/exo-execute.xml"/>
    <xi:include href="xml/exo-string.xml"/>
    <xi:include href="xml/exo-utils.xml"/>
  </part>

  <chapter>
    <title>API Index</title>

    <index id="api-index-full">
      <title>All symbols</title>
    </index>

    <index id="api-index-0.3.1">
      <title>Added in 0.3.1</title>
    </index>

    <index id="api-index-0.3.1.1">
      <title>Added in 0.3.1.1</title>
    </index>

    <index id="api-index-0.3.1.3">
      <title>Added in 0.3.1.3</title>
    </index>

    <index id="api-index-0.3.1.5">
      <title>Added in 0.3.1.5</title>
    </index>

    <index id="api-index-0.3.1.9">
      <title>Added in 0.3.1.9</title>
    </index>

    <index id="api-index-0.3.3">
      <title>Added in 0.3.3</title>
    </index>

    <index id="api-index-0.4.0">
      <title>Added in 0.4.0</title>
    </index>

    <index id="api-index-0.5.0">
      <title>Added in 0.5.0</title>
    </index>

    <index id="api-index-0.7.1">
      <title>Added in 0.7.1</title>
    </index>

    <index id="api-index-0.10.2">
      <title>Added in 0.10.2</title>
    </index>

    <index id="api-index-0.11.4">
      <title>Added in 0.11.4</title>
    </index>

    <index id="api-index-0.11.5">
      <title>Added in 0.11.5</title>
    </index>

    <index id="api-index-deprecated">
      <title>Deprecated symbols</title>
      <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
    </index>
  </chapter>

  <index>
    <title>Index</title>
  </index>


</book>

<!--
  vi:set ts=2 sw=2 et ai:
-->