Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 36a4a1ce4320fd74059ccc32828cc5d4 > files > 399

gtkmm3.0-doc-3.14.0-2.mga5.noarch.rpm

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>gtkmm: Gtk::IconSize Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">gtkmm
   &#160;<span id="projectnumber">3.14.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <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="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a></li><li class="navelem"><a class="el" href="classGtk_1_1IconSize.html">IconSize</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classGtk_1_1IconSize-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Gtk::IconSize Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents registered icon sizes.  
 <a href="classGtk_1_1IconSize.html#details">More...</a></p>

<p><code>#include &lt;gtkmm/enums.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9980786a8c9b6c74098e7ab20f6c8e51"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSize.html#a9980786a8c9b6c74098e7ab20f6c8e51">IconSize</a> ()</td></tr>
<tr class="separator:a9980786a8c9b6c74098e7ab20f6c8e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c20145e771b016ea6746eeac47c0505"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSize.html#a8c20145e771b016ea6746eeac47c0505">IconSize</a> (<a class="el" href="group__gtkmmEnums.html#gaeb555deb523560fe697977c2f8adbb76">BuiltinIconSize</a> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="separator:a8c20145e771b016ea6746eeac47c0505"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c689319928c65b522029abee2d90e15"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSize.html#a0c689319928c65b522029abee2d90e15">IconSize</a> (int <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="separator:a0c689319928c65b522029abee2d90e15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50a53dddcda41ee2ebf07b64a82dd45d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSize.html#a50a53dddcda41ee2ebf07b64a82dd45d">operator int</a> () const </td></tr>
<tr class="separator:a50a53dddcda41ee2ebf07b64a82dd45d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a93ac90db97f3e164d8698c249b546556"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSize.html#a93ac90db97f3e164d8698c249b546556">lookup</a> (<a class="el" href="classGtk_1_1IconSize.html">IconSize</a> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>, int&amp; width, int&amp; height)</td></tr>
<tr class="memdesc:a93ac90db97f3e164d8698c249b546556"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the pixel size of a semantic icon size, possibly modified by user preferences for the default <a class="el" href="classGtk_1_1Settings.html" title="Sharing settings between applications. ">Gtk::Settings</a>.  <a href="#a93ac90db97f3e164d8698c249b546556">More...</a><br /></td></tr>
<tr class="separator:a93ac90db97f3e164d8698c249b546556"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adefa53779fe7acd7bfd42f9e07fe98ad"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSize.html#adefa53779fe7acd7bfd42f9e07fe98ad">lookup</a> (<a class="el" href="classGtk_1_1IconSize.html">IconSize</a> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>, int&amp; width, int&amp; height, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Settings.html">Gtk::Settings</a> &gt;&amp; settings)</td></tr>
<tr class="memdesc:adefa53779fe7acd7bfd42f9e07fe98ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the pixel size of a semantic icon size, possibly modified by user preferences for a particular <a class="el" href="classGtk_1_1Settings.html" title="Sharing settings between applications. ">Gtk::Settings</a>.  <a href="#adefa53779fe7acd7bfd42f9e07fe98ad">More...</a><br /></td></tr>
<tr class="separator:adefa53779fe7acd7bfd42f9e07fe98ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedea29b7b2de8b8d7e54fadd0c8f329a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGtk_1_1IconSize.html">IconSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSize.html#aedea29b7b2de8b8d7e54fadd0c8f329a">register_new</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, int width, int height)</td></tr>
<tr class="memdesc:aedea29b7b2de8b8d7e54fadd0c8f329a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a new icon size, along the same lines as ICON_SIZE_MENU, etc.  <a href="#aedea29b7b2de8b8d7e54fadd0c8f329a">More...</a><br /></td></tr>
<tr class="separator:aedea29b7b2de8b8d7e54fadd0c8f329a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a825d2c90489fd0f94db22113a2a4f514"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSize.html#a825d2c90489fd0f94db22113a2a4f514">register_alias</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; alias, <a class="el" href="classGtk_1_1IconSize.html">IconSize</a> target)</td></tr>
<tr class="memdesc:a825d2c90489fd0f94db22113a2a4f514"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers <em>alias</em> as another name for <em>target</em> so calling <a class="el" href="classGtk_1_1IconSize.html#a5218ea776642be58193f111ce236b4e1" title="Looks up the icon size associated with name. ">from_name()</a> with <em>alias</em> as argument will return <em>target</em>.  <a href="#a825d2c90489fd0f94db22113a2a4f514">More...</a><br /></td></tr>
<tr class="separator:a825d2c90489fd0f94db22113a2a4f514"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5218ea776642be58193f111ce236b4e1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGtk_1_1IconSize.html">IconSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSize.html#a5218ea776642be58193f111ce236b4e1">from_name</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name)</td></tr>
<tr class="memdesc:a5218ea776642be58193f111ce236b4e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up the icon size associated with <em>name</em>.  <a href="#a5218ea776642be58193f111ce236b4e1">More...</a><br /></td></tr>
<tr class="separator:a5218ea776642be58193f111ce236b4e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac6b2fbfd2d1ad3321d8292d64fe1b1d"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1IconSize.html#aac6b2fbfd2d1ad3321d8292d64fe1b1d">get_name</a> (<a class="el" href="classGtk_1_1IconSize.html">IconSize</a> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:aac6b2fbfd2d1ad3321d8292d64fe1b1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the canonical name of the given icon size.  <a href="#aac6b2fbfd2d1ad3321d8292d64fe1b1d">More...</a><br /></td></tr>
<tr class="separator:aac6b2fbfd2d1ad3321d8292d64fe1b1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents registered icon sizes. </p>
<p>You can also use a <a class="el" href="group__gtkmmEnums.html#gaeb555deb523560fe697977c2f8adbb76" title="Built-in stock icon sizes. ">Gtk::BuiltinIconSize</a> instead of an <a class="el" href="classGtk_1_1IconSize.html" title="Represents registered icon sizes. ">IconSize</a>. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9980786a8c9b6c74098e7ab20f6c8e51"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::IconSize::IconSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8c20145e771b016ea6746eeac47c0505"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::IconSize::IconSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gaeb555deb523560fe697977c2f8adbb76">BuiltinIconSize</a>&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0c689319928c65b522029abee2d90e15"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::IconSize::IconSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5218ea776642be58193f111ce236b4e1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classGtk_1_1IconSize.html">IconSize</a> Gtk::IconSize::from_name </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Looks up the icon size associated with <em>name</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>the name to look up. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The icon size with the given name. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000099">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1IconTheme.html">Gtk::IconTheme</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="aac6b2fbfd2d1ad3321d8292d64fe1b1d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::IconSize::get_name </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><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the canonical name of the given icon size. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>size AnIconSize. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The name of the given icon size. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000100">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1IconTheme.html">Gtk::IconTheme</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a93ac90db97f3e164d8698c249b546556"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gtk::IconSize::lookup </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">int &amp;&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Obtains the pixel size of a semantic icon size, possibly modified by user preferences for the default <a class="el" href="classGtk_1_1Settings.html" title="Sharing settings between applications. ">Gtk::Settings</a>. </p>
<p>Normally size would be <a class="el" href="namespaceGtk.html#gaeb555deb523560fe697977c2f8adbb76ae36e75552853448d657f8ce2932e2347" title="Size appropriate for menus (16px). ">Gtk::ICON_SIZE_MENU</a>, <a class="el" href="namespaceGtk.html#gaeb555deb523560fe697977c2f8adbb76a4d61489945b35ad6d42eb80f6f2b593d" title="Size appropriate for buttons (16px). ">Gtk::ICON_SIZE_BUTTON</a>, etc. This function isn't normally needed because Gtk::Widget::render_icon() is the usual way to get an icon for rendering - then just look at the size of the rendered pixbuf. The rendered pixbuf may not even correspond to the width/height returned by <a class="el" href="classGtk_1_1IconSize.html#a93ac90db97f3e164d8698c249b546556" title="Obtains the pixel size of a semantic icon size, possibly modified by user preferences for the default...">IconSize::lookup()</a>, because themes are free to render the pixbuf however they like, including changing the usual size.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>An icon size. </td></tr>
    <tr><td class="paramname">width</td><td>Location to store icon width. </td></tr>
    <tr><td class="paramname">height</td><td>Location to store icon height. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if size was a valid size. </dd></dl>

