~inkscape.dev/inkscape-devlibs/devlibs-gtk3

« back to all changes in this revision

Viewing changes to share/doc/gtkmm-2.4/reference/html/classGtk_1_1IconSource.html

  • Committer: JazzyNico
  • Date: 2013-01-21 10:11:05 UTC
  • Revision ID: nicoduf@yahoo.fr-20130121101105-i8d8slkq9ng4olx8
Adding gtk2 libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 
5
<title>gtkmm: Gtk::IconSource Class Reference</title>
 
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
 
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
 
8
</head>
 
9
<body>
 
10
<!-- Generated by Doxygen 1.7.3 -->
 
11
<div id="top">
 
12
<div id="titlearea">
 
13
<table cellspacing="0" cellpadding="0">
 
14
 <tbody>
 
15
 <tr style="height: 56px;">
 
16
  <td style="padding-left: 0.5em;">
 
17
   <div id="projectname">gtkmm&#160;<span id="projectnumber">2.24.2</span></div>
 
18
  </td>
 
19
 </tr>
 
20
 </tbody>
 
21
</table>
 
22
</div>
 
23
  <div id="navrow1" class="tabs">
 
24
    <ul class="tablist">
 
25
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
 
26
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
 
27
      <li><a href="modules.html"><span>Modules</span></a></li>
 
28
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 
29
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
 
30
    </ul>
 
31
  </div>
 
32
  <div id="navrow2" class="tabs2">
 
33
    <ul class="tablist">
 
34
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
 
35
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
 
36
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
 
37
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
 
38
    </ul>
 
39
  </div>
 
40
  <div id="nav-path" class="navpath">
 
41
    <ul>
 
42
      <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li>
 
43
      <li class="navelem"><a class="el" href="classGtk_1_1IconSource.html">IconSource</a> </li>
 
44
    </ul>
 
45
  </div>
 
46
</div>
 
47
<div class="header">
 
48
  <div class="summary">
 
49
<a href="#pub-methods">Public Member Functions</a> &#124;
 
50
<a href="#pro-attribs">Protected Attributes</a> &#124;
 
51
<a href="#related">Related Functions</a> </div>
 
52
  <div class="headertitle">
 
53
<h1>Gtk::IconSource Class Reference</h1> </div>
 
54
</div>
 
55
<div class="contents">
 
56
<!-- doxytag: class="Gtk::IconSource" -->
 
57
<p><a href="classGtk_1_1IconSource-members.html">List of all members.</a></p>
 
58
<table class="memberdecls">
 
59
<tr><td colspan="2"><h2><a name="pub-methods"></a>
 
60
Public Member Functions</h2></td></tr>
 
61
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#ad116d11a5d857ce6221a70262a84a3a4">IconSource</a> ()</td></tr>
 
62
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a44c4b41ece9f9bda5d196f757e7c5c8f">IconSource</a> (GtkIconSource* gobject, bool make_a_copy=true)</td></tr>
 
63
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#aa34725e2b0a2e09f7ae6d5130eaaf4df">IconSource</a> (const <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp; other)</td></tr>
 
64
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a803ad30e1544d4983fa5039a92f987f7">operator=</a> (const <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp; other)</td></tr>
 
65
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#ad2d814961527f3755647b670621f19ed">~IconSource</a> ()</td></tr>
 
66
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a381e885c252afbf3a647a8561ebc2a74">swap</a> (<a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp; other)</td></tr>
 
67
<tr><td class="memItemLeft" align="right" valign="top">GtkIconSource*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a7c14ee01bb90968b2c930b873524e6e4">gobj</a> ()</td></tr>
 
68
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a7c14ee01bb90968b2c930b873524e6e4"></a><br/></td></tr>
 
69
<tr><td class="memItemLeft" align="right" valign="top">const GtkIconSource*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a58cf0bd123403dbee4ec19725a596ebd">gobj</a> () const </td></tr>
 
70
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a58cf0bd123403dbee4ec19725a596ebd"></a><br/></td></tr>
 
71
<tr><td class="memItemLeft" align="right" valign="top">GtkIconSource*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#abe204445677aaafac76225abe5a42db1">gobj_copy</a> () const </td></tr>
 
72
<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="#abe204445677aaafac76225abe5a42db1"></a><br/></td></tr>
 
73
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a41801a184775c47e6c2e65fee0e4cec2">set_filename</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; filename)</td></tr>
 
74
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the name of an image file to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a>. <a href="#a41801a184775c47e6c2e65fee0e4cec2"></a><br/></td></tr>
 
75
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a8e569cec71141a8ecebacf225d22729a">set_pixbuf</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; pixbuf)</td></tr>
 
76
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a pixbuf to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a>. <a href="#a8e569cec71141a8ecebacf225d22729a"></a><br/></td></tr>
 
77
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#abe7763cb46297ef0930d433357a66a09">get_filename</a> () const </td></tr>
 
78
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the source filename, or <code>0</code> if none is set. <a href="#abe7763cb46297ef0930d433357a66a09"></a><br/></td></tr>
 
79
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/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_1IconSource.html#a95f73a9793d6af134dcbf41e57e51cff">get_pixbuf</a> ()</td></tr>
 
80
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the source pixbuf, or <code>0</code> if none is set. <a href="#a95f73a9793d6af134dcbf41e57e51cff"></a><br/></td></tr>
 
81
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <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_1IconSource.html#aa8f0e245c3cc1a099d958b3beed28f43">get_pixbuf</a> () const </td></tr>
 
82
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the source pixbuf, or <code>0</code> if none is set. <a href="#aa8f0e245c3cc1a099d958b3beed28f43"></a><br/></td></tr>
 
83
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a1c306fcf2ac4d3e3f491c43921a3265f">set_direction_wildcarded</a> (bool setting=true)</td></tr>
 
84
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If the text direction is wildcarded, this source can be used as the base image for an icon in any Gtk::TextDirection. <a href="#a1c306fcf2ac4d3e3f491c43921a3265f"></a><br/></td></tr>
 
