Sophie

Sophie

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

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::Event 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::Event Class Reference</h1><a href="classGdk_1_1Event-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>&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a0">Event</a> ()</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a1">Event</a> (GdkEvent* gobject, bool make_a_copy=true)</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a2">Event</a> (const Event&amp; other)</td></tr>
<tr><td nowrap align=right valign=top>Event&amp;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a3">operator=</a> (const Event&amp; other)</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a4">~Event</a> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a5">swap</a> (Event&amp; other)</td></tr>
<tr><td nowrap align=right valign=top>GdkEvent*&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a6">gobj</a> ()</td></tr>
<tr><td nowrap align=right valign=top>const GdkEvent*&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a7">gobj</a> () const</td></tr>
<tr><td nowrap align=right valign=top>GdkEvent*&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a8">gobj_copy</a> () const</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a9">put</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Appends a copy of the given event onto the front of the event queue for event-&gt;any.window's display, or the default event queue if event-&gt;any.window is <code>0</code>.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>guint32&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a10">get_time</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the time stamp from <em>event</em> , if there is one; otherwise returns Gdk::CURRENT_TIME.</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a11">get_state</a> (<a class="el" href="group__gdkmmEnums.html#a92">ModifierType</a>&amp; state) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>If the event contains a "state" field, puts that field in <em>state</em> .</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a12">get_coords</a> (double&amp; x_win, double&amp; y_win) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract the event window relative x/y coordinates from an event.</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a13">get_root_coords</a> (double&amp; x_root, double&amp; y_root) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract the root window relative x/y coordinates from an event.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a14">get_axis</a> (<a class="el" href="group__gdkmmEnums.html#a77">AxisUse</a> axis_use, double&amp; value) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extract the axis value for a particular axis use from an event structure.</em> <a href="#a14"></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_1Event.html#a15">set_screen</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Screen.html">Screen</a>&gt;&amp; screen)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the screen for <em>event</em> to <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;<a class="el" href="classGdk_1_1Screen.html">Screen</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a16">get_screen</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the screen for the event.</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;const <a class="el" href="classGdk_1_1Screen.html">Screen</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a17">get_screen</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the screen for the event.</em> <a href="#a17"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a18">send_client_message</a> (GdkNativeWindow winid)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sends an X ClientMessage event to a given window (which must be on the default <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a>.) This could be used for communicating between different applications, though the amount of data is limited to 20 bytes.</em> <a href="#a18"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#a19">send_client_message</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Display.html">Display</a>&gt;&amp; display, GdkNativeWindow winid)</td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>Event&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#d0">get</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Checks all open displays for a Gdk::Event to process,to be processed on, fetching events from the windowing system if necessary.</em> <a href="#d0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>Event&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#d1">peek</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>If there is an event waiting in the event queue of some open display, returns a copy of it.</em> <a href="#d1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>Event&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#d2">get_graphics_expose</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)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Waits for a GraphicsExpose or NoExpose event from the X server.</em> <a href="#d2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#d3">events_pending</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Checks if any events are ready to be processed for any display.</em> <a href="#d3"></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_1Event.html#d4">set_show_events</a> (bool show_events)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets whether a trace of received events is output.</em> <a href="#d4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#d5">get_show_events</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets whether event debugging output is enabled.</em> <a href="#d5"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>GdkEvent*&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#n0">gobject_</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>void&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#k0">swap</a> (Event&amp; lhs, Event&amp; rhs)</td></tr>
<tr><td nowrap align=right valign=top>Gdk::Event&nbsp;</td><td valign=bottom><a class="el" href="classGdk_1_1Event.html#k1">wrap</a> (GdkEvent* object, bool take_copy=false)</td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gdk::Event::Event"></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"> Gdk::Event::Event </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="a1" doxytag="Gdk::Event::Event"></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"> Gdk::Event::Event </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">GdkEvent*&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>gobject</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>make_a_copy</em> = true</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [explicit]</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="a2" doxytag="Gdk::Event::Event"></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"> Gdk::Event::Event </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const Event&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>other</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>
    </td>
  </tr>
</table>
<a name="a4" doxytag="Gdk::Event::~Event"></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"> Gdk::Event::~Event </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>
<hr><h2>Member Function Documentation</h2>
<a name="d3" doxytag="Gdk::Event::events_pending"></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"> bool Gdk::Event::events_pending </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>
Checks if any events are ready to be processed for any display.
<p>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if any events are pending. </dd></dl>
    </td>
  </tr>