</div>
</div>
<a class="anchor" id="adefa53779fe7acd7bfd42f9e07fe98ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gtk::IconSize::lookup </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">int &amp;&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Settings.html">Gtk::Settings</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>settings</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Obtains the pixel size of a semantic icon size, possibly modified by user preferences for a particular <a class="el" href="classGtk_1_1Settings.html" title="Sharing settings between applications. ">Gtk::Settings</a>. </p>
<p>Normally size would be <a class="el" href="namespaceGtk.html#gaeb555deb523560fe697977c2f8adbb76ae36e75552853448d657f8ce2932e2347" title="Size appropriate for menus (16px). ">Gtk::ICON_SIZE_MENU</a>, <a class="el" href="namespaceGtk.html#gaeb555deb523560fe697977c2f8adbb76a4d61489945b35ad6d42eb80f6f2b593d" title="Size appropriate for buttons (16px). ">Gtk::ICON_SIZE_BUTTON</a>, etc. This function isn't normally needed because Gtk::Widget::render_icon() is the usual way to get an icon for rendering - then just look at the size of the rendered pixbuf. The rendered pixbuf may not even correspond to the width/height returned by <a class="el" href="classGtk_1_1IconSize.html#a93ac90db97f3e164d8698c249b546556" title="Obtains the pixel size of a semantic icon size, possibly modified by user preferences for the default...">IconSize::lookup()</a>, because themes are free to render the pixbuf however they like, including changing the usual size.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>An icon size. </td></tr>
    <tr><td class="paramname">width</td><td>Location to store icon width. </td></tr>
    <tr><td class="paramname">height</td><td>Location to store icon height. </td></tr>
    <tr><td class="paramname">settings</td><td>A <a class="el" href="classGtk_1_1Settings.html" title="Sharing settings between applications. ">Gtk::Settings</a> object, used to determine which set of user preferences to used. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if size was a valid size.</dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000096">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1IconSize.html#a93ac90db97f3e164d8698c249b546556" title="Obtains the pixel size of a semantic icon size, possibly modified by user preferences for the default...">IconSize::lookup()</a> without the <em>settings</em> parameter instead. </dd></dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000064">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a50a53dddcda41ee2ebf07b64a82dd45d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::IconSize::operator int </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a825d2c90489fd0f94db22113a2a4f514"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Gtk::IconSize::register_alias </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>alias</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>target</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Registers <em>alias</em> as another name for <em>target</em> so calling <a class="el" href="classGtk_1_1IconSize.html#a5218ea776642be58193f111ce236b4e1" title="Looks up the icon size associated with name. ">from_name()</a> with <em>alias</em> as argument will return <em>target</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">alias</td><td>An alias for target. </td></tr>
    <tr><td class="paramname">target</td><td>An existing icon size. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000098">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1IconTheme.html">Gtk::IconTheme</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="aedea29b7b2de8b8d7e54fadd0c8f329a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classGtk_1_1IconSize.html">IconSize</a> Gtk::IconSize::register_new </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Registers a new icon size, along the same lines as ICON_SIZE_MENU, etc. </p>
<p>Returns the integer value for the size.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>Name of the icon size. </td></tr>
    <tr><td class="paramname">width</td><td>The icon width. </td></tr>
    <tr><td class="paramname">height</td><td>The icon height. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Integer value representing the size. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000097">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1IconTheme.html">Gtk::IconTheme</a> instead. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Sep 23 2014 12:59:21 for gtkmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>