File: classGFC_1_1Gtk_1_1IconTheme.html

package info (click to toggle)
gfcui 2.3.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 43,420 kB
  • ctags: 18,023
  • sloc: cpp: 53,967; sh: 31,555; makefile: 1,322; perl: 108
file content (792 lines) | stat: -rw-r--r-- 44,293 bytes parent folder | download | duplicates (3)
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
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>GTK+ Foundation Classes</title>
  <link href="gfc.css" rel="stylesheet" type="text/css">
  <meta content="The GFC Development Team" name="author">
  <meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
 alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
 border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td
 style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
 alt="GFC Logo" src="../images/gfc.png"
 style="width: 207px; height: 92px;"></td>
      <td
 style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
 alt="GFC Title Logo" src="../images/gfc-title.png"
 style="width: 418px; height: 76px;"><br>
      </td>
    </tr>
    <tr>
      <td
 style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
 style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
      </td>
      <td
 style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
 style="font-family: helvetica,arial,sans-serif;"><a
 href="../html/index.html">Main Page</a>&nbsp; |&nbsp; <a
 href="../html/namespaces.html">Namespace List</a>&nbsp; |&nbsp; <a
 href="classes.html">Alphabetical List</a>&nbsp; |&nbsp; <a
 href="../html/annotated.html">Class List</a>&nbsp; |&nbsp; <a
 href="../html/files.html">File List</a></small><br>
      </td>
    </tr>
  </tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>GFC::Gtk::IconTheme Class Reference</h1>A GtkIconTheme C++ wrapper class.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="icontheme_8hh-source.html">gfc/gtk/icontheme.hh</a>&gt;</code>
