File: classGtk_1_1IconSet.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (484 lines) | stat: -rw-r--r-- 30,388 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::IconSet Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1IconSet.html">IconSet</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::IconSet Class Reference</h1><!-- doxytag: class="Gtk::IconSet" -->
<p><a href="classGtk_1_1IconSet-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a74f8341263828b1fd199ea97bcb7b7a0">IconSet</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a96d972c3659bf595ba9d08321e07dd33">IconSet</a> (GtkIconSet* gobject, bool make_a_copy=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#aef92238b05036576f0f75bc547dc0482">IconSet</a> (const <a class="el" href="classGtk_1_1IconSet.html">IconSet</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1IconSet.html">IconSet</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a499d1f7a05526b4af9c43a2c11c1bed5">operator=</a> (const <a class="el" href="classGtk_1_1IconSet.html">IconSet</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a7c415d212c1b1d442709d6e41020c5d2">~IconSet</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a2f3e797b67c64c35f3319496e8e5cc39">swap</a> (<a class="el" href="classGtk_1_1IconSet.html">IconSet</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkIconSet*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a08103c2be66b90dc26ceb3a5a4f7cc3a">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a08103c2be66b90dc26ceb3a5a4f7cc3a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkIconSet*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#aa0420b9ad08c80326bdf2d5a49f8ad6e">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#aa0420b9ad08c80326bdf2d5a49f8ad6e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkIconSet*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#afb74d5729a6f1c7227293d81a3135916">gobj_copy</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. <a href="#afb74d5729a6f1c7227293d81a3135916"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a708edd7b96b3facda0e94a2086fae9b9">IconSet</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; pixbuf)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1IconSet.html">IconSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a8d7d2d76d15e6f50b104dadb48125e0b">copy</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies <em>icon_set</em> by value. <a href="#a8d7d2d76d15e6f50b104dadb48125e0b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a63011eec8801c22ec1fc60b03a020748">render_icon</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Style.html">Style</a> &gt;&amp; style, <a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">TextDirection</a> direction, <a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a> state, <a class="el" href="classGtk_1_1IconSize.html">IconSize</a> <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01154.html#ga445a43f417432dd1b9aed90ef239c700">size</a>, <a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; widget, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; detail)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders an icon using <a class="el" href="classGtk_1_1Style.html#a40a10865414f55092da7bd1c60d9d5dc" title="Renders the icon specified by source at the given size according to the given parameters...">Gtk::Style::render_icon()</a>. <a href="#a63011eec8801c22ec1fc60b03a020748"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a6d929e0b56c46794132b237b022781bb">add_source</a> (const <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp; source)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Icon sets have a list of <a class="el" href="classGtk_1_1IconSource.html">Gtk::IconSource</a>, which they use as base icons for rendering icons in different states and sizes. <a href="#a6d929e0b56c46794132b237b022781bb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; <a class="el" href="classGtk_1_1IconSize.html">IconSize</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#a96a9abc5adac28fe91b103dcb2ee3dc9">get_sizes</a> () const </td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGtk_1_1IconSet.html">IconSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#aa6cc0560e7f2ced992863f74704570ab">lookup_default</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp; stock_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks for an icon in the list of default icon factories. <a href="#aa6cc0560e7f2ced992863f74704570ab"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkIconSet*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#adf54658f63a8511983cbf1fe5d850360">gobject_</a></td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSet.html#afcaf3bb7f86927f20d79f09c1ce72af3">wrap</a> (GtkIconSet* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#afcaf3bb7f86927f20d79f09c1ce72af3"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a74f8341263828b1fd199ea97bcb7b7a0"></a><!-- doxytag: member="Gtk::IconSet::IconSet" ref="a74f8341263828b1fd199ea97bcb7b7a0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::IconSet::IconSet </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a96d972c3659bf595ba9d08321e07dd33"></a><!-- doxytag: member="Gtk::IconSet::IconSet" ref="a96d972c3659bf595ba9d08321e07dd33" args="(GtkIconSet *gobject, bool make_a_copy=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::IconSet::IconSet </td>
          <td>(</td>
          <td class="paramtype">GtkIconSet *&#160;</td>
          <td class="paramname"> <em>gobject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>make_a_copy</em> = <code>true</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aef92238b05036576f0f75bc547dc0482"></a><!-- doxytag: member="Gtk::IconSet::IconSet" ref="aef92238b05036576f0f75bc547dc0482" args="(const IconSet &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::IconSet::IconSet </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1IconSet.html">IconSet</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7c415d212c1b1d442709d6e41020c5d2"></a><!-- doxytag: member="Gtk::IconSet::~IconSet" ref="a7c415d212c1b1d442709d6e41020c5d2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::IconSet::~IconSet </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a708edd7b96b3facda0e94a2086fae9b9"></a><!-- doxytag: member="Gtk::IconSet::IconSet" ref="a708edd7b96b3facda0e94a2086fae9b9" args="(const Glib::RefPtr&lt; Gdk::Pixbuf &gt; &amp;pixbuf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::IconSet::IconSet </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>pixbuf</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6d929e0b56c46794132b237b022781bb"></a><!-- doxytag: member="Gtk::IconSet::add_source" ref="a6d929e0b56c46794132b237b022781bb" args="(const IconSource &amp;source)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::IconSet::add_source </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp;&#160;</td>
          <td class="paramname"> <em>source</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Icon sets have a list of <a class="el" href="classGtk_1_1IconSource.html">Gtk::IconSource</a>, which they use as base icons for rendering icons in different states and sizes. </p>
<p>Icons are scaled, made to look insensitive, etc. in <a class="el" href="classGtk_1_1IconSet.html#a63011eec8801c22ec1fc60b03a020748" title="Renders an icon using Gtk::Style::render_icon().">render_icon()</a>, but <a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a> needs base images to work with. The base images and when to use them are described by a <a class="el" href="classGtk_1_1IconSource.html">Gtk::IconSource</a>.</p>
<p>This function copies <em>source</em>, so you can reuse the same source immediately without affecting the icon set.</p>
<p>An example of when you'd use this function: a web browser's "Back
 to Previous Page" icon might point in a different direction in Hebrew and in English; it might look different when insensitive; and it might change size depending on toolbar mode (small/large icons). So a single icon set would contain all those variants of the icon, and you might add a separate source for each one.</p>
<p>You should nearly always add a "default" icon source with all fields wildcarded, which will be used as a fallback if no more specific source matches. <a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a> always prefers more specific icon sources to more generic icon sources. The order in which you add the sources to the icon set does not matter.</p>
<p>new_from_pixbuf() creates a new icon set with a default icon source based on the given pixbuf. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>source</em>&#160;</td><td>A <a class="el" href="classGtk_1_1IconSource.html">Gtk::IconSource</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8d7d2d76d15e6f50b104dadb48125e0b"></a><!-- doxytag: member="Gtk::IconSet::copy" ref="a8d7d2d76d15e6f50b104dadb48125e0b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1IconSet.html">IconSet</a> Gtk::IconSet::copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies <em>icon_set</em> by value. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a> identical to the first. </dd></dl>

</div>
</div>
<a class="anchor" id="a96a9abc5adac28fe91b103dcb2ee3dc9"></a><!-- doxytag: member="Gtk::IconSet::get_sizes" ref="a96a9abc5adac28fe91b103dcb2ee3dc9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt;<a class="el" href="classGtk_1_1IconSize.html">IconSize</a>&gt; Gtk::IconSet::get_sizes </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa0420b9ad08c80326bdf2d5a49f8ad6e"></a><!-- doxytag: member="Gtk::IconSet::gobj" ref="aa0420b9ad08c80326bdf2d5a49f8ad6e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkIconSet* Gtk::IconSet::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="a08103c2be66b90dc26ceb3a5a4f7cc3a"></a><!-- doxytag: member="Gtk::IconSet::gobj" ref="a08103c2be66b90dc26ceb3a5a4f7cc3a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkIconSet* Gtk::IconSet::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="afb74d5729a6f1c7227293d81a3135916"></a><!-- doxytag: member="Gtk::IconSet::gobj_copy" ref="afb74d5729a6f1c7227293d81a3135916" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkIconSet* Gtk::IconSet::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="aa6cc0560e7f2ced992863f74704570ab"></a><!-- doxytag: member="Gtk::IconSet::lookup_default" ref="aa6cc0560e7f2ced992863f74704570ab" args="(const Gtk::StockID &amp;stock_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classGtk_1_1IconSet.html">IconSet</a> Gtk::IconSet::lookup_default </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp;&#160;</td>
          <td class="paramname"> <em>stock_id</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Looks for an icon in the list of default icon factories. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stock_id</em>&#160;</td><td><a class="el" href="classGtk_1_1StockID.html" title="See also Gtk::BuiltinStockID.">StockID</a> to search for</td></tr>
  </table>
  </dd>
</dl>
<p>For display to the user, you should use <a class="el" href="classGtk_1_1Style.html#a56707668788ba2b3fcb75fdac47668bd" title="Looks up stock_id in the icon factories associated with style and the default icon...">Style::lookup_icon_set()</a> on the <a class="el" href="classGtk_1_1Style.html">Style</a> for the widget that will display the icon, instead of using this function directly, so that themes are taken into account</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>an <a class="el" href="classGtk_1_1IconSet.html">IconSet</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a499d1f7a05526b4af9c43a2c11c1bed5"></a><!-- doxytag: member="Gtk::IconSet::operator=" ref="a499d1f7a05526b4af9c43a2c11c1bed5" args="(const IconSet &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1IconSet.html">IconSet</a>&amp; Gtk::IconSet::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1IconSet.html">IconSet</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a63011eec8801c22ec1fc60b03a020748"></a><!-- doxytag: member="Gtk::IconSet::render_icon" ref="a63011eec8801c22ec1fc60b03a020748" args="(const Glib::RefPtr&lt; Style &gt; &amp;style, TextDirection direction, Gtk::StateType state, IconSize size, Widget &amp;widget, const Glib::ustring &amp;detail)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gtk::IconSet::render_icon </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Style.html">Style</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>style</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">TextDirection</a>&#160;</td>
          <td class="paramname"> <em>direction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a>&#160;</td>
          <td class="paramname"> <em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classGtk_1_1IconSize.html">IconSize</a>&#160;</td>
          <td class="paramname"> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>widget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>detail</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renders an icon using <a class="el" href="classGtk_1_1Style.html#a40a10865414f55092da7bd1c60d9d5dc" title="Renders the icon specified by source at the given size according to the given parameters...">Gtk::Style::render_icon()</a>. </p>
<p>In most cases, <a class="el" href="classGtk_1_1Widget.html#a91efd1b5aed7c184506ddd5721710584" title="A convenience function that uses the theme engine and RC file settings for the widget...">Gtk::Widget::render_icon()</a> is better, since it automatically provides most of the arguments from the current widget settings. This function never returns <code>0</code>; if the icon can't be rendered (perhaps because an image file fails to load), a default "missing
 image" icon will be returned instead. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>style</em>&#160;</td><td>A <a class="el" href="classGtk_1_1Style.html">Gtk::Style</a> associated with <em>widget</em>, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>direction</em>&#160;</td><td>Text direction. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>state</em>&#160;</td><td><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> state. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>size</em>&#160;</td><td>Icon size. A size of (GtkIconSize)-1 means render at the size of the source and don't scale. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>widget</em>&#160;</td><td><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> that will display the icon, or <code>0</code>. The only use that is typically made of this is to determine the appropriate <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>detail</em>&#160;</td><td>Detail to pass to the theme engine, or <code>0</code>. Note that passing a detail of anything but <code>0</code> will disable caching. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> to be displayed. </dd></dl>

</div>
</div>
<a class="anchor" id="a2f3e797b67c64c35f3319496e8e5cc39"></a><!-- doxytag: member="Gtk::IconSet::swap" ref="a2f3e797b67c64c35f3319496e8e5cc39" args="(IconSet &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::IconSet::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1IconSet.html">IconSet</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="afcaf3bb7f86927f20d79f09c1ce72af3"></a><!-- doxytag: member="Gtk::IconSet::wrap" ref="afcaf3bb7f86927f20d79f09c1ce72af3" args="(GtkIconSet *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a> wrap </td>
          <td>(</td>
          <td class="paramtype">GtkIconSet *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="adf54658f63a8511983cbf1fe5d850360"></a><!-- doxytag: member="Gtk::IconSet::gobject_" ref="adf54658f63a8511983cbf1fe5d850360" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkIconSet* <a class="el" href="classGtk_1_1IconSet.html#adf54658f63a8511983cbf1fe5d850360">Gtk::IconSet::gobject_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/iconset.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:53 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>