Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 9a0a79014b834e3e43ba7caa953e8c16 > files > 67

gtkmm3.0-doc-3.10.1-1.mga4.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.3.1"/>
<title>gtkmm: Gdk::Screen 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.10.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
  <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="namespaceGdk.html">Gdk</a></li><li class="navelem"><a class="el" href="classGdk_1_1Screen.html">Screen</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="#related">Related Functions</a> &#124;
<a href="classGdk_1_1Screen-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Gdk::Screen Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Object representing a physical screen <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation of a physical sc...">Gdk::Screen</a> objects are the GDK representation of a physical screen.  
 <a href="classGdk_1_1Screen.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gdk::Screen:</div>
<div class="dyncontent">
<div class="center"><img src="classGdk_1_1Screen__inherit__graph.png" border="0" usemap="#Gdk_1_1Screen_inherit__map" alt="Inheritance graph"/></div>
<map name="Gdk_1_1Screen_inherit__map" id="Gdk_1_1Screen_inherit__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,155,115,181"/><area shape="rect" id="node3" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,80,131,107"/><area shape="rect" id="node4" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<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:a7bf2ed7c4733ab69f9f82e16da280be5"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a7bf2ed7c4733ab69f9f82e16da280be5">~Screen</a> ()</td></tr>
<tr class="separator:a7bf2ed7c4733ab69f9f82e16da280be5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47bd96f3873d1a839a405fb25a7e6841"><td class="memItemLeft" align="right" valign="top">GdkScreen*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a47bd96f3873d1a839a405fb25a7e6841">gobj</a> ()</td></tr>
<tr class="memdesc:a47bd96f3873d1a839a405fb25a7e6841"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a47bd96f3873d1a839a405fb25a7e6841">More...</a><br/></td></tr>
<tr class="separator:a47bd96f3873d1a839a405fb25a7e6841"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1cdbb6f90e29485640ac98ede8f7d30"><td class="memItemLeft" align="right" valign="top">const GdkScreen*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#ad1cdbb6f90e29485640ac98ede8f7d30">gobj</a> () const </td></tr>
<tr class="memdesc:ad1cdbb6f90e29485640ac98ede8f7d30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#ad1cdbb6f90e29485640ac98ede8f7d30">More...</a><br/></td></tr>
<tr class="separator:ad1cdbb6f90e29485640ac98ede8f7d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52b998dac033ef60f30bebe018e8db3f"><td class="memItemLeft" align="right" valign="top">GdkScreen*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a52b998dac033ef60f30bebe018e8db3f">gobj_copy</a> ()</td></tr>
<tr class="memdesc:a52b998dac033ef60f30bebe018e8db3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.  <a href="#a52b998dac033ef60f30bebe018e8db3f">More...</a><br/></td></tr>
<tr class="separator:a52b998dac033ef60f30bebe018e8db3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbc7f0ced954e5d7cc4b3b823f09955e"><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_1Visual.html">Visual</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#afbc7f0ced954e5d7cc4b3b823f09955e">get_system_visual</a> ()</td></tr>
<tr class="memdesc:afbc7f0ced954e5d7cc4b3b823f09955e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the system's default visual for <em>screen</em>.  <a href="#afbc7f0ced954e5d7cc4b3b823f09955e">More...</a><br/></td></tr>
<tr class="separator:afbc7f0ced954e5d7cc4b3b823f09955e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3e8b28ce7fe261c2f389683f3c98bef"><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_1Visual.html">Visual</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#ae3e8b28ce7fe261c2f389683f3c98bef">get_system_visual</a> () const </td></tr>
<tr class="memdesc:ae3e8b28ce7fe261c2f389683f3c98bef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the system's default visual for <em>screen</em>.  <a href="#ae3e8b28ce7fe261c2f389683f3c98bef">More...</a><br/></td></tr>
<tr class="separator:ae3e8b28ce7fe261c2f389683f3c98bef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20af3907afd8fc3098b0c9a34062c1d0"><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_1Visual.html">Visual</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a20af3907afd8fc3098b0c9a34062c1d0">get_rgba_visual</a> ()</td></tr>
<tr class="memdesc:a20af3907afd8fc3098b0c9a34062c1d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a visual to use for creating windows with an alpha channel.  <a href="#a20af3907afd8fc3098b0c9a34062c1d0">More...</a><br/></td></tr>
<tr class="separator:a20af3907afd8fc3098b0c9a34062c1d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67ba73f5f8d0941c91512995c3db82bf"><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_1Visual.html">Visual</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a67ba73f5f8d0941c91512995c3db82bf">get_rgba_visual</a> () const </td></tr>
<tr class="memdesc:a67ba73f5f8d0941c91512995c3db82bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a visual to use for creating windows with an alpha channel.  <a href="#a67ba73f5f8d0941c91512995c3db82bf">More...</a><br/></td></tr>
<tr class="separator:a67ba73f5f8d0941c91512995c3db82bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e0312586b935b1df1d9184d4d1e2417"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a6e0312586b935b1df1d9184d4d1e2417">is_composited</a> () const </td></tr>
<tr class="memdesc:a6e0312586b935b1df1d9184d4d1e2417"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether windows with an <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color.">RGBA</a> visual can reasonably be expected to have their alpha channel drawn correctly on the screen.  <a href="#a6e0312586b935b1df1d9184d4d1e2417">More...</a><br/></td></tr>
<tr class="separator:a6e0312586b935b1df1d9184d4d1e2417"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04843c5046eb14a175bbbdcc490e481f"><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_1Window.html">Window</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a04843c5046eb14a175bbbdcc490e481f">get_root_window</a> ()</td></tr>
<tr class="memdesc:a04843c5046eb14a175bbbdcc490e481f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the root window of <em>screen</em>.  <a href="#a04843c5046eb14a175bbbdcc490e481f">More...</a><br/></td></tr>
<tr class="separator:a04843c5046eb14a175bbbdcc490e481f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ad4282fd382723bda580e7db4cc2c64"><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_1Window.html">Window</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a0ad4282fd382723bda580e7db4cc2c64">get_root_window</a> () const </td></tr>
<tr class="memdesc:a0ad4282fd382723bda580e7db4cc2c64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the root window of <em>screen</em>.  <a href="#a0ad4282fd382723bda580e7db4cc2c64">More...</a><br/></td></tr>
<tr class="separator:a0ad4282fd382723bda580e7db4cc2c64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09a937007c4c386f2e32bd09e6017072"><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_1Display.html">Display</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a09a937007c4c386f2e32bd09e6017072">get_display</a> ()</td></tr>
<tr class="memdesc:a09a937007c4c386f2e32bd09e6017072"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the display to which the <em>screen</em> belongs.  <a href="#a09a937007c4c386f2e32bd09e6017072">More...</a><br/></td></tr>
<tr class="separator:a09a937007c4c386f2e32bd09e6017072"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f4c4078d1576c6903b82df52bdd6c6a"><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_1Display.html">Display</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a7f4c4078d1576c6903b82df52bdd6c6a">get_display</a> () const </td></tr>
<tr class="memdesc:a7f4c4078d1576c6903b82df52bdd6c6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the display to which the <em>screen</em> belongs.  <a href="#a7f4c4078d1576c6903b82df52bdd6c6a">More...</a><br/></td></tr>
<tr class="separator:a7f4c4078d1576c6903b82df52bdd6c6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b7ad1652ea1b6df39b943d25198a904"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a5b7ad1652ea1b6df39b943d25198a904">get_number</a> () const </td></tr>
<tr class="memdesc:a5b7ad1652ea1b6df39b943d25198a904"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the index of <em>screen</em> among the screens in the display to which it belongs.  <a href="#a5b7ad1652ea1b6df39b943d25198a904">More...</a><br/></td></tr>
<tr class="separator:a5b7ad1652ea1b6df39b943d25198a904"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ea643f504cd7aba79ce0c987e0dee3e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a0ea643f504cd7aba79ce0c987e0dee3e">get_width</a> () const </td></tr>
<tr class="memdesc:a0ea643f504cd7aba79ce0c987e0dee3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the width of <em>screen</em> in pixels.  <a href="#a0ea643f504cd7aba79ce0c987e0dee3e">More...</a><br/></td></tr>
<tr class="separator:a0ea643f504cd7aba79ce0c987e0dee3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d0b1a971c87761d79e64c9e04ffe355"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a4d0b1a971c87761d79e64c9e04ffe355">get_height</a> () const </td></tr>
<tr class="memdesc:a4d0b1a971c87761d79e64c9e04ffe355"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the height of <em>screen</em> in pixels.  <a href="#a4d0b1a971c87761d79e64c9e04ffe355">More...</a><br/></td></tr>
<tr class="separator:a4d0b1a971c87761d79e64c9e04ffe355"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6a037463ce810b4d19f2fa0d6d38644"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#ad6a037463ce810b4d19f2fa0d6d38644">get_width_mm</a> () const </td></tr>
<tr class="memdesc:ad6a037463ce810b4d19f2fa0d6d38644"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the width of <em>screen</em> in millimeters.  <a href="#ad6a037463ce810b4d19f2fa0d6d38644">More...</a><br/></td></tr>
<tr class="separator:ad6a037463ce810b4d19f2fa0d6d38644"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af49c58dd81e12e9106b3e25fcb0af6e7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#af49c58dd81e12e9106b3e25fcb0af6e7">get_height_mm</a> () const </td></tr>
<tr class="memdesc:af49c58dd81e12e9106b3e25fcb0af6e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the height of <em>screen</em> in millimeters.  <a href="#af49c58dd81e12e9106b3e25fcb0af6e7">More...</a><br/></td></tr>
<tr class="separator:af49c58dd81e12e9106b3e25fcb0af6e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ed44c5d958b82ee07fd35d02c2e0798"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGdk_1_1Visual.html">Visual</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a4ed44c5d958b82ee07fd35d02c2e0798">list_visuals</a> ()</td></tr>
<tr class="memdesc:a4ed44c5d958b82ee07fd35d02c2e0798"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lists the available visuals for the specified <em>screen</em>.  <a href="#a4ed44c5d958b82ee07fd35d02c2e0798">More...</a><br/></td></tr>
<tr class="separator:a4ed44c5d958b82ee07fd35d02c2e0798"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefb475d138272e603436046048aaa210"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGdk_1_1Window.html">Window</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#aefb475d138272e603436046048aaa210">get_toplevel_windows</a> ()</td></tr>
<tr class="memdesc:aefb475d138272e603436046048aaa210"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains a list of all toplevel windows known to GDK on the screen <em>screen</em>.  <a href="#aefb475d138272e603436046048aaa210">More...</a><br/></td></tr>
<tr class="separator:aefb475d138272e603436046048aaa210"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2317142ac88cf9f3975734092b049dc"><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="classGdk_1_1Screen.html#ab2317142ac88cf9f3975734092b049dc">make_display_name</a> ()</td></tr>
<tr class="memdesc:ab2317142ac88cf9f3975734092b049dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the name to pass to <a class="el" href="classGdk_1_1Display.html#a59cf8e3302a66aa24ba43b0c47dae946" title="Opens a display.">Gdk::Display::open()</a> to get a <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and mouse pointer To manage ...">Gdk::Display</a> with this screen as the default screen.  <a href="#ab2317142ac88cf9f3975734092b049dc">More...</a><br/></td></tr>
<tr class="separator:ab2317142ac88cf9f3975734092b049dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa47b24f2c133204be5816106a2d87a0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#afa47b24f2c133204be5816106a2d87a0">get_n_monitors</a> () const </td></tr>
<tr class="memdesc:afa47b24f2c133204be5816106a2d87a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of monitors which <em>screen</em> consists of.  <a href="#afa47b24f2c133204be5816106a2d87a0">More...</a><br/></td></tr>
<tr class="separator:afa47b24f2c133204be5816106a2d87a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c5c01fd7b837c41c5258d652cee65d9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a2c5c01fd7b837c41c5258d652cee65d9">get_primary_monitor</a> () const </td></tr>
<tr class="memdesc:a2c5c01fd7b837c41c5258d652cee65d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the primary monitor for <em>screen</em>.  <a href="#a2c5c01fd7b837c41c5258d652cee65d9">More...</a><br/></td></tr>
<tr class="separator:a2c5c01fd7b837c41c5258d652cee65d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf65c0053fa073c8c44fa1bbeb21c02a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#adf65c0053fa073c8c44fa1bbeb21c02a">get_monitor_geometry</a> (int monitor_num, <a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>&amp; dest) const </td></tr>
<tr class="memdesc:adf65c0053fa073c8c44fa1bbeb21c02a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the <a class="el" href="classGdk_1_1Rectangle.html" title="Gdk::Rectangle is a structure holding the position and size of a rectangle.">Gdk::Rectangle</a> representing the size and position of the individual monitor within the entire screen area.  <a href="#adf65c0053fa073c8c44fa1bbeb21c02a">More...</a><br/></td></tr>
<tr class="separator:adf65c0053fa073c8c44fa1bbeb21c02a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6b1ece101c4fd83edce05d3f82d68b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#af6b1ece101c4fd83edce05d3f82d68b1">get_monitor_workarea</a> (int monitor_num=0) const </td></tr>
<tr class="memdesc:af6b1ece101c4fd83edce05d3f82d68b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the <a class="el" href="classGdk_1_1Rectangle.html" title="Gdk::Rectangle is a structure holding the position and size of a rectangle.">Gdk::Rectangle</a> representing the size and position of the "work area" on a monitor within the entire screen area.  <a href="#af6b1ece101c4fd83edce05d3f82d68b1">More...</a><br/></td></tr>
<tr class="separator:af6b1ece101c4fd83edce05d3f82d68b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa79c0e9c13fcf293c471b6498d3689e5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#aa79c0e9c13fcf293c471b6498d3689e5">get_monitor_at_point</a> (int x, int y) const </td></tr>
<tr class="memdesc:aa79c0e9c13fcf293c471b6498d3689e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the monitor number in which the point ( <em>x</em>, <em>y</em>) is located.  <a href="#aa79c0e9c13fcf293c471b6498d3689e5">More...</a><br/></td></tr>
<tr class="separator:aa79c0e9c13fcf293c471b6498d3689e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49e39d52b90bef267647b0c801e53a5b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a49e39d52b90bef267647b0c801e53a5b">get_monitor_at_window</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_1Window.html">Window</a> &gt;&amp; window) const </td></tr>
<tr class="memdesc:a49e39d52b90bef267647b0c801e53a5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of the monitor in which the largest area of the bounding rectangle of <em>window</em> resides.  <a href="#a49e39d52b90bef267647b0c801e53a5b">More...</a><br/></td></tr>
<tr class="separator:a49e39d52b90bef267647b0c801e53a5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae215fcc31b1f639fcf905f49959bf520"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#ae215fcc31b1f639fcf905f49959bf520">get_monitor_width_mm</a> (int monitor_num) const </td></tr>
<tr class="memdesc:ae215fcc31b1f639fcf905f49959bf520"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the width in millimeters of the specified monitor, if available.  <a href="#ae215fcc31b1f639fcf905f49959bf520">More...</a><br/></td></tr>
<tr class="separator:ae215fcc31b1f639fcf905f49959bf520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a166fb73562b2ae649702b9e76adddb36"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a166fb73562b2ae649702b9e76adddb36">get_monitor_height_mm</a> (int monitor_num) const </td></tr>
<tr class="memdesc:a166fb73562b2ae649702b9e76adddb36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the height in millimeters of the specified monitor.  <a href="#a166fb73562b2ae649702b9e76adddb36">More...</a><br/></td></tr>
<tr class="separator:a166fb73562b2ae649702b9e76adddb36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a939ebaa453cea402629539e4b5e37f9e"><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="classGdk_1_1Screen.html#a939ebaa453cea402629539e4b5e37f9e">get_monitor_plug_name</a> (int monitor_num) const </td></tr>
<tr class="memdesc:a939ebaa453cea402629539e4b5e37f9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the output name of the specified monitor.  <a href="#a939ebaa453cea402629539e4b5e37f9e">More...</a><br/></td></tr>
<tr class="separator:a939ebaa453cea402629539e4b5e37f9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9703b5c75b00a0c45ae0b53ea0806213"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a9703b5c75b00a0c45ae0b53ea0806213">get_monitor_scale_factor</a> (int monitor_num)</td></tr>
<tr class="memdesc:a9703b5c75b00a0c45ae0b53ea0806213"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the internal scale factor that maps from monitor coordiantes to the actual device pixels.  <a href="#a9703b5c75b00a0c45ae0b53ea0806213">More...</a><br/></td></tr>
<tr class="separator:a9703b5c75b00a0c45ae0b53ea0806213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c6da7b249da3e97301d92fa5e33d00e"><td class="memTemplParams" colspan="2">template&lt;class ValueType &gt; </td></tr>
<tr class="memitem:a0c6da7b249da3e97301d92fa5e33d00e"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a0c6da7b249da3e97301d92fa5e33d00e">get_setting</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, ValueType&amp;<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01670.html#ga1c9e781d8d15a3814a601f471797c825">value</a>) const </td></tr>
<tr class="separator:a0c6da7b249da3e97301d92fa5e33d00e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc233f62e195aef2fd55bc0892059d00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#afc233f62e195aef2fd55bc0892059d00">set_font_options</a> (const ::Cairo::FontOptions&amp; options)</td></tr>
<tr class="memdesc:afc233f62e195aef2fd55bc0892059d00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the default font options for the screen.  <a href="#afc233f62e195aef2fd55bc0892059d00">More...</a><br/></td></tr>
<tr class="separator:afc233f62e195aef2fd55bc0892059d00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abed488ad9a300352edf9fd09d2ccd9d9"><td class="memItemLeft" align="right" valign="top">::Cairo::FontOptions&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#abed488ad9a300352edf9fd09d2ccd9d9">get_font_options</a> () const </td></tr>
<tr class="memdesc:abed488ad9a300352edf9fd09d2ccd9d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets any options previously set with <a class="el" href="classGdk_1_1Screen.html#afc233f62e195aef2fd55bc0892059d00" title="Sets the default font options for the screen.">set_font_options()</a>.  <a href="#abed488ad9a300352edf9fd09d2ccd9d9">More...</a><br/></td></tr>
<tr class="separator:abed488ad9a300352edf9fd09d2ccd9d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81127d3b076d0f5b87f7662309f340f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a81127d3b076d0f5b87f7662309f340f7">set_resolution</a> (double dpi)</td></tr>
<tr class="memdesc:a81127d3b076d0f5b87f7662309f340f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the resolution for font handling on the screen.  <a href="#a81127d3b076d0f5b87f7662309f340f7">More...</a><br/></td></tr>
<tr class="separator:a81127d3b076d0f5b87f7662309f340f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24cb66feedc0f8047ddb5b1e89e2a7fc"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a24cb66feedc0f8047ddb5b1e89e2a7fc">get_resolution</a> () const </td></tr>
<tr class="memdesc:a24cb66feedc0f8047ddb5b1e89e2a7fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the resolution for font handling on the screen; see <a class="el" href="classGdk_1_1Screen.html#a81127d3b076d0f5b87f7662309f340f7" title="Sets the resolution for font handling on the screen.">set_resolution()</a> for full details.  <a href="#a24cb66feedc0f8047ddb5b1e89e2a7fc">More...</a><br/></td></tr>
<tr class="separator:a24cb66feedc0f8047ddb5b1e89e2a7fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17229eacb4d31243f41ba18ef1d2e510"><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_1Window.html">Gdk::Window</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a17229eacb4d31243f41ba18ef1d2e510">get_active_window</a> ()</td></tr>
<tr class="memdesc:a17229eacb4d31243f41ba18ef1d2e510"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the screen's currently active window.  <a href="#a17229eacb4d31243f41ba18ef1d2e510">More...</a><br/></td></tr>
<tr class="separator:a17229eacb4d31243f41ba18ef1d2e510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a382b1d7bdd6ebc832146ec3b4aac3c96"><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_1Window.html">Gdk::Window</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a382b1d7bdd6ebc832146ec3b4aac3c96">get_active_window</a> () const </td></tr>
<tr class="memdesc:a382b1d7bdd6ebc832146ec3b4aac3c96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the screen's currently active window.  <a href="#a382b1d7bdd6ebc832146ec3b4aac3c96">More...</a><br/></td></tr>
<tr class="separator:a382b1d7bdd6ebc832146ec3b4aac3c96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3f2a37e845efcdd1d10c6ce275db544"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGdk_1_1Window.html">Window</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#aa3f2a37e845efcdd1d10c6ce275db544">get_window_stack</a> ()</td></tr>
<tr class="memdesc:aa3f2a37e845efcdd1d10c6ce275db544"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a List of Gdk::Windows representing the current window stack.  <a href="#aa3f2a37e845efcdd1d10c6ce275db544">More...</a><br/></td></tr>
<tr class="separator:aa3f2a37e845efcdd1d10c6ce275db544"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3756022fbe94addcb3b2d6b9e4da4d3"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#ad3756022fbe94addcb3b2d6b9e4da4d3">signal_size_changed</a> ()</td></tr>
<tr class="separator:ad3756022fbe94addcb3b2d6b9e4da4d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2867ce25ddb06e469f637c7feb84a510"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a2867ce25ddb06e469f637c7feb84a510">signal_composited_changed</a> ()</td></tr>
<tr class="separator:a2867ce25ddb06e469f637c7feb84a510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20c232bf8aba84d3543e0db9f742d37c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a20c232bf8aba84d3543e0db9f742d37c">signal_monitors_changed</a> ()</td></tr>
<tr class="separator:a20c232bf8aba84d3543e0db9f742d37c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90c93c095586ca53bf32365f6c4b7339"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; ::Cairo::FontOptions &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a90c93c095586ca53bf32365f6c4b7339">property_font_options</a> ()</td></tr>
<tr class="memdesc:a90c93c095586ca53bf32365f6c4b7339"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default font options for the screen.  <a href="#a90c93c095586ca53bf32365f6c4b7339">More...</a><br/></td></tr>
<tr class="separator:a90c93c095586ca53bf32365f6c4b7339"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10b680c4ff545377a7018d5f80c12e52"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; ::Cairo::FontOptions &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a10b680c4ff545377a7018d5f80c12e52">property_font_options</a> () const </td></tr>
<tr class="memdesc:a10b680c4ff545377a7018d5f80c12e52"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default font options for the screen.  <a href="#a10b680c4ff545377a7018d5f80c12e52">More...</a><br/></td></tr>
<tr class="separator:a10b680c4ff545377a7018d5f80c12e52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d2df8830b5f5065e2fae007930040f9"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a3d2df8830b5f5065e2fae007930040f9">property_resolution</a> ()</td></tr>
<tr class="memdesc:a3d2df8830b5f5065e2fae007930040f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">The resolution for fonts on the screen.  <a href="#a3d2df8830b5f5065e2fae007930040f9">More...</a><br/></td></tr>
<tr class="separator:a3d2df8830b5f5065e2fae007930040f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d876a8f26b28a3b8117266535ec887c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a0d876a8f26b28a3b8117266535ec887c">property_resolution</a> () const </td></tr>
<tr class="memdesc:a0d876a8f26b28a3b8117266535ec887c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The resolution for fonts on the screen.  <a href="#a0d876a8f26b28a3b8117266535ec887c">More...</a><br/></td></tr>
<tr class="separator:a0d876a8f26b28a3b8117266535ec887c"><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:ac0e806b92e04aec14344f10e11e84990"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#ac0e806b92e04aec14344f10e11e84990">get_type</a> ()</td></tr>
<tr class="memdesc:ac0e806b92e04aec14344f10e11e84990"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#ac0e806b92e04aec14344f10e11e84990">More...</a><br/></td></tr>
<tr class="separator:ac0e806b92e04aec14344f10e11e84990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f9cb21db16c3c12c0c19210e788098c"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Screen</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a9f9cb21db16c3c12c0c19210e788098c">get_default</a> ()</td></tr>
<tr class="memdesc:a9f9cb21db16c3c12c0c19210e788098c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the default screen for the default display.  <a href="#a9f9cb21db16c3c12c0c19210e788098c">More...</a><br/></td></tr>
<tr class="separator:a9f9cb21db16c3c12c0c19210e788098c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:a2eba3d45c2bfa999442a0930118dfae3"><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_1Screen.html">Gdk::Screen</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Screen.html#a2eba3d45c2bfa999442a0930118dfae3">wrap</a> (GdkScreen* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a2eba3d45c2bfa999442a0930118dfae3"><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="#a2eba3d45c2bfa999442a0930118dfae3">More...</a><br/></td></tr>
<tr class="separator:a2eba3d45c2bfa999442a0930118dfae3"><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>Object representing a physical screen <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation of a physical sc...">Gdk::Screen</a> objects are the GDK representation of a physical screen. </p>
<p>It is used throughout GDK and GTK+ to specify which screen the top level windows are to be displayed on. It is also used to query the screen specification and default settings such as the screen width (<a class="el" href="classGdk_1_1Screen.html#a0ea643f504cd7aba79ce0c987e0dee3e" title="Gets the width of screen in pixels.">get_width()</a>), etc. Note that a screen may consist of multiple monitors which are merged to form a large screen area. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7bf2ed7c4733ab69f9f82e16da280be5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gdk::Screen::~Screen </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a17229eacb4d31243f41ba18ef1d2e510"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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_1Window.html">Gdk::Window</a>&gt; Gdk::Screen::get_active_window </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the screen's currently active window. </p>
<p>On X11, this is done by inspecting the _NET_ACTIVE_WINDOW property on the root window, as described in the Extended <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Window</a> Manager Hints. If there is no currently currently active window, or the window manager does not support the _NET_ACTIVE_WINDOW hint, this function returns <code>0</code>.</p>
<p>On other platforms, this function may return <code>0</code>, depending on whether it is implementable on that platform.</p>
<p>The returned window should be unrefed using Glib::object_unref() when no longer needed.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000008">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The currently active window, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a382b1d7bdd6ebc832146ec3b4aac3c96"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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_1Window.html">Gdk::Window</a>&gt; Gdk::Screen::get_active_window </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the screen's currently active window. </p>
<p>On X11, this is done by inspecting the _NET_ACTIVE_WINDOW property on the root window, as described in the Extended <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Window</a> Manager Hints. If there is no currently currently active window, or the window manager does not support the _NET_ACTIVE_WINDOW hint, this function returns <code>0</code>.</p>
<p>On other platforms, this function may return <code>0</code>, depending on whether it is implementable on that platform.</p>
<p>The returned window should be unrefed using Glib::object_unref() when no longer needed.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000009">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The currently active window, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a9f9cb21db16c3c12c0c19210e788098c"></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="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Screen.html">Screen</a>&gt; Gdk::Screen::get_default </td>
          <td>(</td>
          <td class="paramname"></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 default screen for the default display. </p>
<p>(See <a class="el" href="classGdk_1_1Display.html#a0cbfb8aa89b6d2a7047b93909894b763" title="Gets the default Gdk::Display.">Gdk::Display::get_default()</a>).</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000059">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation of a physical sc...">Gdk::Screen</a>, or <code>0</code> if there is no default display. </dd></dl>

</div>
</div>
<a class="anchor" id="a09a937007c4c386f2e32bd09e6017072"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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_1Display.html">Display</a>&gt; Gdk::Screen::get_display </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the display to which the <em>screen</em> belongs. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000045">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The display to which <em>screen</em> belongs. </dd></dl>

</div>
</div>
<a class="anchor" id="a7f4c4078d1576c6903b82df52bdd6c6a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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_1Display.html">Display</a>&gt; Gdk::Screen::get_display </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the display to which the <em>screen</em> belongs. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000046">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The display to which <em>screen</em> belongs. </dd></dl>

</div>
</div>
<a class="anchor" id="abed488ad9a300352edf9fd09d2ccd9d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">::Cairo::FontOptions Gdk::Screen::get_font_options </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets any options previously set with <a class="el" href="classGdk_1_1Screen.html#afc233f62e195aef2fd55bc0892059d00" title="Sets the default font options for the screen.">set_font_options()</a>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000005">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The current font options, or <code>0</code> if no default font options have been set. </dd></dl>

</div>
</div>
<a class="anchor" id="a4d0b1a971c87761d79e64c9e04ffe355"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_height </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the height of <em>screen</em> in pixels. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000049">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The height of <em>screen</em> in pixels. </dd></dl>

</div>
</div>
<a class="anchor" id="af49c58dd81e12e9106b3e25fcb0af6e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_height_mm </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the height of <em>screen</em> in millimeters. </p>
<p>Note that on some X servers this value will not be correct.</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000051">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The heigth of <em>screen</em> in millimeters. </dd></dl>

</div>
</div>
<a class="anchor" id="aa79c0e9c13fcf293c471b6498d3689e5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_monitor_at_point </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the monitor number in which the point ( <em>x</em>, <em>y</em>) is located. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000057">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>The x coordinate in the virtual screen. </td></tr>
    <tr><td class="paramname">y</td><td>The y coordinate in the virtual screen. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The monitor number in which the point ( <em>x</em>, <em>y</em>) lies, or a monitor close to ( <em>x</em>, <em>y</em>) if the point is not in any monitor. </dd></dl>

</div>
</div>
<a class="anchor" id="a49e39d52b90bef267647b0c801e53a5b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_monitor_at_window </td>
          <td>(</td>
          <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_1Window.html">Window</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of the monitor in which the largest area of the bounding rectangle of <em>window</em> resides. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000058">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>A <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The monitor number in which most of <em>window</em> is located, or if <em>window</em> does not intersect any monitors, a monitor, close to <em>window</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="adf65c0053fa073c8c44fa1bbeb21c02a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Screen::get_monitor_geometry </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>monitor_num</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>&amp;&#160;</td>
          <td class="paramname"><em>dest</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieves the <a class="el" href="classGdk_1_1Rectangle.html" title="Gdk::Rectangle is a structure holding the position and size of a rectangle.">Gdk::Rectangle</a> representing the size and position of the individual monitor within the entire screen area. </p>
<p>Monitor numbers start at 0. To obtain the number of monitors of <em>screen</em>, use <a class="el" href="classGdk_1_1Screen.html#afa47b24f2c133204be5816106a2d87a0" title="Returns the number of monitors which screen consists of.">get_n_monitors()</a>.</p>
<p>Note that the size of the entire screen area can be retrieved via <a class="el" href="classGdk_1_1Screen.html#a0ea643f504cd7aba79ce0c987e0dee3e" title="Gets the width of screen in pixels.">get_width()</a> and <a class="el" href="classGdk_1_1Screen.html#a4d0b1a971c87761d79e64c9e04ffe355" title="Gets the height of screen in pixels.">get_height()</a>.</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000056">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">monitor_num</td><td>The monitor number. </td></tr>
    <tr><td class="paramname">dest</td><td>A <a class="el" href="classGdk_1_1Rectangle.html" title="Gdk::Rectangle is a structure holding the position and size of a rectangle.">Gdk::Rectangle</a> to be filled with the monitor geometry. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a166fb73562b2ae649702b9e76adddb36"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_monitor_height_mm </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>monitor_num</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the height in millimeters of the specified monitor. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000016">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">monitor_num</td><td>Number of the monitor, between 0 and gdk_screen_get_n_monitors (screen). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The height of the monitor, or -1 if not available. </dd></dl>

</div>
</div>
<a class="anchor" id="a939ebaa453cea402629539e4b5e37f9e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gdk::Screen::get_monitor_plug_name </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>monitor_num</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the output name of the specified monitor. </p>
<p>Usually something like VGA, DVI, or TV, not the actual product name of the display device.</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000017">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">monitor_num</td><td>Number of the monitor, between 0 and gdk_screen_get_n_monitors (screen). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly-allocated string containing the name of the monitor, or <code>0</code> if the name cannot be determined. </dd></dl>

</div>
</div>
<a class="anchor" id="a9703b5c75b00a0c45ae0b53ea0806213"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_monitor_scale_factor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>monitor_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the internal scale factor that maps from monitor coordiantes to the actual device pixels. </p>
<p>On traditional systems this is 1, but on very high density outputs this can be a higher value (often 2).</p>
<p>This can be used if you want to create pixel based data for a particula monitor, but most of the time you're drawing to a window where it is better to use <a class="el" href="classGdk_1_1Window.html#a1ed56ced1904251331b0f0e439b6bba4" title="Returns the internal scale factor that maps from window coordiantes to the actual device pixels...">Gdk::Window::get_scale_factor()</a> instead.</p>
<dl class="since_3_10"><dt><b><a class="el" href="since_3_10.html#_since_3_10000006">Since gtkmm 3.10:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">monitor_num</td><td>Number of the monitor, between 0 and gdk_screen_get_n_monitors (screen). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The scale factor. </dd></dl>

</div>
</div>
<a class="anchor" id="ae215fcc31b1f639fcf905f49959bf520"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_monitor_width_mm </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>monitor_num</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the width in millimeters of the specified monitor, if available. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000015">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">monitor_num</td><td>Number of the monitor, between 0 and gdk_screen_get_n_monitors (screen). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The width of the monitor, or -1 if not available. </dd></dl>

</div>
</div>
<a class="anchor" id="af6b1ece101c4fd83edce05d3f82d68b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a> Gdk::Screen::get_monitor_workarea </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>monitor_num</em> = <code>0</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieves the <a class="el" href="classGdk_1_1Rectangle.html" title="Gdk::Rectangle is a structure holding the position and size of a rectangle.">Gdk::Rectangle</a> representing the size and position of the "work area" on a monitor within the entire screen area. </p>
<p>The work area should be considered when positioning menus and similar popups, to avoid placing them below panels, docks or other desktop components.</p>
<p>Monitor numbers start at 0. To obtain the number of monitors of <em>screen</em>, use <a class="el" href="classGdk_1_1Screen.html#afa47b24f2c133204be5816106a2d87a0" title="Returns the number of monitors which screen consists of.">get_n_monitors()</a>.</p>
<dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000005">Since gtkmm 3.6:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">monitor_num</td><td>The monitor number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The monitor workarea. </dd></dl>

</div>
</div>
<a class="anchor" id="afa47b24f2c133204be5816106a2d87a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_n_monitors </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of monitors which <em>screen</em> consists of. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000055">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Number of monitors which <em>screen</em> consists of. </dd></dl>

</div>
</div>
<a class="anchor" id="a5b7ad1652ea1b6df39b943d25198a904"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_number </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the index of <em>screen</em> among the screens in the display to which it belongs. </p>
<p>(See <a class="el" href="classGdk_1_1Screen.html#a09a937007c4c386f2e32bd09e6017072" title="Gets the display to which the screen belongs.">get_display()</a>)</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000047">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The index. </dd></dl>

</div>
</div>
<a class="anchor" id="a2c5c01fd7b837c41c5258d652cee65d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_primary_monitor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the primary monitor for <em>screen</em>. </p>
<p>The primary monitor is considered the monitor where the 'main desktop' lives. While normal application windows typically allow the window manager to place the windows, specialized desktop applications such as panels should place themselves on the primary monitor.</p>
<p>If no primary monitor is configured by the user, the return value will be 0, defaulting to the first monitor.</p>
<dl class="since_2_20"><dt><b><a class="el" href="since_2_20.html#_since_2_20000007">Since gtkmm 2.20:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An integer index for the primary monitor, or 0 if none is configured. </dd></dl>

</div>
</div>
<a class="anchor" id="a24cb66feedc0f8047ddb5b1e89e2a7fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gdk::Screen::get_resolution </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the resolution for font handling on the screen; see <a class="el" href="classGdk_1_1Screen.html#a81127d3b076d0f5b87f7662309f340f7" title="Sets the resolution for font handling on the screen.">set_resolution()</a> for full details. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000007">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The current resolution, or -1 if no resolution has been set. </dd></dl>

</div>
</div>
<a class="anchor" id="a20af3907afd8fc3098b0c9a34062c1d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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_1Visual.html">Visual</a>&gt; Gdk::Screen::get_rgba_visual </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets a visual to use for creating windows with an alpha channel. </p>
<p>The windowing system on which GTK+ is running may not support this capability, in which case <code>0</code> will be returned. Even if a non-<code>0</code> value is returned, its possible that the window's alpha channel won't be honored when displaying the window on the screen: in particular, for X an appropriate windowing manager and compositing manager must be running to provide appropriate display.</p>
<p>This functionality is not implemented in the Windows backend.</p>
<p>For setting an overall opacity for a top-level window, see <a class="el" href="classGdk_1_1Window.html#af70da6bc12c5997b6cd77f4cd14e5129" title="Set window to render as partially transparent, with opacity 0 being fully transparent and 1 fully opa...">Gdk::Window::set_opacity()</a>.</p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000004">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A visual to use for windows with an alpha channel or <code>0</code> if the capability is not available. </dd></dl>

</div>
</div>
<a class="anchor" id="a67ba73f5f8d0941c91512995c3db82bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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_1Visual.html">Visual</a>&gt; Gdk::Screen::get_rgba_visual </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets a visual to use for creating windows with an alpha channel. </p>
<p>The windowing system on which GTK+ is running may not support this capability, in which case <code>0</code> will be returned. Even if a non-<code>0</code> value is returned, its possible that the window's alpha channel won't be honored when displaying the window on the screen: in particular, for X an appropriate windowing manager and compositing manager must be running to provide appropriate display.</p>
<p>This functionality is not implemented in the Windows backend.</p>
<p>For setting an overall opacity for a top-level window, see <a class="el" href="classGdk_1_1Window.html#af70da6bc12c5997b6cd77f4cd14e5129" title="Set window to render as partially transparent, with opacity 0 being fully transparent and 1 fully opa...">Gdk::Window::set_opacity()</a>.</p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000005">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A visual to use for windows with an alpha channel or <code>0</code> if the capability is not available. </dd></dl>

</div>
</div>
<a class="anchor" id="a04843c5046eb14a175bbbdcc490e481f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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_1Window.html">Window</a>&gt; Gdk::Screen::get_root_window </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the root window of <em>screen</em>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000043">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The root window. </dd></dl>

</div>
</div>
<a class="anchor" id="a0ad4282fd382723bda580e7db4cc2c64"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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_1Window.html">Window</a>&gt; Gdk::Screen::get_root_window </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the root window of <em>screen</em>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000044">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The root window. </dd></dl>

</div>
</div>
<a class="anchor" id="a0c6da7b249da3e97301d92fa5e33d00e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class ValueType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool Gdk::Screen::get_setting </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/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">ValueType &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="afbc7f0ced954e5d7cc4b3b823f09955e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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_1Visual.html">Visual</a>&gt; Gdk::Screen::get_system_visual </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the system's default visual for <em>screen</em>. </p>
<p>This is the visual for the root window of the display. The return value should not be freed.</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000041">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The system visual. </dd></dl>

</div>
</div>
<a class="anchor" id="ae3e8b28ce7fe261c2f389683f3c98bef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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_1Visual.html">Visual</a>&gt; Gdk::Screen::get_system_visual </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the system's default visual for <em>screen</em>. </p>
<p>This is the visual for the root window of the display. The return value should not be freed.</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000042">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The system visual. </dd></dl>

</div>
</div>
<a class="anchor" id="aefb475d138272e603436046048aaa210"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Window.html">Window</a>&gt; &gt; Gdk::Screen::get_toplevel_windows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtains a list of all toplevel windows known to GDK on the screen <em>screen</em>. </p>
<p>A toplevel window is a child of the root window (see gdk_get_default_root_window()). </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000053">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>List of toplevel windows. </dd></dl>

</div>
</div>
<a class="anchor" id="ac0e806b92e04aec14344f10e11e84990"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Gdk::Screen::get_type </td>
          <td>(</td>
          <td class="paramname"></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>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a class="anchor" id="a0ea643f504cd7aba79ce0c987e0dee3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the width of <em>screen</em> in pixels. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000048">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The width of <em>screen</em> in pixels. </dd></dl>

</div>
</div>
<a class="anchor" id="ad6a037463ce810b4d19f2fa0d6d38644"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Screen::get_width_mm </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the width of <em>screen</em> in millimeters. </p>
<p>Note that on some X servers this value will not be correct.</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000050">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The width of <em>screen</em> in millimeters. </dd></dl>

</div>
</div>
<a class="anchor" id="aa3f2a37e845efcdd1d10c6ce275db544"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Window.html">Window</a>&gt; &gt; Gdk::Screen::get_window_stack </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a List of Gdk::Windows representing the current window stack. </p>
<p>On X11, this is done by inspecting the _NET_CLIENT_LIST_STACKING property on the root window, as described in the Extended <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Window</a> Manager Hints. If the window manager does not support the _NET_CLIENT_LIST_STACKING hint, this function returns <code>0</code>.</p>
<p>On other platforms, this function may return <code>0</code>, depending on whether it is implementable on that platform.</p>
<p>The returned list is newly allocated and owns references to the windows it contains, so it should be freed using Glib::list_free() and its windows unrefed using Glib::object_unref() when no longer needed.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000010">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A list of Gdk::Windows for the current window stack, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a47bd96f3873d1a839a405fb25a7e6841"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GdkScreen* Gdk::Screen::gobj </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">

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

</div>
</div>
<a class="anchor" id="ad1cdbb6f90e29485640ac98ede8f7d30"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const GdkScreen* Gdk::Screen::gobj </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">

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

</div>
</div>
<a class="anchor" id="a52b998dac033ef60f30bebe018e8db3f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkScreen* Gdk::Screen::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a6e0312586b935b1df1d9184d4d1e2417"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gdk::Screen::is_composited </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether windows with an <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color.">RGBA</a> visual can reasonably be expected to have their alpha channel drawn correctly on the screen. </p>
<p>On X11 this function returns whether a compositing manager is compositing <em>screen</em>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000003">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Whether windows with <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color.">RGBA</a> visuals can reasonably be expected to have their alpha channels drawn correctly on the screen. </dd></dl>

</div>
</div>
<a class="anchor" id="a4ed44c5d958b82ee07fd35d02c2e0798"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Visual.html">Visual</a>&gt; &gt; Gdk::Screen::list_visuals </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lists the available visuals for the specified <em>screen</em>. </p>
<p>A visual describes a hardware image data format. For example, a visual might support 24-bit color, or 8-bit color, and might expect pixels to be in a certain format. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000052">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A list of visuals. </dd></dl>

</div>
</div>
<a class="anchor" id="ab2317142ac88cf9f3975734092b049dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gdk::Screen::make_display_name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the name to pass to <a class="el" href="classGdk_1_1Display.html#a59cf8e3302a66aa24ba43b0c47dae946" title="Opens a display.">Gdk::Display::open()</a> to get a <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and mouse pointer To manage ...">Gdk::Display</a> with this screen as the default screen. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000054">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The name. </dd></dl>

</div>
</div>
<a class="anchor" id="a90c93c095586ca53bf32365f6c4b7339"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; ::Cairo::FontOptions &gt; Gdk::Screen::property_font_options </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The default font options for the screen. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="section return"><dt>Returns</dt><dd>A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a10b680c4ff545377a7018d5f80c12e52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; ::Cairo::FontOptions &gt; Gdk::Screen::property_font_options </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The default font options for the screen. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a3d2df8830b5f5065e2fae007930040f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; double &gt; Gdk::Screen::property_resolution </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The resolution for fonts on the screen. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="section return"><dt>Returns</dt><dd>A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a0d876a8f26b28a3b8117266535ec887c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; double &gt; Gdk::Screen::property_resolution </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The resolution for fonts on the screen. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="afc233f62e195aef2fd55bc0892059d00"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Screen::set_font_options </td>
          <td>(</td>
          <td class="paramtype">const ::Cairo::FontOptions &amp;&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the default font options for the screen. </p>
<p>These options will be set on any <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Context.html">Pango::Context</a>'s newly created with gdk_pango_context_get_for_screen(). Changing the default set of font options does not affect contexts that have already been created.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000004">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">options</td><td>A #cairo_font_options_t, or <code>0</code> to unset any previously set default font options. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a81127d3b076d0f5b87f7662309f340f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Screen::set_resolution </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dpi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the resolution for font handling on the screen. </p>
<p>This is a scale factor between points specified in a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1FontDescription.html">Pango::FontDescription</a> and cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000006">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dpi</td><td>The resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2867ce25ddb06e469f637c7feb84a510"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gdk::Screen::signal_composited_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_composited_changed()</code></dd></dl>
<p>The <a class="el" href="classGdk_1_1Screen.html#a2867ce25ddb06e469f637c7feb84a510">signal_composited_changed()</a> signal is emitted when the composited status of the screen changes</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000011">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a20c232bf8aba84d3543e0db9f742d37c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gdk::Screen::signal_monitors_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_monitors_changed()</code></dd></dl>
<p>The <a class="el" href="classGdk_1_1Screen.html#a20c232bf8aba84d3543e0db9f742d37c">signal_monitors_changed()</a> signal is emitted when the number, size or position of the monitors attached to the screen change.</p>
<p>Only for X11 and OS X for now. A future implementation for Win32 may be a possibility.</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000018">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ad3756022fbe94addcb3b2d6b9e4da4d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gdk::Screen::signal_size_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_size_changed()</code></dd></dl>
<p>The <a class="el" href="classGdk_1_1Screen.html#ad3756022fbe94addcb3b2d6b9e4da4d3">signal_size_changed()</a> signal is emitted when the pixel width or height of a screen changes.</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000060">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a2eba3d45c2bfa999442a0930118dfae3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <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_1Screen.html">Gdk::Screen</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdkScreen *&#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>&#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">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <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>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gdkmm/screen.h</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>