Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > e0521f28751d07a87e3a3d6c7d15a1ac > files > 644

libgtkmm2.0_1-devel-2.2.1-2mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Gdk::Screen class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- Generated by Doxygen 1.3-rc1 -->
<h1>Gdk::Screen Class Reference</h1>Inheritance diagram for Gdk::Screen:<p><center><img src="classGdk_1_1Screen__inherit__graph.png" border="0" usemap="#Gdk_1_1Screen__inherit__map" alt="Inheritance graph"></center>
<map name="Gdk_1_1Screen__inherit__map">
<area href="classGlib_1_1Object.html" shape="rect" coords="21,86,101,105" alt="">
<area href="classGlib_1_1ObjectBase.html" shape="rect" coords="7,17,116,36" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGdk_1_1Screen-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a0">~Screen</a> ()</td></tr>
<tr><td nowrap align=right valign=top>GdkScreen*&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a1">gobj</a> ()</td></tr>
<tr><td nowrap align=right valign=top>const GdkScreen*&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a2">gobj</a> () const</td></tr>
<tr><td nowrap align=right valign=top>GdkScreen*&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a3">gobj_copy</a> ()</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a4">get_default_colormap</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the default colormap for <em>screen</em> .</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a5">get_default_colormap</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the default colormap for <em>screen</em> .</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a6">set_default_colormap</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt;&amp; colormap)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the default <em>colormap</em> for <em>screen</em> .</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a7">get_system_colormap</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the system's default colormap for <em>screen.</em> </em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a8">get_system_colormap</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the system's default colormap for <em>screen.</em> </em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Visual.html">Visual</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a9">get_system_visual</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the system's default visual for <em>screen</em> .</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Visual.html">Visual</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a10">get_system_visual</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the system's default visual for <em>screen</em> .</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a11">get_rgb_colormap</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the preferred colormap for rendering image data on <em>screen</em> .</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a12">get_rgb_colormap</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the preferred colormap for rendering image data on <em>screen</em> .</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Visual.html">Visual</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a13">get_rgb_visual</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets a "preferred visual" chosen by GdkRGB for rendering image data on <em>screen</em> .</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Visual.html">Visual</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a14">get_rgb_visual</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets a "preferred visual" chosen by GdkRGB for rendering image data on <em>screen</em> .</em> <a href="#a14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Window.html">Window</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a15">get_root_window</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the root window of <em>screen</em> .</em> <a href="#a15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Window.html">Window</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a16">get_root_window</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the root window of <em>screen</em> .</em> <a href="#a16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Display.html">Display</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a17">get_display</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the display to which the <em>screen</em> belongs.</em> <a href="#a17"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Display.html">Display</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a18">get_display</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the display to which the <em>screen</em> belongs.</em> <a href="#a18"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a19">get_number</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the index of <em>screen</em> among the screens in the display to which it belongs.</em> <a href="#a19"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a20">get_width</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the width of <em>screen</em> in pixels.</em> <a href="#a20"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a21">get_height</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the height of <em>screen</em> in pixels.</em> <a href="#a21"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a22">get_width_mm</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the width of <em>screen</em> in millimeters.</em> <a href="#a22"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a23">get_height_mm</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the height of <em>screen</em> in millimeters.</em> <a href="#a23"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<br>
 <a class="el" href="classGdk_1_1Visual.html">Visual</a> &gt; &gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a24">list_visuals</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Lists the available visuals for the specified <em>screen</em> .</em> <a href="#a24"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<br>
 <a class="el" href="classGdk_1_1Window.html">Window</a> &gt; &gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a25">get_toplevel_windows</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Obtains a list of all toplevel windows known to GDK on the screen <em>screen</em> .</em> <a href="#a25"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a26">make_display_name</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Determines the name to pass to <a class="el" href="classGdk_1_1Display.html#d0">Gdk::Display::open()</a> to get a <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> with this screen as the default screen.</em> <a href="#a26"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a27">get_n_monitors</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the number of monitors being part of the virtual screen.</em> <a href="#a27"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a28">get_monitor_geometry</a> (int monitor_num, <a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>&amp; dest) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the <a class="el" href="classGdk_1_1Rectangle.html">Gdk::Rectangle</a> representing the size and start coordinates of the individual monitor within the the entire virtual screen.</em> <a href="#a28"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a29">get_monitor_at_point</a> (int x, int y) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the monitor number in which the point ( <em>x</em> , <em>y</em> ) is located.</em> <a href="#a29"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a30">get_monitor_at_window</a> (const <a class="el" href="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><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a31">broadcast_client_message</a> (GdkEvent* event)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sends an X ClientMessage event to all toplevel windows on <em>screen</em> .</em> <a href="#a31"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>template &lt;class ValueType&gt; bool&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a32">get_setting</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, ValueType&amp; value) const</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt;void&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#a33">signal_size_changed</a> ()</td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;Screen&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#d0">get_default</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the default screen for the default display.</em> <a href="#d0"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#b0">on_size_changed</a> ()</td></tr>