85
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a799e9c455e5f78bb54c6214062535241">set_state_wildcarded</a> (bool setting=true)</td></tr>
 
86
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If the widget state is wildcarded, this source can be used as the base image for an icon in any Gtk::StateType. <a href="#a799e9c455e5f78bb54c6214062535241"></a><br/></td></tr>
 
87
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a91a2063bfae7b6ad614dc15147b6d3b1">set_size_wildcarded</a> (bool setting=true)</td></tr>
 
88
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If the icon size is wildcarded, this source can be used as the base image for an icon of any size. <a href="#a91a2063bfae7b6ad614dc15147b6d3b1"></a><br/></td></tr>
 
89
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a4c799234fee629dcf1821ff75499eff4">get_size_wildcarded</a> () const </td></tr>
 
90
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a91a2063bfae7b6ad614dc15147b6d3b1" title="If the icon size is wildcarded, this source can be used as the base image for an icon of any size...">set_size_wildcarded()</a>. <a href="#a4c799234fee629dcf1821ff75499eff4"></a><br/></td></tr>
 
91
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a3374f27ba60030fc82d2798c643ffbd5">get_state_wildcarded</a> () const </td></tr>
 
92
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a799e9c455e5f78bb54c6214062535241" title="If the widget state is wildcarded, this source can be used as the base image for an icon in any Gtk::...">set_state_wildcarded()</a>. <a href="#a3374f27ba60030fc82d2798c643ffbd5"></a><br/></td></tr>
 
93
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#aa65e7296aadff66f2dccc5aa19fc1519">get_direction_wildcarded</a> () const </td></tr>
 
94
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a1c306fcf2ac4d3e3f491c43921a3265f" title="If the text direction is wildcarded, this source can be used as the base image for an icon in any Gtk...">set_direction_wildcarded()</a>. <a href="#aa65e7296aadff66f2dccc5aa19fc1519"></a><br/></td></tr>
 
95
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a3153f215a855ac1dbc93782692a3a9db">set_direction</a> (<a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">TextDirection</a> direction)</td></tr>
 
96
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the text direction this icon source is intended to be used with. <a href="#a3153f215a855ac1dbc93782692a3a9db"></a><br/></td></tr>
 
97
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a9cc65cff2d2574fb90b62fee4284af99">set_state</a> (<a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a> state)</td></tr>
 
98
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the widget state this icon source is intended to be used with. <a href="#a9cc65cff2d2574fb90b62fee4284af99"></a><br/></td></tr>
 
99
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#ae0b88adc6bbb4ff3b0b6a0279555efcf">set_size</a> (<a class="el" href="classGtk_1_1IconSize.html">IconSize</a> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01568.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
 
100
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the icon size this icon source is intended to be used with. <a href="#ae0b88adc6bbb4ff3b0b6a0279555efcf"></a><br/></td></tr>
 
101
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">TextDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#ac1c4a2fa081bf50df1f0938b35353837">get_direction</a> () const </td></tr>
 
102
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the text direction this icon source applies to. <a href="#ac1c4a2fa081bf50df1f0938b35353837"></a><br/></td></tr>
 
103
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#ad8d7c3932eb7d56d56598b223ce44c0d">get_state</a> () const </td></tr>
 
104
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the widget state this icon source applies to. <a href="#ad8d7c3932eb7d56d56598b223ce44c0d"></a><br/></td></tr>
 
105
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1IconSize.html">IconSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a690b0f0e7c34a49093869068674c7ff7">get_size</a> () const </td></tr>
 
106
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the icon size this source applies to. <a href="#a690b0f0e7c34a49093869068674c7ff7"></a><br/></td></tr>
 
107
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#ae0ea072ab57ae724e5957218a2f195b7">set_icon_name</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; icon_name)</td></tr>
 
108
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the name of an icon to look up in the current icon theme to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a>. <a href="#ae0ea072ab57ae724e5957218a2f195b7"></a><br/></td></tr>
 
109
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a9c99baebe10e598d977fe08dcb6c93e8">get_icon_name</a> () const </td></tr>
 
110
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the source icon name, or <code>0</code> if none is set. <a href="#a9c99baebe10e598d977fe08dcb6c93e8"></a><br/></td></tr>
 
111
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
 
112
Protected Attributes</h2></td></tr>
 
113
<tr><td class="memItemLeft" align="right" valign="top">GtkIconSource*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a76826db186409af0f30676002a5734ae">gobject_</a></td></tr>
 
114
<tr><td colspan="2"><h2><a name="related"></a>
 
115
Related Functions</h2></td></tr>
 
116
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
 
117
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a3470f7bb6dbbf05075419bf953f8d199">swap</a> (<a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp; lhs, <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp; rhs)</td></tr>
 
118
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1IconSource.html">Gtk::IconSource</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSource.html#a7d7a29bf9665ec2ca3eb03c6ff4ff841">wrap</a> (GtkIconSource* object, bool take_copy=false)</td></tr>
 
119
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a7d7a29bf9665ec2ca3eb03c6ff4ff841"></a><br/></td></tr>
 
120
</table>
 
121
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
 
122
<a class="anchor" id="ad116d11a5d857ce6221a70262a84a3a4"></a><!-- doxytag: member="Gtk::IconSource::IconSource" ref="ad116d11a5d857ce6221a70262a84a3a4" args="()" -->
 
123
<div class="memitem">
 
124
<div class="memproto">
 
125
      <table class="memname">
 
126
        <tr>
 
127
          <td class="memname">Gtk::IconSource::IconSource </td>
 
128
          <td>(</td>
 
129
          <td class="paramname"></td><td>)</td>
 
130
          <td></td>
 
131
        </tr>
 
132
      </table>
 
133
</div>
 
134
<div class="memdoc">
 
135
 
 
136
</div>
 
137
</div>
 
138
<a class="anchor" id="a44c4b41ece9f9bda5d196f757e7c5c8f"></a><!-- doxytag: member="Gtk::IconSource::IconSource" ref="a44c4b41ece9f9bda5d196f757e7c5c8f" args="(GtkIconSource *gobject, bool make_a_copy=true)" -->
 