</table>
<a name="d0" doxytag="Gdk::Event::get"></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"> Event Gdk::Event::get </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>
Checks all open displays for a Gdk::Event to process,to be processed on, fetching events from the windowing system if necessary.
<p>
See <a class="el" href="classGdk_1_1Display.html#a15">Gdk::Display::get_event()</a>. <dl compact><dt><b>Returns:</b></dt><dd>The next Gdk::Event to be processed, or <code>0</code> if no events are pending. The returned Gdk::Event should be freed with gdk_event_free(). </dd></dl>
    </td>
  </tr>
</table>
<a name="a14" doxytag="Gdk::Event::get_axis"></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"> bool Gdk::Event::get_axis </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="group__gdkmmEnums.html#a77">AxisUse</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>axis_use</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&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>
Extract the axis value for a particular axis use from an event structure.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>axis_use</em>&nbsp;</td><td>The axis use to look for. </td></tr>
    <tr><td valign=top><em>value</em>&nbsp;</td><td>Location to store the value found. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if the specified axis was found, otherwise <code>false</code>. </dd></dl>
    </td>
  </tr>
</table>
<a name="a12" doxytag="Gdk::Event::get_coords"></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"> bool Gdk::Event::get_coords </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">double&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>x_win</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>y_win</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>
Extract the event window relative x/y coordinates from an event.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>x_win</em>&nbsp;</td><td>Location to put event window x coordinate. </td></tr>
    <tr><td valign=top><em>y_win</em>&nbsp;</td><td>Location to put event window y coordinate. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if the event delivered event window coordinates. </dd></dl>
    </td>
  </tr>
</table>
<a name="d2" doxytag="Gdk::Event::get_graphics_expose"></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"> Event Gdk::Event::get_graphics_expose </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><code> [static]</code></td>
        </tr>

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

<p>
Waits for a GraphicsExpose or NoExpose event from the X server.
<p>
This is used in the Gtk::Text and Gtk::CList widgets in GTK+ to make sure any GraphicsExpose events are handled before the widget is scrolled. <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>The <a class="el" href="classGdk_1_1Window.html">Gdk::Window</a> to wait for the events for. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A Gdk::EventExpose if a GraphicsExpose was received, or <code>0</code> if a NoExpose event was received. </dd></dl>
    </td>
  </tr>
</table>
<a name="a13" doxytag="Gdk::Event::get_root_coords"></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"> bool Gdk::Event::get_root_coords </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">double&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>x_root</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>y_root</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>
Extract the root window relative x/y coordinates from an event.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>x_root</em>&nbsp;</td><td>Location to put root window x coordinate. </td></tr>
    <tr><td valign=top><em>y_root</em>&nbsp;</td><td>Location to put root window y coordinate. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if the event delivered root window coordinates. </dd></dl>
    </td>
  </tr>
</table>
<a name="a17" doxytag="Gdk::Event::get_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"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Screen.html">Screen</a>&gt; Gdk::Event::get_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> const</td>
        </tr>

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

<p>
Returns the screen for the event.
<p>
The screen is typically the screen for <code>event-&gt;any.window</code>, but for events such as mouse events, it is the screen where the the pointer was when the event occurs - that is, the screen which has the root window to which <code>event-&gt;motion.x_root</code> and <code>event-&gt;motion.y_root</code> are relative. <dl compact><dt><b>Returns:</b></dt><dd>The screen for the event</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="a16" doxytag="Gdk::Event::get_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"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Screen.html">Screen</a>&gt; Gdk::Event::get_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></td>
        </tr>

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

<p>
Returns the screen for the event.
<p>
The screen is typically the screen for <code>event-&gt;any.window</code>, but for events such as mouse events, it is the screen where the the pointer was when the event occurs - that is, the screen which has the root window to which <code>event-&gt;motion.x_root</code> and <code>event-&gt;motion.y_root</code> are relative. <dl compact><dt><b>Returns:</b></dt><dd>The screen for the event</dd></dl>
Since: 2.2.     </td>
  </tr>
</table>
<a name="d5" doxytag="Gdk::Event::get_show_events"></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"> bool Gdk::Event::get_show_events </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 whether event debugging output is enabled.
<p>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if event debugging output is enabled. </dd></dl>
    </td>
  </tr>
