File: classWt_1_1WDropEvent.html

package info (click to toggle)
witty 3.1.2-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 45,512 kB
  • ctags: 35,832
  • sloc: cpp: 69,469; ansic: 66,945; xml: 4,383; sh: 594; perl: 108; makefile: 106
file content (87 lines) | stat: -rw-r--r-- 5,574 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt: Wt::WDropEvent Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceWt.html">Wt</a>::<a class="el" href="classWt_1_1WDropEvent.html">WDropEvent</a>
  </div>
</div>
<div class="contents">
<h1>Wt::WDropEvent Class Reference<br>
<small>
[<a class="el" href="group__signalslot.html">Signal/slot system</a>]</small>
</h1><!-- doxytag: class="Wt::WDropEvent" -->A class providing details for a drop event.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;Wt/WEvent&gt;</code>
<p>

<p>
<a href="classWt_1_1WDropEvent-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 Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="392415b39dbff17302e63ba344894ff3"></a><!-- doxytag: member="Wt::WDropEvent::WDropEvent" ref="392415b39dbff17302e63ba344894ff3" args="(WObject *source, const std::string &amp;mimeType, const WMouseEvent &amp;mouseEvent)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDropEvent.html#392415b39dbff17302e63ba344894ff3">WDropEvent</a> (<a class="el" href="classWt_1_1WObject.html">WObject</a> *source, const std::string &amp;mimeType, const <a class="el" href="classWt_1_1WMouseEvent.html">WMouseEvent</a> &amp;mouseEvent)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1WObject.html">WObject</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDropEvent.html#dfe27a00e34b7322a52bc7dc73d4d5af">source</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the source of the drag&amp;drop operation.  <a href="#dfe27a00e34b7322a52bc7dc73d4d5af"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="14e3c3a1cb956319cefe63bddc29a0de"></a><!-- doxytag: member="Wt::WDropEvent::mimeType" ref="14e3c3a1cb956319cefe63bddc29a0de" args="() const " -->
const std::string &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDropEvent.html#14e3c3a1cb956319cefe63bddc29a0de">mimeType</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the mime type of this drop event. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c4ed93cd012f2dbf9b9041c4bb926ab"></a><!-- doxytag: member="Wt::WDropEvent::mouseEvent" ref="8c4ed93cd012f2dbf9b9041c4bb926ab" args="() const " -->
const <a class="el" href="classWt_1_1WMouseEvent.html">WMouseEvent</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDropEvent.html#8c4ed93cd012f2dbf9b9041c4bb926ab">mouseEvent</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the original mouse event. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A class providing details for a drop event. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#c436c4b99710b9199a9df3a8b4151a69" title="Handles a drop event.">WWidget::dropEvent(WDropEvent)</a> </dd></dl>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="dfe27a00e34b7322a52bc7dc73d4d5af"></a><!-- doxytag: member="Wt::WDropEvent::source" ref="dfe27a00e34b7322a52bc7dc73d4d5af" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WObject.html">WObject</a>* Wt::WDropEvent::source           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the source of the drag&amp;drop operation. 
<p>
The source is the widget that was set draggable using <a class="el" href="classWt_1_1WInteractWidget.html#556c14d02388720b1d95b2149be2e867" title="Configure dragging.">WInteractWidget::setDraggable()</a>. 
</div>
</div><p>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:06 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>