139
<div class="memitem">
 
140
<div class="memproto">
 
141
      <table class="memname">
 
142
        <tr>
 
143
          <td class="memname">Gtk::IconSource::IconSource </td>
 
144
          <td>(</td>
 
145
          <td class="paramtype">GtkIconSource *&#160;</td>
 
146
          <td class="paramname"><em>gobject</em>, </td>
 
147
        </tr>
 
148
        <tr>
 
149
          <td class="paramkey"></td>
 
150
          <td></td>
 
151
          <td class="paramtype">bool&#160;</td>
 
152
          <td class="paramname"><em>make_a_copy</em> = <code>true</code>&#160;</td>
 
153
        </tr>
 
154
        <tr>
 
155
          <td></td>
 
156
          <td>)</td>
 
157
          <td></td><td><code> [explicit]</code></td>
 
158
        </tr>
 
159
      </table>
 
160
</div>
 
161
<div class="memdoc">
 
162
 
 
163
</div>
 
164
</div>
 
165
<a class="anchor" id="aa34725e2b0a2e09f7ae6d5130eaaf4df"></a><!-- doxytag: member="Gtk::IconSource::IconSource" ref="aa34725e2b0a2e09f7ae6d5130eaaf4df" args="(const IconSource &amp;other)" -->
 
166
<div class="memitem">
 
167
<div class="memproto">
 
168
      <table class="memname">
 
169
        <tr>
 
170
          <td class="memname">Gtk::IconSource::IconSource </td>
 
171
          <td>(</td>
 
172
          <td class="paramtype">const <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp;&#160;</td>
 
173
          <td class="paramname"><em>other</em></td><td>)</td>
 
174
          <td></td>
 
175
        </tr>
 
176
      </table>
 
177
</div>
 
178
<div class="memdoc">
 
179
 
 
180
</div>
 
181
</div>
 
182
<a class="anchor" id="ad2d814961527f3755647b670621f19ed"></a><!-- doxytag: member="Gtk::IconSource::~IconSource" ref="ad2d814961527f3755647b670621f19ed" args="()" -->
 
183
<div class="memitem">
 
184
<div class="memproto">
 
185
      <table class="memname">
 
186
        <tr>
 
187
          <td class="memname">Gtk::IconSource::~IconSource </td>
 
188
          <td>(</td>
 
189
          <td class="paramname"></td><td>)</td>
 
190
          <td></td>
 
191
        </tr>
 
192
      </table>
 
193
</div>
 
194
<div class="memdoc">
 
195
 
 
196
</div>
 
197
</div>
 
198
<hr/><h2>Member Function Documentation</h2>
 
199
<a class="anchor" id="ac1c4a2fa081bf50df1f0938b35353837"></a><!-- doxytag: member="Gtk::IconSource::get_direction" ref="ac1c4a2fa081bf50df1f0938b35353837" args="() const " -->
 
200
<div class="memitem">
 
201
<div class="memproto">
 
202
      <table class="memname">
 
203
        <tr>
 
204
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">TextDirection</a> Gtk::IconSource::get_direction </td>
 
205
          <td>(</td>
 
206
          <td class="paramname"></td><td>)</td>
 
207
          <td> const</td>
 
208
        </tr>
 
209
      </table>
 
210
</div>
 
211
<div class="memdoc">
 
212
 
 
213
<p>Obtains the text direction this icon source applies to. </p>
 
214
<p>The return value is only useful/meaningful if the text direction is <em>not</em> wildcarded. </p>
 
215
<dl class="return"><dt><b>Returns:</b></dt><dd>Text direction this source matches. </dd></dl>
 
216
 
 
217
</div>
 
218
</div>
 
219
<a class="anchor" id="aa65e7296aadff66f2dccc5aa19fc1519"></a><!-- doxytag: member="Gtk::IconSource::get_direction_wildcarded" ref="aa65e7296aadff66f2dccc5aa19fc1519" args="() const " -->
 
220
<div class="memitem">
 
221
<div class="memproto">
 
222
      <table class="memname">
 
223
        <tr>
 
224
          <td class="memname">bool Gtk::IconSource::get_direction_wildcarded </td>
 
225
          <td>(</td>
 
226
          <td class="paramname"></td><td>)</td>
 
227
          <td> const</td>
 
228
        </tr>
 
229
      </table>
 
230
</div>
 
231
<div class="memdoc">
 
232
 
 
233
<p>Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a1c306fcf2ac4d3e3f491c43921a3265f" title="If the text direction is wildcarded, this source can be used as the base image for an icon in any Gtk...">set_direction_wildcarded()</a>. </p>
 
234
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this icon source is a base for any text direction variant. </dd></dl>
 
235
 
 
236
</div>
 
237
</div>
 
238
<a class="anchor" id="abe7763cb46297ef0930d433357a66a09"></a><!-- doxytag: member="Gtk::IconSource::get_filename" ref="abe7763cb46297ef0930d433357a66a09" args="() const " -->
 
239
<div class="memitem">
 
240
<div class="memproto">
 
241
      <table class="memname">
 
242
        <tr>
 
243
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::IconSource::get_filename </td>
 
244
          <td>(</td>
 
245
          <td class="paramname"></td><td>)</td>
 
246
          <td> const</td>
 
247
        </tr>
 
248
      </table>
 
249
</div>
 
250
<div class="memdoc">
 
251
 
 
252
<p>Retrieves the source filename, or <code>0</code> if none is set. </p>
 
253
<p>The filename is not a copy, and should not be modified or expected to persist beyond the lifetime of the icon source. </p>
 
254
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classGtk_1_1Image.html" title="A widget displaying an image.">Image</a> filename. This string must not be modified or freed. </dd></dl>
 
255
 
 
256
</div>
 
257
</div>
 
258
<a class="anchor" id="a9c99baebe10e598d977fe08dcb6c93e8"></a><!-- doxytag: member="Gtk::IconSource::get_icon_name" ref="a9c99baebe10e598d977fe08dcb6c93e8" args="() const " -->
 