<tr><td colspan=2><br><h2>Related Functions</h2></td></tr>
<tr><td colspan=2>(Note that these are not member functions.)<br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;Gdk::Screen&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Screen.html#k0">wrap</a> (GdkScreen* object, bool take_copy=false)</td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gdk::Screen::~Screen"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual Gdk::Screen::~Screen </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a31" doxytag="Gdk::Screen::broadcast_client_message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gdk::Screen::broadcast_client_message </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">GdkEvent*&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>event</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sends an X ClientMessage event to all toplevel windows on <em>screen</em> .
<p>
Toplevel windows are determined by checking for the WM_STATE property, as described in the Inter-Client Communication Conventions Manual (ICCCM). If no windows are found with the WM_STATE property set, the message is sent to all children of the root window.
<p>
Since: 2.2 <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>event</em>&nbsp;</td><td>The <a class="el" href="classGdk_1_1Event.html">Gdk::Event</a>. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="d0" doxytag="Gdk::Screen::get_default"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;Screen&gt; Gdk::Screen::get_default </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the default screen for the default display.
<p>
(See Gdk::Display::get_default()). <dl compact><dt><b>Returns:</b></dt><dd>A Gdk::Screen, or <code>0</code> if there is no default display.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a5" doxytag="Gdk::Screen::get_default_colormap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt; Gdk::Screen::get_default_colormap </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the default colormap for <em>screen</em> .
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The default <a class="el" href="classGdk_1_1Colormap.html">Gdk::Colormap</a>.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a4" doxytag="Gdk::Screen::get_default_colormap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt; Gdk::Screen::get_default_colormap </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the default colormap for <em>screen</em> .
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The default <a class="el" href="classGdk_1_1Colormap.html">Gdk::Colormap</a>.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a18" doxytag="Gdk::Screen::get_display"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="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 class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the display to which the <em>screen</em> belongs.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The display to which <em>screen</em> belongs</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a17" doxytag="Gdk::Screen::get_display"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="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 class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the display to which the <em>screen</em> belongs.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The display to which <em>screen</em> belongs</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a21" doxytag="Gdk::Screen::get_height"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int Gdk::Screen::get_height </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the height of <em>screen</em> in pixels.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The height of <em>screen</em> in pixels.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a23" doxytag="Gdk::Screen::get_height_mm"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int Gdk::Screen::get_height_mm </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the height of <em>screen</em> in millimeters.
<p>
Note that on some X servers this value will not be correct. <dl compact><dt><b>Returns:</b></dt><dd>The heigth of <em>screen</em> in pixels.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a29" doxytag="Gdk::Screen::get_monitor_at_point"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int Gdk::Screen::get_monitor_at_point </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>y</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the monitor number in which the point ( <em>x</em> , <em>y</em> ) is located.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>x</em>&nbsp;</td><td>The x coordinate in the virtual screen. </td></tr>
    <tr><td valign=top><em>y</em>&nbsp;</td><td>The y coordinate in the virtual screen. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></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>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a30" doxytag="Gdk::Screen::get_monitor_at_window"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int Gdk::Screen::get_monitor_at_window </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Window.html">Window</a>&gt;&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>window</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>window</em>&nbsp;</td><td>A <a class="el" href="classGdk_1_1Window.html">Gdk::Window</a>. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></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> . the number of the monitor in which the largest area of the bounding rectangle of <em>window</em> resides.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a28" doxytag="Gdk::Screen::get_monitor_geometry"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gdk::Screen::get_monitor_geometry </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>monitor_num</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dest</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the <a class="el" href="classGdk_1_1Rectangle.html">Gdk::Rectangle</a> representing the size and start coordinates of the individual monitor within the the entire virtual screen.
