File: EBookView.html

package info (click to toggle)
evolution-data-server 1.6.3-5etch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 59,384 kB
  • ctags: 43,218
  • sloc: ansic: 319,315; tcl: 30,499; xml: 19,166; sh: 18,776; perl: 11,529; cpp: 8,259; java: 7,653; makefile: 6,448; awk: 1,338; yacc: 1,103; sed: 772; cs: 505; lex: 134; asm: 14
file content (380 lines) | stat: -rw-r--r-- 15,401 bytes parent folder | download | duplicates (2)
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
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>EBookView</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="Evolution API Reference: libebook, the Addressbook Library">
<link rel="up" href="ch01.html" title="Evolution API Reference: libebook, the Addressbook Library">
<link rel="prev" href="EBookListener.html" title="EBookListener">
<link rel="next" href="EBookViewListener.html" title="EBookViewListener">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Evolution API Reference: libebook, the Addressbook Library">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="EBookListener.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Evolution API Reference: libebook, the Addressbook Library</th>
<td><a accesskey="n" href="EBookViewListener.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2536264" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id2581690" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id2585550" class="shortcut">Object Hierarchy</a>
                  &#160;|&#160;
                  <a href="#id2585575" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="EBookView"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2536264"></a><span class="refentrytitle">EBookView</span>
</h2>
<p>EBookView &#8212; Represents a search against an EBook.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">



            <a href="EBookView.html#EBookView-struct">EBookView</a>;
<a href="EBookView.html" title="EBookView">EBookView</a>*  <a href="EBookView.html#e-book-view-new">e_book_view_new</a>                 (GNOME_Evolution_Addressbook_BookView corba_book_view,
                                             <a href="EBookViewListener.html" title="EBookViewListener">EBookViewListener</a> *listener);
void        <a href="EBookView.html#e-book-view-set-book">e_book_view_set_book</a>            (<a href="EBookView.html" title="EBookView">EBookView</a> *book_view,
                                             struct _EBook *book);


</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2585550"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">

  <a
href="/opt/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----EBookView
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2585575"></a><h2>Signals</h2>
<pre class="synopsis">

"<a href="EBookView.html#EBookView-contacts-added">contacts-added</a>"
            void        user_function      (<a href="EBookView.html" title="EBookView">EBookView</a> *ebookview,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   arg1,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   user_data)      : Run last
"<a href="EBookView.html#EBookView-contacts-changed">contacts-changed</a>"
            void        user_function      (<a href="EBookView.html" title="EBookView">EBookView</a> *ebookview,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   arg1,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   user_data)      : Run last
"<a href="EBookView.html#EBookView-contacts-removed">contacts-removed</a>"
            void        user_function      (<a href="EBookView.html" title="EBookView">EBookView</a> *ebookview,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   arg1,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   user_data)      : Run last
"<a href="EBookView.html#EBookView-sequence-complete">sequence-complete</a>"
            void        user_function      (<a href="EBookView.html" title="EBookView">EBookView</a> *ebookview,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>       arg1,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   user_data)      : Run last
"<a href="EBookView.html#EBookView-status-message">status-message</a>"
            void        user_function      (<a href="EBookView.html" title="EBookView">EBookView</a> *ebookview,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>     *arg1,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   user_data)      : Run last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2581690"></a><h2>Description</h2>
<p>
Event notifications and callbacks from EBookView go to the
<span class="type">e-book-view-listener</span>. Contrast EBookView with <span class="type">e-book</span>, which represents the
addressbook itself.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2581718"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2581729"></a><h3>
<a name="EBookView-struct"></a>EBookView</h3>
<a class="indexterm" name="id2581742"></a><pre class="programlisting">typedef struct _EBookView EBookView;</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2581757"></a><h3>
<a name="e-book-view-new"></a>e_book_view_new ()</h3>
<a class="indexterm" name="id2580571"></a><pre class="programlisting"><a href="EBookView.html" title="EBookView">EBookView</a>*  e_book_view_new                 (GNOME_Evolution_Addressbook_BookView corba_book_view,
                                             <a href="EBookViewListener.html" title="EBookViewListener">EBookViewListener</a> *listener);</pre>
<p>
Creates a new <a href="EBookView.html" title="EBookView"><span class="type">EBookView</span></a> based on <em class="parameter"><code>corba_book_view</code></em> and listening to <em class="parameter"><code>listener</code></em>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>corba_book_view</code></em>&#160;:</span></td>
<td> a CORBA BookView object
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>listener</code></em>&#160;:</span></td>
<td> an <a href="EBookViewListener.html" title="EBookViewListener"><span class="type">EBookViewListener</span></a>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A new <a href="EBookView.html" title="EBookView"><span class="type">EBookView</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2580688"></a><h3>
<a name="e-book-view-set-book"></a>e_book_view_set_book ()</h3>
<a class="indexterm" name="id2580699"></a><pre class="programlisting">void        e_book_view_set_book            (<a href="EBookView.html" title="EBookView">EBookView</a> *book_view,
                                             struct _EBook *book);</pre>
<p>
Makes <em class="parameter"><code>book_view</code></em> listen to changes in <em class="parameter"><code>book</code></em>. This function apparently
has no effect for the time being.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>book_view</code></em>&#160;:</span></td>
<td> an <a href="EBookView.html" title="EBookView"><span class="type">EBookView</span></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>book</code></em>&#160;:</span></td>
<td> an <a href="EBook.html" title="EBook"><span class="type">EBook</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2580798"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2580808"></a><h3>
<a name="EBookView-contacts-added"></a>The "contacts-added" signal</h3>
<a class="indexterm" name="id2580816"></a><pre class="programlisting">void        user_function                  (<a href="EBookView.html" title="EBookView">EBookView</a> *ebookview,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   arg1,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   user_data)      : Run last</pre>
<p>
Fired when more contacts are found.  Each contact in the list will be unref'd
when done, and the list freed, so simply reference any contacts you want to
keep.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>ebookview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>

</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2534330"></a><h3>
<a name="EBookView-contacts-changed"></a>The "contacts-changed" signal</h3>
<a class="indexterm" name="id2534337"></a><pre class="programlisting">void        user_function                  (<a href="EBookView.html" title="EBookView">EBookView</a> *ebookview,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   arg1,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   user_data)      : Run last</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>ebookview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>

</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2534425"></a><h3>
<a name="EBookView-contacts-removed"></a>The "contacts-removed" signal</h3>
<a class="indexterm" name="id2534432"></a><pre class="programlisting">void        user_function                  (<a href="EBookView.html" title="EBookView">EBookView</a> *ebookview,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   arg1,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   user_data)      : Run last</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>ebookview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>

</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2580928"></a><h3>
<a name="EBookView-sequence-complete"></a>The "sequence-complete" signal</h3>
<a class="indexterm" name="id2580935"></a><pre class="programlisting">void        user_function                  (<a href="EBookView.html" title="EBookView">EBookView</a> *ebookview,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>       arg1,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   user_data)      : Run last</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>ebookview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>

</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2581024"></a><h3>
<a name="EBookView-status-message"></a>The "status-message" signal</h3>
<a class="indexterm" name="id2581032"></a><pre class="programlisting">void        user_function                  (<a href="EBookView.html" title="EBookView">EBookView</a> *ebookview,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>     *arg1,
                                            <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>   user_data)      : Run last</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>ebookview</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>

</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2581122"></a><h2>See Also</h2>
<p>
<span class="type">e-book-view-listener</span>, <span class="type">e-book</span>
</p>
</div>
</div>
</body>
</html>