259
<div class="memitem">
 
260
<div class="memproto">
 
261
      <table class="memname">
 
262
        <tr>
 
263
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::IconSource::get_icon_name </td>
 
264
          <td>(</td>
 
265
          <td class="paramname"></td><td>)</td>
 
266
          <td> const</td>
 
267
        </tr>
 
268
      </table>
 
269
</div>
 
270
<div class="memdoc">
 
271
 
 
272
<p>Retrieves the source icon name, or <code>0</code> if none is set. </p>
 
273
<p>The icon_name is not a copy, and should not be modified or expected to persist beyond the lifetime of the icon source. </p>
 
274
<dl class="return"><dt><b>Returns:</b></dt><dd>Icon name. This string must not be modified or freed. </dd></dl>
 
275
 
 
276
</div>
 
277
</div>
 
278
<a class="anchor" id="a95f73a9793d6af134dcbf41e57e51cff"></a><!-- doxytag: member="Gtk::IconSource::get_pixbuf" ref="a95f73a9793d6af134dcbf41e57e51cff" args="()" -->
 
279
<div class="memitem">
 
280
<div class="memproto">
 
281
      <table class="memname">
 
282
        <tr>
 
283
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gtk::IconSource::get_pixbuf </td>
 
284
          <td>(</td>
 
285
          <td class="paramname"></td><td>)</td>
 
286
          <td></td>
 
287
        </tr>
 
288
      </table>
 
289
</div>
 
290
<div class="memdoc">
 
291
 
 
292
<p>Retrieves the source pixbuf, or <code>0</code> if none is set. </p>
 
293
<p>In addition, if a filename source is in use, this function in some cases will return the pixbuf from loaded from the filename. This is, for example, true for the GtkIconSource passed to the GtkStyle::render_icon() virtual function. The reference count on the pixbuf is not incremented. </p>
 
294
<dl class="return"><dt><b>Returns:</b></dt><dd>Source pixbuf. </dd></dl>
 
295
 
 
296
</div>
 
297
</div>
 
298
<a class="anchor" id="aa8f0e245c3cc1a099d958b3beed28f43"></a><!-- doxytag: member="Gtk::IconSource::get_pixbuf" ref="aa8f0e245c3cc1a099d958b3beed28f43" args="() const " -->
 
299
<div class="memitem">
 
300
<div class="memproto">
 
301
      <table class="memname">
 
302
        <tr>
 
303
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gtk::IconSource::get_pixbuf </td>
 
304
          <td>(</td>
 
305
          <td class="paramname"></td><td>)</td>
 
306
          <td> const</td>
 
307
        </tr>
 
308
      </table>
 
309
</div>
 
310
<div class="memdoc">
 
311
 
 
312
<p>Retrieves the source pixbuf, or <code>0</code> if none is set. </p>
 
313
<p>In addition, if a filename source is in use, this function in some cases will return the pixbuf from loaded from the filename. This is, for example, true for the GtkIconSource passed to the GtkStyle::render_icon() virtual function. The reference count on the pixbuf is not incremented. </p>
 
314
<dl class="return"><dt><b>Returns:</b></dt><dd>Source pixbuf. </dd></dl>
 
315
 
 
316
</div>
 
317
</div>
 
318
<a class="anchor" id="a690b0f0e7c34a49093869068674c7ff7"></a><!-- doxytag: member="Gtk::IconSource::get_size" ref="a690b0f0e7c34a49093869068674c7ff7" args="() const " -->
 
319
<div class="memitem">
 
320
<div class="memproto">
 
321
      <table class="memname">
 
322
        <tr>
 
323
          <td class="memname"><a class="el" href="classGtk_1_1IconSize.html">IconSize</a> Gtk::IconSource::get_size </td>
 
324
          <td>(</td>
 
325
          <td class="paramname"></td><td>)</td>
 
326
          <td> const</td>
 
327
        </tr>
 
328
      </table>
 
329
</div>
 
330
<div class="memdoc">
 
331
 
 
332
<p>Obtains the icon size this source applies to. </p>
 
333
<p>The return value is only useful/meaningful if the icon size is <em>not</em> wildcarded. </p>
 
334
<dl class="return"><dt><b>Returns:</b></dt><dd>Icon size this source matches. </dd></dl>
 
335
 
 
336
</div>
 
337
</div>
 
338
<a class="anchor" id="a4c799234fee629dcf1821ff75499eff4"></a><!-- doxytag: member="Gtk::IconSource::get_size_wildcarded" ref="a4c799234fee629dcf1821ff75499eff4" args="() const " -->
 
339
<div class="memitem">
 
340
<div class="memproto">
 
341
      <table class="memname">
 
342
        <tr>
 
343
          <td class="memname">bool Gtk::IconSource::get_size_wildcarded </td>
 
344
          <td>(</td>
 
345
          <td class="paramname"></td><td>)</td>
 
346
          <td> const</td>
 
347
        </tr>
 
348
      </table>
 
349
</div>
 
350
<div class="memdoc">
 
351
 
 
352
<p>Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a91a2063bfae7b6ad614dc15147b6d3b1" title="If the icon size is wildcarded, this source can be used as the base image for an icon of any size...">set_size_wildcarded()</a>. </p>
 
353
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this icon source is a base for any icon size variant. </dd></dl>
 
354
 
 
355
</div>
 
356
</div>
 
357
<a class="anchor" id="ad8d7c3932eb7d56d56598b223ce44c0d"></a><!-- doxytag: member="Gtk::IconSource::get_state" ref="ad8d7c3932eb7d56d56598b223ce44c0d" args="() const " -->
 
358
<div class="memitem">
 
359
<div class="memproto">
 
360
      <table class="memname">
 
361
        <tr>
 
362
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a> Gtk::IconSource::get_state </td>
 
363
          <td>(</td>
 
364
          <td class="paramname"></td><td>)</td>
 
365
          <td> const</td>
 
366
        </tr>
 
367
      </table>
 
