File: eog-eog-thumb-view.html

package info (click to toggle)
eog 2.30.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 14,044 kB
  • ctags: 3,758
  • sloc: ansic: 29,896; xml: 16,113; sh: 10,620; makefile: 678
file content (341 lines) | stat: -rw-r--r-- 22,560 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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EogThumbView</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="Eye of GNOME Reference Manual">
<link rel="up" href="ch01.html" title="User Interface">
<link rel="prev" href="eog-eog-thumb-nav.html" title="EogThumbNav">
<link rel="next" href="EogScrollView.html" title="EogScrollView">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</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="eog-eog-thumb-nav.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">Eye of GNOME Reference Manual</th>
<td><a accesskey="n" href="EogScrollView.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#eog-eog-thumb-view.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#eog-eog-thumb-view.description" class="shortcut">Description</a>
                   | 
                  <a href="#eog-eog-thumb-view.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#eog-eog-thumb-view.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
</td></tr>
</table>
<div class="refentry" title="EogThumbView">
<a name="eog-eog-thumb-view"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="eog-eog-thumb-view.top_of_page"></a>EogThumbView</span></h2>
<p>EogThumbView</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="eog-eog-thumb-view.synopsis"></a><h2>Synopsis</h2>
<a name="EogThumbView"></a><pre class="synopsis">enum                <a class="link" href="eog-eog-thumb-view.html#EogThumbViewSelectionChange" title="enum EogThumbViewSelectionChange">EogThumbViewSelectionChange</a>;
                    <a class="link" href="eog-eog-thumb-view.html#EogThumbView-struct" title="EogThumbView">EogThumbView</a>;
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="eog-eog-thumb-view.html#eog-thumb-view-new" title="eog_thumb_view_new ()">eog_thumb_view_new</a>                  (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="eog-eog-thumb-view.html#eog-thumb-view-set-model" title="eog_thumb_view_set_model ()">eog_thumb_view_set_model</a>            (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="eog-eog-list-store.html#EogListStore"><span class="type">EogListStore</span></a> *store</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="eog-eog-thumb-view.html#eog-thumb-view-set-item-height" title="eog_thumb_view_set_item_height ()">eog_thumb_view_set_item_height</a>      (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="eog-eog-thumb-view.html#eog-thumb-view-get-n-selected" title="eog_thumb_view_get_n_selected ()">eog_thumb_view_get_n_selected</a>       (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>);
<a class="link" href="eog-eog-image.html#EogImage"><span class="returnvalue">EogImage</span></a> *          <a class="link" href="eog-eog-thumb-view.html#eog-thumb-view-get-first-selected-image" title="eog_thumb_view_get_first_selected_image ()">eog_thumb_view_get_first_selected_image</a>
                                                        (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="eog-eog-thumb-view.html#eog-thumb-view-get-selected-images" title="eog_thumb_view_get_selected_images ()">eog_thumb_view_get_selected_images</a>  (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="eog-eog-thumb-view.html#eog-thumb-view-select-single" title="eog_thumb_view_select_single ()">eog_thumb_view_select_single</a>        (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbViewSelectionChange" title="enum EogThumbViewSelectionChange"><span class="type">EogThumbViewSelectionChange</span></a> change</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="eog-eog-thumb-view.html#eog-thumb-view-set-current-image" title="eog_thumb_view_set_current_image ()">eog_thumb_view_set_current_image</a>    (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="eog-eog-image.html#EogImage"><span class="type">EogImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> deselect_other</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="eog-eog-thumb-view.html#eog-thumb-view-set-thumbnail-popup" title="eog_thumb_view_set_thumbnail_popup ()">eog_thumb_view_set_thumbnail_popup</a>  (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkMenu.html"><span class="type">GtkMenu</span></a> *menu</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="eog-eog-thumb-view.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
               +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
                     +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
                           +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkIconView.html">GtkIconView</a>
                                 +----EogThumbView
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="eog-eog-thumb-view.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
EogThumbView implements
 AtkImplementorIface,  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a> and  <a href="http://library.gnome.org/devel/gtk/unstable/GtkCellLayout.html">GtkCellLayout</a>.</p>
</div>
<div class="refsect1" title="Description">
<a name="eog-eog-thumb-view.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="eog-eog-thumb-view.details"></a><h2>Details</h2>
<div class="refsect2" title="enum EogThumbViewSelectionChange">
<a name="EogThumbViewSelectionChange"></a><h3>enum EogThumbViewSelectionChange</h3>
<pre class="programlisting">typedef enum {
	EOG_THUMB_VIEW_SELECT_CURRENT = 0,
	EOG_THUMB_VIEW_SELECT_LEFT,
	EOG_THUMB_VIEW_SELECT_RIGHT,
	EOG_THUMB_VIEW_SELECT_FIRST,
	EOG_THUMB_VIEW_SELECT_LAST,
	EOG_THUMB_VIEW_SELECT_RANDOM
} EogThumbViewSelectionChange;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="EogThumbView">
<a name="EogThumbView-struct"></a><h3>EogThumbView</h3>
<pre class="programlisting">typedef struct _EogThumbView EogThumbView;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="eog_thumb_view_new ()">
<a name="eog-thumb-view-new"></a><h3>eog_thumb_view_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         eog_thumb_view_new                  (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly created <a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="eog_thumb_view_set_model ()">
<a name="eog-thumb-view-set-model"></a><h3>eog_thumb_view_set_model ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                eog_thumb_view_set_model            (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="eog-eog-list-store.html#EogListStore"><span class="type">EogListStore</span></a> *store</code></em>);</pre>
<p>
Sets the <a class="link" href="eog-eog-list-store.html#EogListStore"><span class="type">EogListStore</span></a> to be used with <em class="parameter"><code>thumbview</code></em>. If an initial image
was set during <em class="parameter"><code>store</code></em> creation, its thumbnail will be selected and visible.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbview</code></em> :</span></p></td>
<td>A <a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>store</code></em> :</span></p></td>
<td>A <a class="link" href="eog-eog-list-store.html#EogListStore"><span class="type">EogListStore</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="eog_thumb_view_set_item_height ()">
<a name="eog-thumb-view-set-item-height"></a><h3>eog_thumb_view_set_item_height ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                eog_thumb_view_set_item_height      (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
<p>
Sets the height of each thumbnail in <em class="parameter"><code>thumbview</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbview</code></em> :</span></p></td>
<td>A <a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td>The desired height.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="eog_thumb_view_get_n_selected ()">
<a name="eog-thumb-view-get-n-selected"></a><h3>eog_thumb_view_get_n_selected ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               eog_thumb_view_get_n_selected       (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>);</pre>
<p>
Gets the number of images that are currently selected in <em class="parameter"><code>thumbview</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbview</code></em> :</span></p></td>
<td>An <a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the number of selected images in <em class="parameter"><code>thumbview</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="eog_thumb_view_get_first_selected_image ()">
<a name="eog-thumb-view-get-first-selected-image"></a><h3>eog_thumb_view_get_first_selected_image ()</h3>
<pre class="programlisting"><a class="link" href="eog-eog-image.html#EogImage"><span class="returnvalue">EogImage</span></a> *          eog_thumb_view_get_first_selected_image
                                                        (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>);</pre>
<p>
Returns the first selected image. Note that the returned <a class="link" href="eog-eog-image.html#EogImage"><span class="type">EogImage</span></a>
is not ensured to be really the first selected image in <em class="parameter"><code>thumbview</code></em>, but
generally, it will be.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbview</code></em> :</span></p></td>
<td>A <a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A <a class="link" href="eog-eog-image.html#EogImage"><span class="type">EogImage</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="eog_thumb_view_get_selected_images ()">
<a name="eog-thumb-view-get-selected-images"></a><h3>eog_thumb_view_get_selected_images ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             eog_thumb_view_get_selected_images  (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>);</pre>
<p>
Gets a list with the currently selected images. Note that a new reference is
hold for each image and the list must be freed with <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbview</code></em> :</span></p></td>
<td>A <a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A newly allocated list of <a class="link" href="eog-eog-image.html#EogImage"><span class="type">EogImage</span></a>'s.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="eog_thumb_view_select_single ()">
<a name="eog-thumb-view-select-single"></a><h3>eog_thumb_view_select_single ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                eog_thumb_view_select_single        (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbViewSelectionChange" title="enum EogThumbViewSelectionChange"><span class="type">EogThumbViewSelectionChange</span></a> change</code></em>);</pre>
<p>
Changes the current selection according to a single movement
described by <a class="link" href="eog-eog-thumb-view.html#EogThumbViewSelectionChange" title="enum EogThumbViewSelectionChange"><span class="type">EogThumbViewSelectionChange</span></a>. If there are no
thumbnails currently selected, one is selected according to the
natural selection according to the <a class="link" href="eog-eog-thumb-view.html#EogThumbViewSelectionChange" title="enum EogThumbViewSelectionChange"><span class="type">EogThumbViewSelectionChange</span></a>
used, p.g., when <code class="literal">EOG_THUMB_VIEW_SELECT_RIGHT</code> is the selected change,
the first thumbnail will be selected.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbview</code></em> :</span></p></td>
<td>A <a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>change</code></em> :</span></p></td>
<td>A <a class="link" href="eog-eog-thumb-view.html#EogThumbViewSelectionChange" title="enum EogThumbViewSelectionChange"><span class="type">EogThumbViewSelectionChange</span></a>, describing the
desired selection change.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="eog_thumb_view_set_current_image ()">
<a name="eog-thumb-view-set-current-image"></a><h3>eog_thumb_view_set_current_image ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                eog_thumb_view_set_current_image    (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="eog-eog-image.html#EogImage"><span class="type">EogImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> deselect_other</code></em>);</pre>
<p>
Changes the status of a image, marking it as currently selected.
If <em class="parameter"><code>deselect_other</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, all other selected images will be
deselected.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbview</code></em> :</span></p></td>
<td>A <a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
<td>The image to be selected.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>deselect_other</code></em> :</span></p></td>
<td>Whether to deselect currently selected images.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="eog_thumb_view_set_thumbnail_popup ()">
<a name="eog-thumb-view-set-thumbnail-popup"></a><h3>eog_thumb_view_set_thumbnail_popup ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                eog_thumb_view_set_thumbnail_popup  (<em class="parameter"><code><a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a> *thumbview</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkMenu.html"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
<p>
Set the contextual menu to be used with the thumbnails in the
widget. This can be done only once.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbview</code></em> :</span></p></td>
<td>An <a class="link" href="eog-eog-thumb-view.html#EogThumbView"><span class="type">EogThumbView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/GtkMenu.html"><span class="type">GtkMenu</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>