</table>
<a name="a11" doxytag="Gdk::Event::get_state"></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"> bool Gdk::Event::get_state </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="group__gdkmmEnums.html#a92">ModifierType</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>state</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>
If the event contains a "state" field, puts that field in <em>state</em> .
<p>
Otherwise stores an empty state (0). Returns <code>true</code> if there was a state field in the event. <em>event</em> may be <code>0</code>, in which case it's treated as if the event had no state field. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>state</em>&nbsp;</td><td>Return location for state. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if there was a state field in the event. </dd></dl>
    </td>
  </tr>
</table>
<a name="a10" doxytag="Gdk::Event::get_time"></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"> guint32 Gdk::Event::get_time </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 time stamp from <em>event</em> , if there is one; otherwise returns Gdk::CURRENT_TIME.
<p>
If <em>event</em> is <code>0</code>, returns Gdk::CURRENT_TIME. <dl compact><dt><b>Returns:</b></dt><dd>Time stamp field from <em>event</em> . </dd></dl>
    </td>
  </tr>
</table>
<a name="a7" doxytag="Gdk::Event::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 GdkEvent* Gdk::Event::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>
    </td>
  </tr>
</table>
<a name="a6" doxytag="Gdk::Event::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"> GdkEvent* Gdk::Event::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>
    </td>
  </tr>
</table>
<a name="a8" doxytag="Gdk::Event::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"> GdkEvent* Gdk::Event::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> 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="a3" doxytag="Gdk::Event::operator="></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"> Event&amp; Gdk::Event::operator= </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const Event&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>other</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>
    </td>
  </tr>
</table>
<a name="d1" doxytag="Gdk::Event::peek"></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"> Event Gdk::Event::peek </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>
If there is an event waiting in the event queue of some open display, returns a copy of it.
<p>
See <a class="el" href="classGdk_1_1Display.html#a16">Gdk::Display::peek_event()</a>. <dl compact><dt><b>Returns:</b></dt><dd>A copy of the first Gdk::Event on some event queue, or <code>0</code> if no events are in any queues. The returned Gdk::Event should be freed with gdk_event_free(). </dd></dl>
    </td>
  </tr>
</table>
<a name="a9" doxytag="Gdk::Event::put"></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::Event::put </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>
Appends a copy of the given event onto the front of the event queue for event-&gt;any.window's display, or the default event queue if event-&gt;any.window is <code>0</code>.
<p>
See <a class="el" href="classGdk_1_1Display.html#a17">Gdk::Display::put_event()</a>.     </td>
  </tr>
</table>
<a name="a19" doxytag="Gdk::Event::send_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"> bool Gdk::Event::send_client_message </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_1Display.html">Display</a>&gt;&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>display</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>GdkNativeWindow&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>winid</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

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

<p>
    </td>
  </tr>
</table>
<a name="a18" doxytag="Gdk::Event::send_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"> bool Gdk::Event::send_client_message </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">GdkNativeWindow&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>winid</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 a given window (which must be on the default <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a>.) This could be used for communicating between different applications, though the amount of data is limited to 20 bytes.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>winid</em>&nbsp;</td><td>The window to send the X ClientMessage event to. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Non-zero on success. </dd></dl>
    </td>
  </tr>
</table>
<a name="a15" doxytag="Gdk::Event::set_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"> void Gdk::Event::set_screen </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_1Screen.html">Screen</a>&gt;&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>screen</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 screen for <em>event</em> to <em>screen</em> .
<p>
The event must have been allocated by GTK+, for instance, by gdk_event_copy().
<p>
Since: 2.2 <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>screen</em>&nbsp;</td><td>A <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a>. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="d4" doxytag="Gdk::Event::set_show_events"></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::Event::set_show_events </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>show_events</em>          </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>
Sets whether a trace of received events is output.
<p>
Note that GTK+ must be compiled with debugging (that is, configured using the &lt;option&gt;--enable-debug&lt;/option&gt; option) to use this option. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>show_events</em>&nbsp;</td><td><code>true</code> to output event debugging information. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a5" doxytag="Gdk::Event::swap"></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::Event::swap </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">Event&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>other</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>
    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="k0" doxytag="Gdk::Event::swap"></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 swap </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">Event&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>lhs</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>Event&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>rhs</em></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>
<a name="k1" doxytag="Gdk::Event::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"> Gdk::Event wrap </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">GdkEvent*&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><h2>Member Data Documentation</h2>
<a name="n0" doxytag="Gdk::Event::gobject_"></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"> GdkEvent* Gdk::Event::gobject_<code> [protected]</code>
      </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="event_8h.html">event.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>