This file is indexed.

/usr/share/gtk-doc/html/rhythmbox/rhythmbox-rb-util.html is in rhythmbox-doc 2.96-0ubuntu4.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>rb-util</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Rhythmbox Development Reference Manual">
<link rel="up" href="ch02.html" title="Lib">
<link rel="prev" href="rhythmbox-rb-tree-dnd.html" title="rb-tree-dnd">
<link rel="next" href="rhythmbox-rb-text-helpers.html" title="rb-text-helpers">
<meta name="generator" content="GTK-Doc V1.18 (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="rhythmbox-rb-tree-dnd.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.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">Rhythmbox Development Reference Manual</th>
<td><a accesskey="n" href="rhythmbox-rb-text-helpers.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#rhythmbox-rb-util.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#rhythmbox-rb-util.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="rhythmbox-rb-util"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="rhythmbox-rb-util.top_of_page"></a>rb-util</span></h2>
<p>rb-util — assorted utility functions</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="rhythmbox-rb-util.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="rhythmbox-rb-util.html#rb-true-function" title="rb_true_function ()">rb_true_function</a>                    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="rhythmbox-rb-util.html#rb-false-function" title="rb_false_function ()">rb_false_function</a>                   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="rhythmbox-rb-util.html#rb-null-function" title="rb_null_function ()">rb_null_function</a>                    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="rhythmbox-rb-util.html#rb-copy-function" title="rb_copy_function ()">rb_copy_function</a>                    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="rhythmbox-rb-util.html#rb-gvalue-compare" title="rb_gvalue_compare ()">rb_gvalue_compare</a>                   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *a</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *b</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="rhythmbox-rb-util.html#rb-compare-gtimeval" title="rb_compare_gtimeval ()">rb_compare_gtimeval</a>                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *a</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *b</code></em>);
<a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="rhythmbox-rb-util.html#rb-image-new-from-stock" title="rb_image_new_from_stock ()">rb_image_new_from_stock</a>             (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html#GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-util.html#rb-gtk-action-popup-menu" title="rb_gtk_action_popup_menu ()">rb_gtk_action_popup_menu</a>            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html"><span class="type">GtkUIManager</span></a> *uimanager</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *path</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="rhythmbox-rb-util.html#rb-is-main-thread" title="rb_is_main_thread ()">rb_is_main_thread</a>                   (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-util.html#rb-assert-locked" title="rb_assert_locked ()">rb_assert_locked</a>                    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Threads.html#GMutex"><span class="type">GMutex</span></a> *mutex</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-util.html#rb-threads-init" title="rb_threads_init ()">rb_threads_init</a>                     (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **            <a class="link" href="rhythmbox-rb-util.html#rb-string-split-words" title="rb_string_split_words ()">rb_string_split_words</a>               (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="rhythmbox-rb-util.html#rb-search-fold" title="rb_search_fold ()">rb_search_fold</a>                      (<em class="parameter"><code>const <span class="type">char</span> *original</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="rhythmbox-rb-util.html#rb-make-duration-string" title="rb_make_duration_string ()">rb_make_duration_string</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> duration</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="rhythmbox-rb-util.html#rb-make-elapsed-time-string" title="rb_make_elapsed_time_string ()">rb_make_elapsed_time_string</a>         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> elapsed</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> duration</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> show_remaining</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="rhythmbox-rb-util.html#rb-string-list-equal" title="rb_string_list_equal ()">rb_string_list_equal</a>                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *a</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *b</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="rhythmbox-rb-util.html#rb-string-list-copy" title="rb_string_list_copy ()">rb_string_list_copy</a>                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="rhythmbox-rb-util.html#rb-string-list-contains" title="rb_string_list_contains ()">rb_string_list_contains</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *s</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-util.html#rb-list-destroy-free" title="rb_list_destroy_free ()">rb_list_destroy_free</a>                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroyer</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-util.html#rb-list-deep-free" title="rb_list_deep_free ()">rb_list_deep_free</a>                   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-util.html#rb-slist-deep-free" title="rb_slist_deep_free ()">rb_slist_deep_free</a>                  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *list</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="rhythmbox-rb-util.html#rb-collate-hash-table-keys" title="rb_collate_hash_table_keys ()">rb_collate_hash_table_keys</a>          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *table</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="rhythmbox-rb-util.html#rb-collate-hash-table-values" title="rb_collate_hash_table_values ()">rb_collate_hash_table_values</a>        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *table</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="rhythmbox-rb-util.html#rb-uri-list-parse" title="rb_uri_list_parse ()">rb_uri_list_parse</a>                   (<em class="parameter"><code>const <span class="type">char</span> *uri_list</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="rhythmbox-rb-util.html#rb-signal-accumulator-object-handled" title="rb_signal_accumulator_object_handled ()">rb_signal_accumulator_object_handled</a>
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *hint</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *return_accu</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *handler_return</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="rhythmbox-rb-util.html#rb-signal-accumulator-value-array" title="rb_signal_accumulator_value_array ()">rb_signal_accumulator_value_array</a>   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *hint</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *return_accu</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *handler_return</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-util.html#rb-value-array-append-data" title="rb_value_array_append_data ()">rb_value_array_append_data</a>          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> *array</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>,
                                                         <em class="parameter"><code>...</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-util.html#rb-value-free" title="rb_value_free ()">rb_value_free</a>                       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *val</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="rhythmbox-rb-util.html#rb-str-in-strv" title="rb_str_in_strv ()">rb_str_in_strv</a>                      (<em class="parameter"><code>const <span class="type">char</span> *needle</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> **haystack</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-util.html#rb-set-tree-view-column-fixed-width" title="rb_set_tree_view_column_fixed_width ()">rb_set_tree_view_column_fixed_width</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *treeview</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkCellRenderer.html"><span class="type">GtkCellRenderer</span></a> *renderer</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> **strings</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> padding</code></em>);
<a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         <a class="link" href="rhythmbox-rb-util.html#rb-scale-pixbuf-to-size" title="rb_scale_pixbuf_to_size ()">rb_scale_pixbuf_to_size</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html#GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="rhythmbox-rb-util.description"></a><h2>Description</h2>
<p>
This is a dumping ground for utility functions that may or may not
be generally useful in Rhythmbox or elsewhere.  Things end up here
if they're clever or if they're used all over the place.
</p>
</div>
<div class="refsect1">
<a name="rhythmbox-rb-util.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="rb-true-function"></a><h3>rb_true_function ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_true_function                    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-false-function"></a><h3>rb_false_function ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_false_function                   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-null-function"></a><h3>rb_null_function ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            rb_null_function                    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-copy-function"></a><h3>rb_copy_function ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            rb_copy_function                    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-gvalue-compare"></a><h3>rb_gvalue_compare ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 rb_gvalue_compare                   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *a</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *b</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-compare-gtimeval"></a><h3>rb_compare_gtimeval ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 rb_compare_gtimeval                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *a</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *b</code></em>);</pre>
<p>
Compares two <a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> structures for sorting.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
<td>left hand side</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
<td>right hand size</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>-1 if <em class="parameter"><code>a</code></em> &lt; <em class="parameter"><code>b</code></em>, 0 if <em class="parameter"><code>a</code></em> == <em class="parameter"><code>b</code></em>, 1 if <em class="parameter"><code>a</code></em> &gt; <em class="parameter"><code>b</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="rb-image-new-from-stock"></a><h3>rb_image_new_from_stock ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         rb_image_new_from_stock             (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html#GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);</pre>
<p>
Same as <em class="parameter"><code>gtk_image_new_from_stock</code></em> except that it mirrors the icons for RTL
languages.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td>stock image id</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td>requested icon size</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gtk3/GtkImage.html"><span class="type">GtkImage</span></a> of the requested stock item. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="rb-gtk-action-popup-menu"></a><h3>rb_gtk_action_popup_menu ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rb_gtk_action_popup_menu            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html"><span class="type">GtkUIManager</span></a> *uimanager</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *path</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-is-main-thread"></a><h3>rb_is_main_thread ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_is_main_thread                   (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Checks if currently executing on the main thread.
</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 href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if on the main thread</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="rb-assert-locked"></a><h3>rb_assert_locked ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rb_assert_locked                    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Threads.html#GMutex"><span class="type">GMutex</span></a> *mutex</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-threads-init"></a><h3>rb_threads_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rb_threads_init                     (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-string-split-words"></a><h3>rb_string_split_words ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **            rb_string_split_words               (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
<p>
Splits <em class="parameter"><code>string</code></em> on word boundaries using Unicode character definitions.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
<td>the string to split</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>NULL-terminated array of strings. <span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> zero-terminated=1][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="rb-search-fold"></a><h3>rb_search_fold ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             rb_search_fold                      (<em class="parameter"><code>const <span class="type">char</span> *original</code></em>);</pre>
<p>
Returns a case-folded and punctuation-stripped version of <em class="parameter"><code>original</code></em>, useful
for performing text searches.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>original</code></em> :</span></p></td>
<td>the string to fold</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>case-folded string. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="rb-make-duration-string"></a><h3>rb_make_duration_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              rb_make_duration_string             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> duration</code></em>);</pre>
<p>
Constructs a string describing the specified duration.  The string
describes hours, minutes, and seconds, and its format is localised.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>duration</code></em> :</span></p></td>
<td>duration in seconds</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>duration string. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="rb-make-elapsed-time-string"></a><h3>rb_make_elapsed_time_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              rb_make_elapsed_time_string         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> elapsed</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> duration</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> show_remaining</code></em>);</pre>
<p>
Constructs a string describing a playback position.  The string describes hours,
minutes, and seconds, and its format is localised.  The string can describe either
the elapsed time or the time remaining.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>elapsed</code></em> :</span></p></td>
<td>elapsed time (in seconds)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>duration</code></em> :</span></p></td>
<td>duration (in seconds)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_remaining</code></em> :</span></p></td>
<td>if <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, show the remaining time, otherwise show elapsed time</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>elapsed/remaining time string. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="rb-string-list-equal"></a><h3>rb_string_list_equal ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_string_list_equal                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *a</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *b</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-string-list-copy"></a><h3>rb_string_list_copy ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             rb_string_list_copy                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-string-list-contains"></a><h3>rb_string_list_contains ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_string_list_contains             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *s</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-list-destroy-free"></a><h3>rb_list_destroy_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rb_list_destroy_free                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroyer</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-list-deep-free"></a><h3>rb_list_deep_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rb_list_deep_free                   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-slist-deep-free"></a><h3>rb_slist_deep_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rb_slist_deep_free                  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-collate-hash-table-keys"></a><h3>rb_collate_hash_table_keys ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             rb_collate_hash_table_keys          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *table</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-collate-hash-table-values"></a><h3>rb_collate_hash_table_values ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             rb_collate_hash_table_values        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *table</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-uri-list-parse"></a><h3>rb_uri_list_parse ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             rb_uri_list_parse                   (<em class="parameter"><code>const <span class="type">char</span> *uri_list</code></em>);</pre>
<p>
Converts a single string containing a list of URIs into
a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of URI strings.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri_list</code></em> :</span></p></td>
<td>string containing URIs to parse</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of URI strings. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> utf8][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="rb-signal-accumulator-object-handled"></a><h3>rb_signal_accumulator_object_handled ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_signal_accumulator_object_handled
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *hint</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *return_accu</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *handler_return</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-signal-accumulator-value-array"></a><h3>rb_signal_accumulator_value_array ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_signal_accumulator_value_array   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *hint</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *return_accu</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *handler_return</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-value-array-append-data"></a><h3>rb_value_array_append_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rb_value_array_append_data          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> *array</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>,
                                                         <em class="parameter"><code>...</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-value-free"></a><h3>rb_value_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rb_value_free                       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *val</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-str-in-strv"></a><h3>rb_str_in_strv ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_str_in_strv                      (<em class="parameter"><code>const <span class="type">char</span> *needle</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> **haystack</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="rb-set-tree-view-column-fixed-width"></a><h3>rb_set_tree_view_column_fixed_width ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rb_set_tree_view_column_fixed_width (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *treeview</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkCellRenderer.html"><span class="type">GtkCellRenderer</span></a> *renderer</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> **strings</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> padding</code></em>);</pre>
<p>
Sets a fixed size for a tree view column based on
a set of strings to be displayed in the column.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>treeview</code></em> :</span></p></td>
<td>the <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> containing the column</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td>
<td>the <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html"><span class="type">GtkTreeViewColumn</span></a> to size</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
<td>the <a href="/usr/share/gtk-doc/html/gtk3/GtkCellRenderer.html"><span class="type">GtkCellRenderer</span></a> used in the column</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>strings</code></em> :</span></p></td>
<td>a NULL-terminated set of strings to base the size on. <span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> zero-terminated=1]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>padding</code></em> :</span></p></td>
<td>a small amount of extra padding for the column</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="rb-scale-pixbuf-to-size"></a><h3>rb_scale_pixbuf_to_size ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         rb_scale_pixbuf_to_size             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html#GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);</pre>
<p>
Creates a new <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from the original one, for a target of
size, respecting the aspect ratio of the image.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
<td>the <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> containing the original image</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td>a stock icon size</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>scaled <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>