368
</div>
 
369
<div class="memdoc">
 
370
 
 
371
<p>Obtains the widget state this icon source applies to. </p>
 
372
<p>The return value is only useful/meaningful if the widget state is <em>not</em> wildcarded. </p>
 
373
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)">Widget</a> state this source matches. </dd></dl>
 
374
 
 
375
</div>
 
376
</div>
 
377
<a class="anchor" id="a3374f27ba60030fc82d2798c643ffbd5"></a><!-- doxytag: member="Gtk::IconSource::get_state_wildcarded" ref="a3374f27ba60030fc82d2798c643ffbd5" args="() const " -->
 
378
<div class="memitem">
 
379
<div class="memproto">
 
380
      <table class="memname">
 
381
        <tr>
 
382
          <td class="memname">bool Gtk::IconSource::get_state_wildcarded </td>
 
383
          <td>(</td>
 
384
          <td class="paramname"></td><td>)</td>
 
385
          <td> const</td>
 
386
        </tr>
 
387
      </table>
 
388
</div>
 
389
<div class="memdoc">
 
390
 
 
391
<p>Gets the value set by <a class="el" href="classGtk_1_1IconSource.html#a799e9c455e5f78bb54c6214062535241" title="If the widget state is wildcarded, this source can be used as the base image for an icon in any Gtk::...">set_state_wildcarded()</a>. </p>
 
392
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if this icon source is a base for any widget state variant. </dd></dl>
 
393
 
 
394
</div>
 
395
</div>
 
396
<a class="anchor" id="a7c14ee01bb90968b2c930b873524e6e4"></a><!-- doxytag: member="Gtk::IconSource::gobj" ref="a7c14ee01bb90968b2c930b873524e6e4" args="()" -->
 
397
<div class="memitem">
 
398
<div class="memproto">
 
399
      <table class="memname">
 
400
        <tr>
 
401
          <td class="memname">GtkIconSource* Gtk::IconSource::gobj </td>
 
402
          <td>(</td>
 
403
          <td class="paramname"></td><td>)</td>
 
404
          <td><code> [inline]</code></td>
 
405
        </tr>
 
406
      </table>
 
407
</div>
 
408
<div class="memdoc">
 
409
 
 
410
<p>Provides access to the underlying C instance. </p>
 
411
 
 
412
</div>
 
413
</div>
 
414
<a class="anchor" id="a58cf0bd123403dbee4ec19725a596ebd"></a><!-- doxytag: member="Gtk::IconSource::gobj" ref="a58cf0bd123403dbee4ec19725a596ebd" args="() const " -->
 
415
<div class="memitem">
 
416
<div class="memproto">
 
417
      <table class="memname">
 
418
        <tr>
 
419
          <td class="memname">const GtkIconSource* Gtk::IconSource::gobj </td>
 
420
          <td>(</td>
 
421
          <td class="paramname"></td><td>)</td>
 
422
          <td> const<code> [inline]</code></td>
 
423
        </tr>
 
424
      </table>
 
425
</div>
 
426
<div class="memdoc">
 
427
 
 
428
<p>Provides access to the underlying C instance. </p>
 
429
 
 
430
</div>
 
431
</div>
 
432
<a class="anchor" id="abe204445677aaafac76225abe5a42db1"></a><!-- doxytag: member="Gtk::IconSource::gobj_copy" ref="abe204445677aaafac76225abe5a42db1" args="() const " -->
 
433
<div class="memitem">
 
434
<div class="memproto">
 
435
      <table class="memname">
 
436
        <tr>
 
437
          <td class="memname">GtkIconSource* Gtk::IconSource::gobj_copy </td>
 
438
          <td>(</td>
 
439
          <td class="paramname"></td><td>)</td>
 
440
          <td> const</td>
 
441
        </tr>
 
442
      </table>
 
443
</div>
 
444
<div class="memdoc">
 
445
 
 
446
<p>Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. </p>
 
447
 
 
448
</div>
 
449
</div>
 
450
<a class="anchor" id="a803ad30e1544d4983fa5039a92f987f7"></a><!-- doxytag: member="Gtk::IconSource::operator=" ref="a803ad30e1544d4983fa5039a92f987f7" args="(const IconSource &amp;other)" -->
 
451
<div class="memitem">
 
452
<div class="memproto">
 
453
      <table class="memname">
 
454
        <tr>
 
455
          <td class="memname"><a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp; Gtk::IconSource::operator= </td>
 
456
          <td>(</td>
 
457
          <td class="paramtype">const <a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp;&#160;</td>
 
458
          <td class="paramname"><em>other</em></td><td>)</td>
 
459
          <td></td>
 
460
        </tr>
 
461
      </table>
 
462
</div>
 
463
<div class="memdoc">
 
464
 
 
465
</div>
 
466
</div>
 
467
<a class="anchor" id="a3153f215a855ac1dbc93782692a3a9db"></a><!-- doxytag: member="Gtk::IconSource::set_direction" ref="a3153f215a855ac1dbc93782692a3a9db" args="(TextDirection direction)" -->
 
468
<div class="memitem">
 
469
<div class="memproto">
 
470
      <table class="memname">
 
471
        <tr>
 
472
          <td class="memname">void Gtk::IconSource::set_direction </td>
 
473
          <td>(</td>
 
474
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gaabfcae0b9b0cf2aab01ee96352668d3d">TextDirection</a>&#160;</td>
 
475
          <td class="paramname"><em>direction</em></td><td>)</td>
 
476
          <td></td>
 
477
        </tr>
 
478
      </table>
 
479
</div>
 
480
<div class="memdoc">
 
481
 
 
482
<p>Sets the text direction this icon source is intended to be used with. </p>
 
483
<p>Setting the text direction on an icon source makes no difference if the text direction is wildcarded. Therefore, you should usually call <a class="el" href="classGtk_1_1IconSource.html#a1c306fcf2ac4d3e3f491c43921a3265f" title="If the text direction is wildcarded, this source can be used as the base image for an icon in any Gtk...">set_direction_wildcarded()</a> to un-wildcard it in addition to calling this function. </p>
 