<p>
Note that the virtual screen coordinates can be retrieved via <a class="el" href="classGdk_1_1Screen.html#a20">get_width()</a> and <a class="el" href="classGdk_1_1Screen.html#a21">get_height()</a>.
<p>
Since: 2.2 <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>monitor_num</em>&nbsp;</td><td>The monitor number. </td></tr>
    <tr><td valign=top><em>dest</em>&nbsp;</td><td>A <a class="el" href="classGdk_1_1Rectangle.html">Gdk::Rectangle</a> to be filled with the monitor geometry. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a27" doxytag="Gdk::Screen::get_n_monitors"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int Gdk::Screen::get_n_monitors </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the number of monitors being part of the virtual screen.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>Number of monitors part of the virtual screen or 0 if <em>screen</em> is not in virtual screen mode.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a19" doxytag="Gdk::Screen::get_number"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int Gdk::Screen::get_number </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the index of <em>screen</em> among the screens in the display to which it belongs.
<p>
(See get_display()) <dl compact><dt><b>Returns:</b></dt><dd>The index</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a12" doxytag="Gdk::Screen::get_rgb_colormap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt; Gdk::Screen::get_rgb_colormap </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the preferred colormap for rendering image data on <em>screen</em> .
<p>
Not a very useful function; historically, GDK could only render RGB image data to one colormap and visual, but in the current version it can render to any colormap and visual. So there's no need to call this function. <dl compact><dt><b>Returns:</b></dt><dd>The preferred colormap</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a11" doxytag="Gdk::Screen::get_rgb_colormap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt; Gdk::Screen::get_rgb_colormap </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the preferred colormap for rendering image data on <em>screen</em> .
<p>
Not a very useful function; historically, GDK could only render RGB image data to one colormap and visual, but in the current version it can render to any colormap and visual. So there's no need to call this function. <dl compact><dt><b>Returns:</b></dt><dd>The preferred colormap</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a14" doxytag="Gdk::Screen::get_rgb_visual"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Visual.html">Visual</a>&gt; Gdk::Screen::get_rgb_visual </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets a "preferred visual" chosen by GdkRGB for rendering image data on <em>screen</em> .
<p>
In previous versions of GDK, this was the only visual GdkRGB could use for rendering. In current versions, it's simply the visual GdkRGB would have chosen as the optimal one in those previous versions. GdkRGB can now render to drawables with any visual. <dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Visual.html">Gdk::Visual</a> chosen by GdkRGB.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a13" doxytag="Gdk::Screen::get_rgb_visual"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Visual.html">Visual</a>&gt; Gdk::Screen::get_rgb_visual </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets a "preferred visual" chosen by GdkRGB for rendering image data on <em>screen</em> .
<p>
In previous versions of GDK, this was the only visual GdkRGB could use for rendering. In current versions, it's simply the visual GdkRGB would have chosen as the optimal one in those previous versions. GdkRGB can now render to drawables with any visual. <dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Visual.html">Gdk::Visual</a> chosen by GdkRGB.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a16" doxytag="Gdk::Screen::get_root_window"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="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 class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the root window of <em>screen</em> .
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The root window</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a15" doxytag="Gdk::Screen::get_root_window"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="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 class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the root window of <em>screen</em> .
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The root window</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a32" doxytag="Gdk::Screen::get_setting"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" colspan="4">
template &lt;class ValueType&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top"> bool Gdk::Screen::get_setting </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>ValueType&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>value</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a8" doxytag="Gdk::Screen::get_system_colormap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt; Gdk::Screen::get_system_colormap </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the system's default colormap for <em>screen.</em> 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The default colormap for <em>screen</em> .</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a7" doxytag="Gdk::Screen::get_system_colormap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt; Gdk::Screen::get_system_colormap </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the system's default colormap for <em>screen.</em> 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The default colormap for <em>screen</em> .</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a10" doxytag="Gdk::Screen::get_system_visual"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="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 class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the system's default visual for <em>screen</em> .
<p>
This is the visual for the root window of the display. The return value should not be freed. <dl compact><dt><b>Returns:</b></dt><dd>The system visual</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a9" doxytag="Gdk::Screen::get_system_visual"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="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 class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the system's default visual for <em>screen</em> .
<p>
This is the visual for the root window of the display. The return value should not be freed. <dl compact><dt><b>Returns:</b></dt><dd>The system visual</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a25" doxytag="Gdk::Screen::get_toplevel_windows"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt;<a class="el" href="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 class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Obtains a list of all toplevel windows known to GDK on the screen <em>screen</em> .
<p>
A toplevel window is a child of the root window (see gdk_get_default_root_window()).
<p>
The returned list should be freed with Glib::list_free(), but its elements need not be freed. <dl compact><dt><b>Returns:</b></dt><dd>List of toplevel windows, free with Glib::list_free()</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a20" doxytag="Gdk::Screen::get_width"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int Gdk::Screen::get_width </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the width of <em>screen</em> in pixels.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The width of <em>screen</em> in pixels.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a22" doxytag="Gdk::Screen::get_width_mm"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int Gdk::Screen::get_width_mm </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the width of <em>screen</em> in millimeters.
<p>
Note that on some X servers this value will not be correct. <dl compact><dt><b>Returns:</b></dt><dd>The width of <em>screen</em> in pixels.</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a2" doxytag="Gdk::Screen::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const GdkScreen* Gdk::Screen::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGlib_1_1ObjectBase.html#a3">Glib::ObjectBase</a>.    </td>
  </tr>