<p>
<p>Inheritance diagram for GFC::Gtk::IconTheme:
<p><center><img src="classGFC_1_1Gtk_1_1IconTheme.png" usemap="#GFC::Gtk::IconTheme_map" border="0" alt=""></center>
<map name="GFC::Gtk::IconTheme_map">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html" alt="GFC::G::Object" shape="rect" coords="0,112,134,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="0,56,134,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="0,0,134,24">
</map>
<a href="classGFC_1_1Gtk_1_1IconTheme-members.html">List of all members.</a><h2>Signal Prototypes</h2>
<ul>
<li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">ChangedSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z588_2">changed_signal</a>
<dl class="el"><dd class="mdescRight">Changed signal (see <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z592_0">sig_changed()</a>).  <a href="#z588_2"></a><br></dl></ul>
<h2>Public Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z589_0">IconTheme</a> ()
<dl class="el"><dd class="mdescRight">Constructs a new icon theme object.  <a href="#z589_0"></a><br></dl><li><a class="anchor" name="z589_1" doxytag="GFC::Gtk::IconTheme::~IconTheme" ></a>
virtual <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z589_1">~IconTheme</a> ()
<dl class="el"><dd class="mdescRight">Destructor. <br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<ul>
<li><a class="anchor" name="z590_0" doxytag="GFC::Gtk::IconTheme::gtk_icon_theme" ></a>
GtkIconTheme * <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z590_0">gtk_icon_theme</a> () const
<dl class="el"><dd class="mdescRight">Get a pointer to the GtkIconTheme structure. <br></dl><li><a class="anchor" name="z590_1" doxytag="GFC::Gtk::IconTheme::operator GtkIconTheme *" ></a>
<a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z590_1">operator GtkIconTheme *</a> () const
<dl class="el"><dd class="mdescRight">Conversion operator; safely converts an <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> to a GtkIconTheme pointer. <br></dl><li>std::vector&lt; <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &gt; <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z590_2">get_search_path</a> () const
<dl class="el"><dd class="mdescRight">Gets the current search path (see <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_1">set_search_path()</a>).  <a href="#z590_2"></a><br></dl><li><a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z590_3">get_example_icon_name</a> () const
<dl class="el"><dd class="mdescRight">Gets the name of an icon that is representative of the current theme (for instance, to use when presenting a list of themes to the user).  <a href="#z590_3"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z590_5">has_icon</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;icon_name) const
<dl class="el"><dd class="mdescRight">Checks whether an icon theme includes an icon for a particular name.  <a href="#z590_5"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Methods</div></td></tr>
<ul>
<li>void <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_0">set_screen</a> (<a class="el" href="classGFC_1_1Gdk_1_1Screen.html">Gdk::Screen</a> *screen)
<dl class="el"><dd class="mdescRight">Sets the screen for an icon theme.  <a href="#z591_0"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_1">set_search_path</a> (const std::vector&lt; <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &gt; &amp;path)
<dl class="el"><dd class="mdescRight">Sets the search path for the icon theme object.  <a href="#z591_1"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_3">append_search_path</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;path)
<dl class="el"><dd class="mdescRight">Appends a directory to the search path (see <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_1">set_search_path()</a>).  <a href="#z591_3"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_5">prepend_search_path</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;path)
<dl class="el"><dd class="mdescRight">Prepends a directory to the search path (see <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_1">set_search_path()</a>).  <a href="#z591_5"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_7">set_custom_theme</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;theme_name)
<dl class="el"><dd class="mdescRight">Sets the name of the icon theme that the <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> object uses, overriding system configuration.  <a href="#z591_7"></a><br></dl><li><a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer</a>&lt; <a class="el" href="classGFC_1_1Gtk_1_1IconInfo.html">IconInfo</a> &gt; <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_9">lookup_icon</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;icon_name, int size, <a class="el" href="namespaceGFC_1_1Gtk.html#a197">IconLookupFlagsField</a> flags)
<dl class="el"><dd class="mdescRight">Looks up a named icon and returns a structure containing information such as the filename of the icon.  <a href="#z591_9"></a><br></dl><li><a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer</a>&lt; <a class="el" href="classGFC_1_1Gdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt; <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_11">load_icon</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;icon_name, int size, <a class="el" href="namespaceGFC_1_1Gtk.html#a197">IconLookupFlagsField</a> flags, <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Error.html">G::Error</a> *error=0)
<dl class="el"><dd class="mdescRight">Looks up an icon in an icon theme, scales it to the given size and renders it into a pixbuf.  <a href="#z591_11"></a><br></dl><li>std::vector&lt; <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &gt; <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_13">list_icons</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;context)
<dl class="el"><dd class="mdescRight">Lists the icons in the current icon theme.  <a href="#z591_13"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_14">rescan_if_needed</a> ()
<dl class="el"><dd class="mdescRight">Checks to see if the icon theme has changed; if it has, any currently cached information is discarded and will be reloaded next time the icon theme is accessed.  <a href="#z591_14"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Signal Proxies</div></td></tr>
<ul>
<li><a class="anchor" name="z592_0" doxytag="GFC::Gtk::IconTheme::sig_changed" ></a>
const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">ChangedSignalProxy</a> <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z592_0">sig_changed</a> ()
<dl class="el"><dd class="mdescRight">Connect to the changed_signal; emitted when the current icon theme is switched or GTK+ detects that a change has occurred in the contents of the current icon theme. <br></dl></ul>
<h2>Static Public Member Functions</h2>
<ul>
<li><a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> * <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#e0">get_for_screen</a> (const <a class="el" href="classGFC_1_1Gdk_1_1Screen.html">Gdk::Screen</a> *screen=0)
<dl class="el"><dd class="mdescRight">Gets the icon theme object associated with <em>screen</em>.  <a href="#e0"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#e2">add_builtin_icon</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;icon_name, int size, <a class="el" href="classGFC_1_1Gdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &amp;pixbuf)
<dl class="el"><dd class="mdescRight">Registers a built-in icon for icon theme lookups.  <a href="#e2"></a><br></dl></ul>
<h2>Protected Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z587_0">IconTheme</a> (GtkIconTheme *icon_theme, bool <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html#z143_1">owns_reference</a>=true)
<dl class="el"><dd class="mdescRight">Construct a new <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> from an existing GtkIconTheme.  <a href="#z587_0"></a><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A GtkIconTheme C++ wrapper class. 
<p>
<a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> acts as a database of information about an icon theme. Normally, you retrieve the icon theme for a particular screen using Gtk::IconTeme::get_for_screen() and it will contain information about current icon theme for that screen, but you can also create a new <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> object and set the icon theme name explicitely using <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_7">Gtk::IconTheme::set_custom_theme()</a>.<p>
<a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> provides a facility for looking up icons by name and size. The main reason for using a name rather than simply providing a filename is to allow different icons to be used depending on what icon theme is seleceted by the user. The operation of icon themes on Linux and Unix follows the Icon Theme Specification. There is a default icon theme, named hicolor where applications should install their icons, but more additional application themes can be installed as operating system vendors and users choose.<p>
Named icons are similar to the <a href="classGFC_1_1Gtk_1_1IconFactory.html">Themeable Stock Images</a>, and the distinction between the two may be a bit confusing. A few things to keep in mind: <a class="el" href="classGFC_1_1Gtk_1_1Stock.html">Stock</a> images usually are used in conjunction with stock items, such as <a class="el" href="classGFC_1_1Gtk_1_1StockId.html#z845_47">Gtk::StockId::OK</a> or <a class="el" href="classGFC_1_1Gtk_1_1StockId.html#z845_48">Gtk::StockId::OPEN</a>. Named icons are easier to set up and therefore are more useful for new icons that an application wants to add, such as application icons or window icons.<p>
<a class="el" href="classGFC_1_1Gtk_1_1Stock.html">Stock</a> images can only be loaded at the symbolic sizes defined by the <a class="el" href="namespaceGFC_1_1Gtk.html#a325">Gtk::IconSize</a> enumeration, or by custom sizes defined by <a class="el" href="namespaceGFC_1_1Gtk.html#a301">Gtk::icon_size_register()</a>, while named icons are more flexible and any pixel size can be specified. Because stock images are closely tied to stock items, and thus to actions in the user interface, stock images may come in multiple variants for different widget states or writing directions.<p>
A good rule of thumb is that if there is a stock image for what you want to use, use it, otherwise use a named icon. It turns out that internally stock images are generally defined in terms of one or more named icons. (An example of the more than one case is icons that depend on writing direction; <a class="el" href="classGFC_1_1Gtk_1_1StockId.html#z845_29">Gtk::StockId::GO_FORWARD</a> uses the two themed icons "gtk-stock-go-forward-ltr" and "gtk-stock-go-forward-rtl".)<p>
In many cases, named themes are used indirectly, via <a class="el" href="classGFC_1_1Gtk_1_1Image.html">Gtk::Image</a> or stock items, rather than directly, but looking up icons directly is also simple. The <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> object acts as a database of all the icons in the current theme. You can create new <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> objects, but its much more efficient to use the standard icon theme for the <a class="el" href="classGFC_1_1Gdk_1_1Screen.html">Gdk::Screen</a> so that the icon information is shared with other people looking up icons. In the case where the default screen is being used, looking up an icon can be as simple as:<p>
<div class="fragment"><pre>    G::Error error;
    Gtk::IconTheme *icon_theme = Gtk::IconTheme::get_for_screen();
    Pointer&lt;Gdk::Pixbuf&gt; pixbuf = icon_theme-&gt;load_icon(<span class="stringliteral">"my-icon-name"</span>, 48, 0, &amp;error);
    
    <span class="keywordflow">if</span> (!pixbuf)
    {
        g_warning(<span class="stringliteral">"Couldn't load icon: %s"</span>, error.message());
    }
    <span class="keywordflow">else</span>
    {
        <span class="comment">// Use the pixbuf</span>
    }
</pre></div>
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="z587_0" doxytag="GFC::Gtk::IconTheme::IconTheme" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::IconTheme::IconTheme           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">GtkIconTheme *&nbsp;</td>
          <td class="mdname" nowrap> <em>icon_theme</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>owns_reference</em> = <code>true</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [explicit, protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct a new <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> from an existing GtkIconTheme. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>icon_theme</em>&nbsp;</td><td>A pointer to a GtkIconTheme. </td></tr>
    <tr><td></td><td valign=top><em>owns_reference</em>&nbsp;</td><td>Set false if the initial reference count is floating, set true if it's not.</td></tr>
  </table>
</dl>
<br>
The <em>icon_theme</em> can be a newly created GtkIconTheme or an existing GtkIconTheme (see <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html#z68_0">G::Object::Object</a>).     </td>
  </tr>
</table>
<a class="anchor" name="z589_0" doxytag="GFC::Gtk::IconTheme::IconTheme" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::IconTheme::IconTheme           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructs a new icon theme object. 
<p>
Icon theme objects are used to lookup up an icon by name in a particular icon theme. Usually, you'll want to use <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#e0">get_for_screen()</a> rather than creating a new icon theme object for scratch.     </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="e2" doxytag="GFC::Gtk::IconTheme::add_builtin_icon" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::IconTheme::add_builtin_icon           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>icon_name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classGFC_1_1Gdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>pixbuf</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Registers a built-in icon for icon theme lookups. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>icon_name</em>&nbsp;</td><td>The name of the icon to register. </td></tr>
    <tr><td></td><td valign=top><em>size</em>&nbsp;</td><td>The size at which to register the icon. </td></tr>
    <tr><td></td><td valign=top><em>pixbuf</em>&nbsp;</td><td>A <a class="el" href="classGFC_1_1Gdk_1_1Pixbuf.html">Gdk::Pixbuf</a> that contains the image to use for <em>icon_name</em>.</td></tr>
  </table>
</dl>
<br>
The idea of built-in icons is to allow an application or library that uses themed icons to function requiring files to be present in the file system. For instance, the default images for all of GTK+'s stock icons are registered as built-in icons.<p>
In general, if you use <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#e2">add_builtin_icon()</a> you should also install the icon in the icon theme, so that the icon is generally available. Note different images can be registered for the same icon name at different sizes.<p>
This method will generally be used with pixbufs loaded inline (see <a class="el" href="classGFC_1_1Gdk_1_1Pixbuf.html#e7">Gdk::Pixbuf::create(int, const unsigned char*, bool, G::Error*)</a>);     </td>
  </tr>
</table>
<a class="anchor" name="z591_3" doxytag="GFC::Gtk::IconTheme::append_search_path" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::IconTheme::append_search_path           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Appends a directory to the search path (see <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_1">set_search_path()</a>). 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>path</em>&nbsp;</td><td>The directory name to append to the icon path. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z590_3" doxytag="GFC::Gtk::IconTheme::get_example_icon_name" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> GFC::Gtk::IconTheme::get_example_icon_name           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the name of an icon that is representative of the current theme (for instance, to use when presenting a list of themes to the user). 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The name of an example icon or null. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="e0" doxytag="GFC::Gtk::IconTheme::get_for_screen" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a>* GFC::Gtk::IconTheme::get_for_screen           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gdk_1_1Screen.html">Gdk::Screen</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>screen</em> = <code>0</code>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the icon theme object associated with <em>screen</em>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>screen</em>&nbsp;</td><td>A <a class="el" href="classGFC_1_1Gdk_1_1Screen.html">Gdk::Screen</a>, or null for the default screen. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A unique <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> associated with the given screen.</dd></dl>
<br>
If <em>screen</em> is null the icon theme for the default screen is returned. The icon theme is associated with the screen and can be used as long as the screen is open.<p>
If this method has not previously been called for the given screen, a new icon theme object will be created and associated with the screen. Icon theme objects are fairly expensive to create, so using this method is usually a better choice than constructing a new icon theme object and setting the screen yourself. By using this method a single icon theme object will be shared between users.     </td>
  </tr>
</table>
<a class="anchor" name="z590_2" doxytag="GFC::Gtk::IconTheme::get_search_path" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::vector&lt;<a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>&gt; GFC::Gtk::IconTheme::get_search_path           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the current search path (see <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_1">set_search_path()</a>). 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A list of icon theme path directories. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z590_5" doxytag="GFC::Gtk::IconTheme::has_icon" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::IconTheme::has_icon           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>icon_name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Checks whether an icon theme includes an icon for a particular name. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>icon_name</em>&nbsp;</td><td>The name of an icon. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if icon theme includes an icon for <em>icon_name</em>. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z591_13" doxytag="GFC::Gtk::IconTheme::list_icons" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::vector&lt;<a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>&gt; GFC::Gtk::IconTheme::list_icons           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>context</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Lists the icons in the current icon theme. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A vector of <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> holding the names of all the icons in the theme.</dd></dl>
<br>
Only a subset of the icons can be listed by providing a context string. The set of values for the context string is system dependent, but will typically include such values as 'apps' and 'mimetypes'. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>context</em>&nbsp;</td><td>A string identifying a particular type of icon, or null to list all icons. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z591_11" doxytag="GFC::Gtk::IconTheme::load_icon" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer</a>&lt;<a class="el" href="classGFC_1_1Gdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; GFC::Gtk::IconTheme::load_icon           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>icon_name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceGFC_1_1Gtk.html#a197">IconLookupFlagsField</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>flags</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Error.html">G::Error</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>error</em> = <code>0</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Looks up an icon in an icon theme, scales it to the given size and renders it into a pixbuf. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>icon_name</em>&nbsp;</td><td>The name of the icon to lookup. </td></tr>
    <tr><td></td><td valign=top><em>size</em>&nbsp;</td><td>The desired icon size. </td></tr>
    <tr><td></td><td valign=top><em>flags</em>&nbsp;</td><td>The <a class="el" href="namespaceGFC_1_1Gtk.html#a350">Gtk::IconLookupFlags</a> modifying the behavior of the icon lookup. </td></tr>
    <tr><td></td><td valign=top><em>error</em>&nbsp;</td><td>The location to store error information on failure, or null. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A smart pointer to the rendered icon, or null if the icon isn't found.</dd></dl>
<br>
This is a convenience method; if more details about the icon are needed, use <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_9">lookup_icon()</a> followed by <a class="el" href="classGFC_1_1Gtk_1_1IconInfo.html#z586_0">Gtk::IconInfo::load_icon()</a>. Note the size of the resulting icon may not be exactly the requested size (see <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_11">load_icon()</a>).<p>
The rendered icon may be a newly created icon or a new reference to an internal icon, so you must not modify the icon.     </td>
  </tr>
</table>
<a class="anchor" name="z591_9" doxytag="GFC::Gtk::IconTheme::lookup_icon" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer</a>&lt;<a class="el" href="classGFC_1_1Gtk_1_1IconInfo.html">IconInfo</a>&gt; GFC::Gtk::IconTheme::lookup_icon           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>icon_name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceGFC_1_1Gtk.html#a197">IconLookupFlagsField</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>flags</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Looks up a named icon and returns a structure containing information such as the filename of the icon. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>icon_name</em>&nbsp;</td><td>The name of the icon to lookup. </td></tr>
    <tr><td></td><td valign=top><em>size</em>&nbsp;</td><td>The desired icon size. </td></tr>
    <tr><td></td><td valign=top><em>flags</em>&nbsp;</td><td>The <a class="el" href="namespaceGFC_1_1Gtk.html#a350">Gtk::IconLookupFlags</a> modifying the behavior of the icon lookup. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>An <a class="el" href="classGFC_1_1Gtk_1_1IconInfo.html">IconInfo</a> object containing information about the icon, or null if no icon was found.</dd></dl>
<br>
The icon can then be rendered into a pixbuf using <a class="el" href="classGFC_1_1Gtk_1_1IconInfo.html#z586_0">Gtk::IconInfo::load_icon()</a>. <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_11">Gtk::IconTheme::load_icon()</a> combines these two steps if all you need is the pixbuf.     </td>
  </tr>
</table>
<a class="anchor" name="z591_5" doxytag="GFC::Gtk::IconTheme::prepend_search_path" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::IconTheme::prepend_search_path           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Prepends a directory to the search path (see <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z591_1">set_search_path()</a>). 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>path</em>&nbsp;</td><td>The directory name to prepend to the icon path. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z591_14" doxytag="GFC::Gtk::IconTheme::rescan_if_needed" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::IconTheme::rescan_if_needed           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Checks to see if the icon theme has changed; if it has, any currently cached information is discarded and will be reloaded next time the icon theme is accessed. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if the icon theme has changed and needed to be reloaded. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z591_7" doxytag="GFC::Gtk::IconTheme::set_custom_theme" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::IconTheme::set_custom_theme           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>theme_name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the name of the icon theme that the <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html">IconTheme</a> object uses, overriding system configuration. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>theme_name</em>&nbsp;</td><td>The name of icon theme to use instead of the configured theme.</td></tr>
  </table>
</dl>
<br>
This method cannot be called on the icon theme objects returned from <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#e0">get_for_screen()</a>.     </td>
  </tr>
</table>
<a class="anchor" name="z591_0" doxytag="GFC::Gtk::IconTheme::set_screen" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::IconTheme::set_screen           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gdk_1_1Screen.html">Gdk::Screen</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>screen</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the screen for an icon theme. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>screen</em>&nbsp;</td><td>A <a class="el" href="classGFC_1_1Gdk_1_1Screen.html">Gdk::Screen</a>.</td></tr>
  </table>
</dl>
<br>
The screen is used to track the user's currently configured icon theme, which might be different for different screens.     </td>
  </tr>
</table>
<a class="anchor" name="z591_1" doxytag="GFC::Gtk::IconTheme::set_search_path" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::IconTheme::set_search_path           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const std::vector&lt; <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &gt; &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the search path for the icon theme object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>path</em>&nbsp;</td><td>A vector of directories that are searched for icon themes.</td></tr>
  </table>
</dl>
<br>
When looking for an icon theme, GTK+ will search for a subdirectory of one or more of the directories in path with the same name as the icon theme. Note, themes from multiple of the path elements are combined to allow themes to be extended by adding icons in the user's home directory.<p>
In addition if an icon found isn't found either in the current icon theme or the default icon theme, and an image file with the right name is found directly in one of the elements of path, then that image will be used for the icon name. (This is legacy feature, and new icons should be put into the default icon theme, which is called DEFAULT_THEME_NAME, rather than directly on the icon path.)     </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="z588_2" doxytag="GFC::Gtk::IconTheme::changed_signal" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">ChangedSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z588_2">GFC::Gtk::IconTheme::changed_signal</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Changed signal (see <a class="el" href="classGFC_1_1Gtk_1_1IconTheme.html#z592_0">sig_changed()</a>). 
<p>
Calls a slot with the signature: <div class="fragment"><pre>             <span class="keywordtype">void</span> function();
</pre></div>    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="icontheme_8hh-source.html">icontheme.hh</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:40 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>