484
<dl><dt><b>Parameters:</b></dt><dd>
 
485
  <table class="params">
 
486
    <tr><td class="paramname">direction</td><td>Text direction this source applies to. </td></tr>
 
487
  </table>
 
488
  </dd>
 
489
</dl>
 
490
 
 
491
</div>
 
492
</div>
 
493
<a class="anchor" id="a1c306fcf2ac4d3e3f491c43921a3265f"></a><!-- doxytag: member="Gtk::IconSource::set_direction_wildcarded" ref="a1c306fcf2ac4d3e3f491c43921a3265f" args="(bool setting=true)" -->
 
494
<div class="memitem">
 
495
<div class="memproto">
 
496
      <table class="memname">
 
497
        <tr>
 
498
          <td class="memname">void Gtk::IconSource::set_direction_wildcarded </td>
 
499
          <td>(</td>
 
500
          <td class="paramtype">bool&#160;</td>
 
501
          <td class="paramname"><em>setting</em> = <code>true</code></td><td>)</td>
 
502
          <td></td>
 
503
        </tr>
 
504
      </table>
 
505
</div>
 
506
<div class="memdoc">
 
507
 
 
508
<p>If the text direction is wildcarded, this source can be used as the base image for an icon in any Gtk::TextDirection. </p>
 
509
<p>If the text direction is not wildcarded, then the text direction the icon source applies to should be set with <a class="el" href="classGtk_1_1IconSource.html#a3153f215a855ac1dbc93782692a3a9db" title="Sets the text direction this icon source is intended to be used with.">set_direction()</a>, and the icon source will only be used with that text direction.</p>
 
510
<p><a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a> prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible. </p>
 
511
<dl><dt><b>Parameters:</b></dt><dd>
 
512
  <table class="params">
 
513
    <tr><td class="paramname">setting</td><td><code>true</code> to wildcard the text direction. </td></tr>
 
514
  </table>
 
515
  </dd>
 
516
</dl>
 
517
 
 
518
</div>
 
519
</div>
 
520
<a class="anchor" id="a41801a184775c47e6c2e65fee0e4cec2"></a><!-- doxytag: member="Gtk::IconSource::set_filename" ref="a41801a184775c47e6c2e65fee0e4cec2" args="(const Glib::ustring &amp;filename)" -->
 
521
<div class="memitem">
 
522
<div class="memproto">
 
523
      <table class="memname">
 
524
        <tr>
 
525
          <td class="memname">void Gtk::IconSource::set_filename </td>
 
526
          <td>(</td>
 
527
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
528
          <td class="paramname"><em>filename</em></td><td>)</td>
 
529
          <td></td>
 
530
        </tr>
 
531
      </table>
 
532
</div>
 
533
<div class="memdoc">
 
534
 
 
535
<p>Sets the name of an image file to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a>. </p>
 
536
<p>The filename must be absolute. </p>
 
537
<dl><dt><b>Parameters:</b></dt><dd>
 
538
  <table class="params">
 
539
    <tr><td class="paramname">filename</td><td><a class="el" href="classGtk_1_1Image.html" title="A widget displaying an image.">Image</a> file to use. </td></tr>
 
540
  </table>
 
541
  </dd>
 
542
</dl>
 
543
 
 
544
</div>
 
545
</div>
 
546
<a class="anchor" id="ae0ea072ab57ae724e5957218a2f195b7"></a><!-- doxytag: member="Gtk::IconSource::set_icon_name" ref="ae0ea072ab57ae724e5957218a2f195b7" args="(const Glib::ustring &amp;icon_name)" -->
 
547
<div class="memitem">
 
548
<div class="memproto">
 
549
      <table class="memname">
 
550
        <tr>
 
551
          <td class="memname">void Gtk::IconSource::set_icon_name </td>
 
552
          <td>(</td>
 
553
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
554
          <td class="paramname"><em>icon_name</em></td><td>)</td>
 
555
          <td></td>
 
556
        </tr>
 
557
      </table>
 
558
</div>
 
559
<div class="memdoc">
 
560
 
 
561
<p>Sets the name of an icon to look up in the current icon theme to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a>. </p>
 
562
<dl><dt><b>Parameters:</b></dt><dd>
 
563
  <table class="params">
 
564
    <tr><td class="paramname">icon_name</td><td>Name of icon to use. </td></tr>
 
565
  </table>
 
566
  </dd>
 
567
</dl>
 
568
 
 
569
</div>
 
570
</div>
 
571
<a class="anchor" id="a8e569cec71141a8ecebacf225d22729a"></a><!-- doxytag: member="Gtk::IconSource::set_pixbuf" ref="a8e569cec71141a8ecebacf225d22729a" args="(const Glib::RefPtr&lt; Gdk::Pixbuf &gt; &amp;pixbuf)" -->
 
572
<div class="memitem">
 
573
<div class="memproto">
 
574
      <table class="memname">
 
575
        <tr>
 
576
          <td class="memname">void Gtk::IconSource::set_pixbuf </td>
 
577
          <td>(</td>
 
578
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp;&#160;</td>
 
579
          <td class="paramname"><em>pixbuf</em></td><td>)</td>
 
580
          <td></td>
 
581
        </tr>
 
582
      </table>
 
583
</div>
 
584
<div class="memdoc">
 
585
 
 
586
<p>Sets a pixbuf to use as a base image when creating icon variants for <a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a>. </p>
 
587
<dl><dt><b>Parameters:</b></dt><dd>
 
588
  <table class="params">
 
589
    <tr><td class="paramname">pixbuf</td><td>Pixbuf to use as a source. </td></tr>
 
590
  </table>
 
591
  </dd>
 
592
</dl>
 
593
 
 
594
</div>
 
595
</div>
 
596
<a class="anchor" id="ae0b88adc6bbb4ff3b0b6a0279555efcf"></a><!-- doxytag: member="Gtk::IconSource::set_size" ref="ae0b88adc6bbb4ff3b0b6a0279555efcf" args="(IconSize size)" -->
 