</table>
<a name="a1" doxytag="Gdk::Screen::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GdkScreen* Gdk::Screen::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGlib_1_1ObjectBase.html#a2">Glib::ObjectBase</a>.    </td>
  </tr>
</table>
<a name="a3" doxytag="Gdk::Screen::gobj_copy"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GdkScreen* Gdk::Screen::gobj_copy </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a24" doxytag="Gdk::Screen::list_visuals"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt;<a class="el" href="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 class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Lists the available visuals for the specified <em>screen</em> .
<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>
Call Glib::list_free() on the return value when you're finished with it. <dl compact><dt><b>Returns:</b></dt><dd>A list of visuals; the list must be freed, but not its contents</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a26" doxytag="Gdk::Screen::make_display_name"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gdk::Screen::make_display_name </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determines the name to pass to <a class="el" href="classGdk_1_1Display.html#d0">Gdk::Display::open()</a> to get a <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> with this screen as the default screen.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A newly allocated string, free with Glib::free()</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="b0" doxytag="Gdk::Screen::on_size_changed"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Gdk::Screen::on_size_changed </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a6" doxytag="Gdk::Screen::set_default_colormap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gdk::Screen::set_default_colormap </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt;&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>colormap</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the default <em>colormap</em> for <em>screen</em> .
<p>
Since: 2.2 <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>colormap</em>&nbsp;</td><td>A <a class="el" href="classGdk_1_1Colormap.html">Gdk::Colormap</a>. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a33" doxytag="Gdk::Screen::signal_size_changed"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt;void&gt; Gdk::Screen::signal_size_changed </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Prototype:</b></dt><dd><code>void size_changed()</code> </dd></dl>
    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="k0" doxytag="Gdk::Screen::wrap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;Gdk::Screen&gt; wrap </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">GdkScreen*&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>object</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>take_copy</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [related]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="screen_8h.html">screen.h</a></ul>
<hr><address><small>
Generated for gtkmm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.3-rc1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>