597
<div class="memitem">
 
598
<div class="memproto">
 
599
      <table class="memname">
 
600
        <tr>
 
601
          <td class="memname">void Gtk::IconSource::set_size </td>
 
602
          <td>(</td>
 
603
          <td class="paramtype"><a class="el" href="classGtk_1_1IconSize.html">IconSize</a>&#160;</td>
 
604
          <td class="paramname"><em>size</em></td><td>)</td>
 
605
          <td></td>
 
606
        </tr>
 
607
      </table>
 
608
</div>
 
609
<div class="memdoc">
 
610
 
 
611
<p>Sets the icon size this icon source is intended to be used with. </p>
 
612
<p>Setting the icon size on an icon source makes no difference if the size is wildcarded. Therefore, you should usually call <a class="el" href="classGtk_1_1IconSource.html#a91a2063bfae7b6ad614dc15147b6d3b1" title="If the icon size is wildcarded, this source can be used as the base image for an icon of any size...">set_size_wildcarded()</a> to un-wildcard it in addition to calling this function. </p>
 
613
<dl><dt><b>Parameters:</b></dt><dd>
 
614
  <table class="params">
 
615
    <tr><td class="paramname">size</td><td>Icon size this source applies to. </td></tr>
 
616
  </table>
 
617
  </dd>
 
618
</dl>
 
619
 
 
620
</div>
 
621
</div>
 
622
<a class="anchor" id="a91a2063bfae7b6ad614dc15147b6d3b1"></a><!-- doxytag: member="Gtk::IconSource::set_size_wildcarded" ref="a91a2063bfae7b6ad614dc15147b6d3b1" args="(bool setting=true)" -->
 
623
<div class="memitem">
 
624
<div class="memproto">
 
625
      <table class="memname">
 
626
        <tr>
 
627
          <td class="memname">void Gtk::IconSource::set_size_wildcarded </td>
 
628
          <td>(</td>
 
629
          <td class="paramtype">bool&#160;</td>
 
630
          <td class="paramname"><em>setting</em> = <code>true</code></td><td>)</td>
 
631
          <td></td>
 
632
        </tr>
 
633
      </table>
 
634
</div>
 
635
<div class="memdoc">
 
636
 
 
637
<p>If the icon size is wildcarded, this source can be used as the base image for an icon of any size. </p>
 
638
<p>If the size is not wildcarded, then the size the source applies to should be set with <a class="el" href="classGtk_1_1IconSource.html#ae0b88adc6bbb4ff3b0b6a0279555efcf" title="Sets the icon size this icon source is intended to be used with.">set_size()</a> and the icon source will only be used with that specific size.</p>
 
639
<p><a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a> prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible.</p>
 
640
<p><a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a> will normally scale wildcarded source images to produce an appropriate icon at a given size, but will not change the size of source images that match exactly. </p>
 
641
<dl><dt><b>Parameters:</b></dt><dd>
 
642
  <table class="params">
 
643
    <tr><td class="paramname">setting</td><td><code>true</code> to wildcard the widget state. </td></tr>
 
644
  </table>
 
645
  </dd>
 
646
</dl>
 
647
 
 
648
</div>
 
649
</div>
 
650
<a class="anchor" id="a9cc65cff2d2574fb90b62fee4284af99"></a><!-- doxytag: member="Gtk::IconSource::set_state" ref="a9cc65cff2d2574fb90b62fee4284af99" args="(Gtk::StateType state)" -->
 
651
<div class="memitem">
 
652
<div class="memproto">
 
653
      <table class="memname">
 
654
        <tr>
 
655
          <td class="memname">void Gtk::IconSource::set_state </td>
 
656
          <td>(</td>
 
657
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gae389c7fef8176df3e8b7992c521d9661">Gtk::StateType</a>&#160;</td>
 
658
          <td class="paramname"><em>state</em></td><td>)</td>
 
659
          <td></td>
 
660
        </tr>
 
661
      </table>
 
662
</div>
 
663
<div class="memdoc">
 
664
 
 
665
<p>Sets the widget state this icon source is intended to be used with. </p>
 
666
<p>Setting the widget state on an icon source makes no difference if the state is wildcarded. Therefore, you should usually call <a class="el" href="classGtk_1_1IconSource.html#a799e9c455e5f78bb54c6214062535241" title="If the widget state is wildcarded, this source can be used as the base image for an icon in any Gtk::...">set_state_wildcarded()</a> to un-wildcard it in addition to calling this function. </p>
 
667
<dl><dt><b>Parameters:</b></dt><dd>
 
668
  <table class="params">
 
669
    <tr><td class="paramname">state</td><td><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)">Widget</a> state this source applies to. </td></tr>
 
670
  </table>
 
671
  </dd>
 
672
</dl>
 
673
 
 
674
</div>
 
675
</div>
 
676
<a class="anchor" id="a799e9c455e5f78bb54c6214062535241"></a><!-- doxytag: member="Gtk::IconSource::set_state_wildcarded" ref="a799e9c455e5f78bb54c6214062535241" args="(bool setting=true)" -->
 
677
<div class="memitem">
 
678
<div class="memproto">
 
679
      <table class="memname">
 
680
        <tr>
 
681
          <td class="memname">void Gtk::IconSource::set_state_wildcarded </td>
 
682
          <td>(</td>
 
683
          <td class="paramtype">bool&#160;</td>
 
684
          <td class="paramname"><em>setting</em> = <code>true</code></td><td>)</td>
 
685
          <td></td>
 
686
        </tr>
 
687
      </table>
 
688
</div>
 
689
<div class="memdoc">
 
690
 
 
691
<p>If the widget state is wildcarded, this source can be used as the base image for an icon in any Gtk::StateType. </p>
 
692
<p>If the widget state is not wildcarded, then the state the source applies to should be set with <a class="el" href="classGtk_1_1IconSource.html#a9cc65cff2d2574fb90b62fee4284af99" title="Sets the widget state this icon source is intended to be used with.">set_state()</a> and the icon source will only be used with that specific state.</p>
 
693
<p><a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a> prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible.</p>
 
694
<p><a class="el" href="classGtk_1_1IconSet.html" title="This manages a set of variants of a particular icon An IconSet contains variants for different sizes ...">Gtk::IconSet</a> will normally transform wildcarded source images to produce an appropriate icon for a given state, for example lightening an image on prelight, but will not modify source images that match exactly. </p>
 
695
<dl><dt><b>Parameters:</b></dt><dd>
 
696
  <table class="params">
 
697
    <tr><td class="paramname">setting</td><td><code>true</code> to wildcard the widget state. </td></tr>
 
698
  </table>
 
699
  </dd>
 
700
</dl>
 
701
 
 
702
</div>
 
703
</div>
 
704
<a class="anchor" id="a381e885c252afbf3a647a8561ebc2a74"></a><!-- doxytag: member="Gtk::IconSource::swap" ref="a381e885c252afbf3a647a8561ebc2a74" args="(IconSource &amp;other)" -->
 
705
<div class="memitem">
 
706
<div class="memproto">
 
707
      <table class="memname">
 
708
        <tr>
 
709
          <td class="memname">void Gtk::IconSource::swap </td>
 
710
          <td>(</td>
 
711
          <td class="paramtype"><a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp;&#160;</td>
 
712
          <td class="paramname"><em>other</em></td><td>)</td>
 
713
          <td></td>
 
714
        </tr>
 
715
      </table>
 
716
</div>
 
717
<div class="memdoc">
 
718
 
 
719
</div>
 
720
</div>
 
721
<hr/><h2>Friends And Related Function Documentation</h2>
 
722
<a class="anchor" id="a3470f7bb6dbbf05075419bf953f8d199"></a><!-- doxytag: member="Gtk::IconSource::swap" ref="a3470f7bb6dbbf05075419bf953f8d199" args="(IconSource &amp;lhs, IconSource &amp;rhs)" -->
 
723
<div class="memitem">
 
724
<div class="memproto">
 
725
      <table class="memname">
 
726
        <tr>
 
727
          <td class="memname">void swap </td>
 
728
          <td>(</td>
 
729
          <td class="paramtype"><a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp;&#160;</td>
 
730
          <td class="paramname"><em>lhs</em>, </td>
 
731
        </tr>
 
732
        <tr>
 
733
          <td class="paramkey"></td>
 
734
          <td></td>
 
735
          <td class="paramtype"><a class="el" href="classGtk_1_1IconSource.html">IconSource</a>&amp;&#160;</td>
 
736
          <td class="paramname"><em>rhs</em>&#160;</td>
 
737
        </tr>
 
738
        <tr>
 
739
          <td></td>
 
740
          <td>)</td>
 
741
          <td></td><td><code> [related]</code></td>
 
742
        </tr>
 
743
      </table>
 
744
</div>
 
745
<div class="memdoc">
 
746
<dl><dt><b>Parameters:</b></dt><dd>
 
747
  <table class="params">
 
748
    <tr><td class="paramname">lhs</td><td>The left-hand side </td></tr>
 
749
    <tr><td class="paramname">rhs</td><td>The right-hand side </td></tr>
 
750
  </table>
 
751
  </dd>
 
752
</dl>
 
753
 
 
754
</div>
 
755
</div>
 
756
<a class="anchor" id="a7d7a29bf9665ec2ca3eb03c6ff4ff841"></a><!-- doxytag: member="Gtk::IconSource::wrap" ref="a7d7a29bf9665ec2ca3eb03c6ff4ff841" args="(GtkIconSource *object, bool take_copy=false)" -->
 
757
<div class="memitem">
 
758
<div class="memproto">
 
759
      <table class="memname">
 
760
        <tr>
 
761
          <td class="memname"><a class="el" href="classGtk_1_1IconSource.html">Gtk::IconSource</a> wrap </td>
 
762
          <td>(</td>
 
763
          <td class="paramtype">GtkIconSource *&#160;</td>
 
764
          <td class="paramname"><em>object</em>, </td>
 
765
        </tr>
 
766
        <tr>
 
767
          <td class="paramkey"></td>
 
768
          <td></td>
 
769
          <td class="paramtype">bool&#160;</td>
 
770
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
 
771
        </tr>
 
772
        <tr>
 
773
          <td></td>
 
774
          <td>)</td>
 
775
          <td></td><td><code> [related]</code></td>
 
776
        </tr>
 
777
      </table>
 
778
</div>
 
779
<div class="memdoc">
 
780
 
 
781
<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
 
782
<dl><dt><b>Parameters:</b></dt><dd>
 
783
  <table class="params">
 
784
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
 
785
    <tr><td class="paramname">take_copy</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>
 
786
  </table>
 
787
  </dd>
 
788
</dl>
 
789
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
 
790
 
 
791
</div>
 
792
</div>
 
793
<hr/><h2>Member Data Documentation</h2>
 
794
<a class="anchor" id="a76826db186409af0f30676002a5734ae"></a><!-- doxytag: member="Gtk::IconSource::gobject_" ref="a76826db186409af0f30676002a5734ae" args="" -->
 
795
<div class="memitem">
 
796
<div class="memproto">
 
797
      <table class="memname">
 
798
        <tr>
 
799
          <td class="memname">GtkIconSource* <a class="el" href="classGtk_1_1IconSource.html#a76826db186409af0f30676002a5734ae">Gtk::IconSource::gobject_</a><code> [protected]</code></td>
 
800
        </tr>
 
801
      </table>
 
802
</div>
 
803
<div class="memdoc">
 
804
 
 
805
</div>
 
806
</div>
 
807
<hr/>The documentation for this class was generated from the following file:<ul>
 
808
<li>gtkmm/iconsource.h</li>
 
809
</ul>
 
810
</div>
 
811
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:45 for gtkmm by&#160;
 
812
<a href="http://www.doxygen.org/index.html">
 
813
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
 
814
</body>
 
815
</html>