<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>gtkmm: Gdk::DragContext Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm <span id="projectnumber">2.24.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGdk.html">Gdk</a> </li> <li class="navelem"><a class="el" href="classGdk_1_1DragContext.html">DragContext</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gdk::DragContext Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gdk::DragContext" --><!-- doxytag: inherits="Glib::Object" --> <p>A <a class="el" href="classGdk_1_1DragContext.html" title="A Gdk::DragContext holds information about a drag in progress.">Gdk::DragContext</a> holds information about a drag in progress. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gdk::DragContext:</div> <div class="dyncontent"> <div class="center"><img src="classGdk_1_1DragContext__inherit__graph.png" border="0" usemap="#Gdk_1_1DragContext_inherit__map" alt="Inheritance graph"/></div> <map name="Gdk_1_1DragContext_inherit__map" id="Gdk_1_1DragContext_inherit__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="27,160,120,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="11,83,136,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="16,5,131,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Gdk::DragContext:</div> <div class="dyncontent"> <div class="center"><img src="classGdk_1_1DragContext__coll__graph.png" border="0" usemap="#Gdk_1_1DragContext_coll__map" alt="Collaboration graph"/></div> <map name="Gdk_1_1DragContext_coll__map" id="Gdk_1_1DragContext_coll__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="27,160,120,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="11,83,136,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="16,5,131,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGdk_1_1DragContext-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#aa34f0bdb76dee787b4fd01eefd0b15d8">~DragContext</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GdkDragContext* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a719395d176b20bc76696bc138d993843">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a719395d176b20bc76696bc138d993843"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GdkDragContext* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a2083e8d2d3d563ee8085a19d693be28c">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2083e8d2d3d563ee8085a19d693be28c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GdkDragContext* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#aefe9c9832df9c10022ac4d882fbfc526">gobj_copy</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#aefe9c9832df9c10022ac4d882fbfc526"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a368eb26042a181638d995295417a2764">drag_status</a> (<a class="el" href="group__gdkmmEnums.html#ga0a9506293be3b3dfe00ecdb83e764ca6">DragAction</a> action, guint32 time)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Selects one of the actions offered by the drag source. <a href="#a368eb26042a181638d995295417a2764"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a69b69c67eab2d6e9900f11babc805928">drag_refuse</a> (guint32 time)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Indicate that a drop will not be accepted. <a href="#a69b69c67eab2d6e9900f11babc805928"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a6ea67739911facd2d3bd0c9600e321fa">drop_reply</a> (bool ok, guint32 time)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts or rejects a drop. <a href="#a6ea67739911facd2d3bd0c9600e321fa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#ac962004e3323dc4b80a559d1a187b6ec">drop_finish</a> (bool success, guint32 time)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Ends the drag operation after a drop. <a href="#ac962004e3323dc4b80a559d1a187b6ec"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a9d3e0d0a3a08478a47ffbbc294937423">get_selection</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the selection atom for the current source window. <a href="#a9d3e0d0a3a08478a47ffbbc294937423"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a395bdac1a325d243519b4bee29fbdb44">drag_finish</a> (bool success, bool del, guint32 time)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Informs the drag source that the drop is finished, and that the data of the drag will no longer be required. <a href="#a395bdac1a325d243519b4bee29fbdb44"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a752ddc4f7c7fba7c4e8ba57c1ce3e559">set_icon</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Colormap.html">Gdk::Colormap</a> >& colormap, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a> >& pixmap, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a> >& mask, int hot_x, int hot_y)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#ae281e3c452870c40c9467940fe8be8fe">set_icon</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> >& pixbuf, int hot_x, int hot_y)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#af93ae8e081be969a9914f79e6afc2247">set_icon</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& stock_id, int hot_x, int hot_y)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#ae092d80417150411714e9eb21eba00eb">set_icon_name</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name, int hot_x, int hot_y)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a90eb57cd7bb8d7137d2b7c2b9b1e83ab">set_icon</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Window.html">Window</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#ad96790b1e09f8a190c0f54216c5c9028">get_source_window</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> where the DND operation started. <a href="#ad96790b1e09f8a190c0f54216c5c9028"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classGdk_1_1Window.html">Window</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a5cbc4280c4f0c94d74ffa547787238d8">get_source_window</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> where the DND operation started. <a href="#a5cbc4280c4f0c94d74ffa547787238d8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Gdk::ListHandle_AtomString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a2e6497b8fac1dbe37c306c165c9aaa61">get_targets</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a list of targets offered by the source. <a href="#a2e6497b8fac1dbe37c306c165c9aaa61"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga55102c640e0ecc1378ac73c1065d452d">DragProtocol</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a3554b9e9c9d6327fb4cf9f0a4d310840">get_protocol</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the DND protocol which governs this drag. <a href="#a3554b9e9c9d6327fb4cf9f0a4d310840"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#ac5a72b0f29d575905ffad37bd3bca3aa">get_is_source</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Discover whether the context is used on the source side. <a href="#ac5a72b0f29d575905ffad37bd3bca3aa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga0a9506293be3b3dfe00ecdb83e764ca6">DragAction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a589ec76681bc6d2a3dc6e21f0105dab2">get_actions</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines the bitmask of actions proposed by the source if gdk_drag_context_suggested_action() returns GDK_ACTION_ASK. <a href="#a589ec76681bc6d2a3dc6e21f0105dab2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga0a9506293be3b3dfe00ecdb83e764ca6">DragAction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a2bbc9ed395bbbd0623bbd6915c6d36a7">get_suggested_action</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines the suggested drag action of the context. <a href="#a2bbc9ed395bbbd0623bbd6915c6d36a7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga0a9506293be3b3dfe00ecdb83e764ca6">DragAction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a384015be2fe78f597bb73c029a203c7c">get_action</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines the action chosen by the drag destination. <a href="#a384015be2fe78f597bb73c029a203c7c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga0a9506293be3b3dfe00ecdb83e764ca6">DragAction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a369c437c1ba2c6837dab6d757810780a">get_selected_action</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines the action chosen by the drag destination. <a href="#a369c437c1ba2c6837dab6d757810780a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#abd9bd2c9b70a88afdc3840b632de8403">get_start_time</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a timestamp recording the start time of this drag. <a href="#abd9bd2c9b70a88afdc3840b632de8403"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#ae4fbaa73dda0d3037d6cad4222d19cd2">find_window_for_screen</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Window.html">Window</a> >& drag_window, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Screen.html">Screen</a> >& screen, int x_root, int y_root, <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Window.html">Window</a> >& dest_window, <a class="el" href="group__gdkmmEnums.html#ga55102c640e0ecc1378ac73c1065d452d">DragProtocol</a>* protocol) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Finds the destination window and DND protocol to use at the given pointer position. <a href="#ae4fbaa73dda0d3037d6cad4222d19cd2"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1DragContext.html">DragContext</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a1cd2c10b4c4e3346bbf0346bba33a7ca">create</a> ()</td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a7d7ee53ae6f03bf7afd2f0f106368079">DragContext</a> ()</td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1DragContext.html">Gdk::DragContext</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1DragContext.html#a95c1145cb30eed489f8412e8e682fd2d">wrap</a> (GdkDragContext* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a95c1145cb30eed489f8412e8e682fd2d"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>A <a class="el" href="classGdk_1_1DragContext.html" title="A Gdk::DragContext holds information about a drag in progress.">Gdk::DragContext</a> holds information about a drag in progress. </p> <p>It is used on both source and destination sides. </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="aa34f0bdb76dee787b4fd01eefd0b15d8"></a><!-- doxytag: member="Gdk::DragContext::~DragContext" ref="aa34f0bdb76dee787b4fd01eefd0b15d8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gdk::DragContext::~DragContext </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a7d7ee53ae6f03bf7afd2f0f106368079"></a><!-- doxytag: member="Gdk::DragContext::DragContext" ref="a7d7ee53ae6f03bf7afd2f0f106368079" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gdk::DragContext::DragContext </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000006">Deprecated:</a></b></dt><dd>This method is not useful, you always obtain drag contexts by <a class="el" href="classGdk_1_1Window.html#aa1456c4781e4c38e336039b7168302d2" title="Starts a drag and creates a new drag context for it.">Gdk::Window::drag_begin()</a> or similar.</dd></dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a1cd2c10b4c4e3346bbf0346bba33a7ca"></a><!-- doxytag: member="Gdk::DragContext::create" ref="a1cd2c10b4c4e3346bbf0346bba33a7ca" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1DragContext.html">DragContext</a>> Gdk::DragContext::create </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd>This method is not useful, you always obtain drag contexts by <a class="el" href="classGdk_1_1Window.html#aa1456c4781e4c38e336039b7168302d2" title="Starts a drag and creates a new drag context for it.">Gdk::Window::drag_begin()</a> or similar.</dd></dl> </div> </div> <a class="anchor" id="a395bdac1a325d243519b4bee29fbdb44"></a><!-- doxytag: member="Gdk::DragContext::drag_finish" ref="a395bdac1a325d243519b4bee29fbdb44" args="(bool success, bool del, guint32 time)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::drag_finish </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>success</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>del</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint32 </td> <td class="paramname"><em>time</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Informs the drag source that the drop is finished, and that the data of the drag will no longer be required. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">success</td><td>A flag indicating whether the drop was successful. </td></tr> <tr><td class="paramname">del</td><td>Aa flag indicating whether the source should delete the original data. (This should be true for a move.) time The timestamp from the "drag_data_drop" signal. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a69b69c67eab2d6e9900f11babc805928"></a><!-- doxytag: member="Gdk::DragContext::drag_refuse" ref="a69b69c67eab2d6e9900f11babc805928" args="(guint32 time)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::drag_refuse </td> <td>(</td> <td class="paramtype">guint32 </td> <td class="paramname"><em>time</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Indicate that a drop will not be accepted. </p> <p>This function may be called by the drag destination in response to gdk_drag_motion() called by the drag source. Alternatively, call <a class="el" href="classGdk_1_1DragContext.html#a368eb26042a181638d995295417a2764" title="Selects one of the actions offered by the drag source.">drag_status()</a> to indicate which drag action will be accepted.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">time</td><td>The timestamp for this operation. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a368eb26042a181638d995295417a2764"></a><!-- doxytag: member="Gdk::DragContext::drag_status" ref="a368eb26042a181638d995295417a2764" args="(DragAction action, guint32 time)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::drag_status </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga0a9506293be3b3dfe00ecdb83e764ca6">DragAction</a> </td> <td class="paramname"><em>action</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint32 </td> <td class="paramname"><em>time</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Selects one of the actions offered by the drag source. </p> <p>This function is called by the drag destination in response to gdk_drag_motion() called by the drag source. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">action</td><td>The selected action which will be taken when a drop happens, or 0 to indicate that a drop will not be accepted. </td></tr> <tr><td class="paramname">time</td><td>The timestamp for this operation. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ac962004e3323dc4b80a559d1a187b6ec"></a><!-- doxytag: member="Gdk::DragContext::drop_finish" ref="ac962004e3323dc4b80a559d1a187b6ec" args="(bool success, guint32 time)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::drop_finish </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>success</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint32 </td> <td class="paramname"><em>time</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Ends the drag operation after a drop. </p> <p>This function is called by the drag destination. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">success</td><td><code>true</code> if the data was successfully received. </td></tr> <tr><td class="paramname">time</td><td>The timestamp for this operation. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a6ea67739911facd2d3bd0c9600e321fa"></a><!-- doxytag: member="Gdk::DragContext::drop_reply" ref="a6ea67739911facd2d3bd0c9600e321fa" args="(bool ok, guint32 time)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::drop_reply </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>ok</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint32 </td> <td class="paramname"><em>time</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Accepts or rejects a drop. </p> <p>This function is called by the drag destination in response to a drop initiated by the drag source. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">ok</td><td><code>true</code> if the drop is accepted. </td></tr> <tr><td class="paramname">time</td><td>The timestamp for this operation. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ae4fbaa73dda0d3037d6cad4222d19cd2"></a><!-- doxytag: member="Gdk::DragContext::find_window_for_screen" ref="ae4fbaa73dda0d3037d6cad4222d19cd2" args="(const Glib::RefPtr< Window > &drag_window, const Glib::RefPtr< Screen > &screen, int x_root, int y_root, Glib::RefPtr< Window > &dest_window, DragProtocol *protocol) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::find_window_for_screen </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Window.html">Window</a> >& </td> <td class="paramname"><em>drag_window</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Screen.html">Screen</a> >& </td> <td class="paramname"><em>screen</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>x_root</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>y_root</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Window.html">Window</a> >& </td> <td class="paramname"><em>dest_window</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga55102c640e0ecc1378ac73c1065d452d">DragProtocol</a>* </td> <td class="paramname"><em>protocol</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Finds the destination window and DND protocol to use at the given pointer position. </p> <p>This function is called by the drag source to obtain the <em>dest_window</em> and <em>protocol</em> parameters for gdk_drag_motion().</p> <dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000045">Since gtkmm 2.2:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">drag_window</td><td>A window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon. </td></tr> <tr><td class="paramname">screen</td><td>The screen where the destination window is sought. </td></tr> <tr><td class="paramname">x_root</td><td>The x position of the pointer in root coordinates. </td></tr> <tr><td class="paramname">y_root</td><td>The y position of the pointer in root coordinates. </td></tr> <tr><td class="paramname">dest_window</td><td>Location to store the destination window in. </td></tr> <tr><td class="paramname">protocol</td><td>Location to store the DND protocol in. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a384015be2fe78f597bb73c029a203c7c"></a><!-- doxytag: member="Gdk::DragContext::get_action" ref="a384015be2fe78f597bb73c029a203c7c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gdkmmEnums.html#ga0a9506293be3b3dfe00ecdb83e764ca6">DragAction</a> Gdk::DragContext::get_action </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Determines the action chosen by the drag destination. </p> <dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000013">Since gtkmm 2.22:</a></b></dt><dd></dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000008">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGdk_1_1DragContext.html#a369c437c1ba2c6837dab6d757810780a" title="Determines the action chosen by the drag destination.">get_selected_action()</a> </dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A Gdk::DragAction value. </dd></dl> </div> </div> <a class="anchor" id="a589ec76681bc6d2a3dc6e21f0105dab2"></a><!-- doxytag: member="Gdk::DragContext::get_actions" ref="a589ec76681bc6d2a3dc6e21f0105dab2" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gdkmmEnums.html#ga0a9506293be3b3dfe00ecdb83e764ca6">DragAction</a> Gdk::DragContext::get_actions </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Determines the bitmask of actions proposed by the source if gdk_drag_context_suggested_action() returns GDK_ACTION_ASK. </p> <dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000011">Since gtkmm 2.22:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The Gdk::DragAction flags. </dd></dl> </div> </div> <a class="anchor" id="ac5a72b0f29d575905ffad37bd3bca3aa"></a><!-- doxytag: member="Gdk::DragContext::get_is_source" ref="ac5a72b0f29d575905ffad37bd3bca3aa" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gdk::DragContext::get_is_source </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Discover whether the context is used on the source side. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if the context is used on the source side. </dd></dl> </div> </div> <a class="anchor" id="a3554b9e9c9d6327fb4cf9f0a4d310840"></a><!-- doxytag: member="Gdk::DragContext::get_protocol" ref="a3554b9e9c9d6327fb4cf9f0a4d310840" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gdkmmEnums.html#ga55102c640e0ecc1378ac73c1065d452d">DragProtocol</a> Gdk::DragContext::get_protocol </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get the DND protocol which governs this drag. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>the DND protocol which governs this drag. </dd></dl> </div> </div> <a class="anchor" id="a369c437c1ba2c6837dab6d757810780a"></a><!-- doxytag: member="Gdk::DragContext::get_selected_action" ref="a369c437c1ba2c6837dab6d757810780a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gdkmmEnums.html#ga0a9506293be3b3dfe00ecdb83e764ca6">DragAction</a> Gdk::DragContext::get_selected_action </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Determines the action chosen by the drag destination. </p> <dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000014">Since gtkmm 2.22:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A Gdk::DragAction value. </dd></dl> </div> </div> <a class="anchor" id="a9d3e0d0a3a08478a47ffbbc294937423"></a><!-- doxytag: member="Gdk::DragContext::get_selection" ref="a9d3e0d0a3a08478a47ffbbc294937423" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gdk::DragContext::get_selection </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the selection atom for the current source window. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The selection atom. </dd></dl> </div> </div> <a class="anchor" id="a5cbc4280c4f0c94d74ffa547787238d8"></a><!-- doxytag: member="Gdk::DragContext::get_source_window" ref="a5cbc4280c4f0c94d74ffa547787238d8" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGdk_1_1Window.html">Window</a>> Gdk::DragContext::get_source_window </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> where the DND operation started. </p> <dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000010">Since gtkmm 2.22:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a>. </dd></dl> </div> </div> <a class="anchor" id="ad96790b1e09f8a190c0f54216c5c9028"></a><!-- doxytag: member="Gdk::DragContext::get_source_window" ref="ad96790b1e09f8a190c0f54216c5c9028" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Window.html">Window</a>> Gdk::DragContext::get_source_window </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> where the DND operation started. </p> <dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000009">Since gtkmm 2.22:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a>. </dd></dl> </div> </div> <a class="anchor" id="abd9bd2c9b70a88afdc3840b632de8403"></a><!-- doxytag: member="Gdk::DragContext::get_start_time" ref="abd9bd2c9b70a88afdc3840b632de8403" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint32 Gdk::DragContext::get_start_time </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get a timestamp recording the start time of this drag. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>a timestamp recording the start time of this drag. </dd></dl> </div> </div> <a class="anchor" id="a2bbc9ed395bbbd0623bbd6915c6d36a7"></a><!-- doxytag: member="Gdk::DragContext::get_suggested_action" ref="a2bbc9ed395bbbd0623bbd6915c6d36a7" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gdkmmEnums.html#ga0a9506293be3b3dfe00ecdb83e764ca6">DragAction</a> Gdk::DragContext::get_suggested_action </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Determines the suggested drag action of the context. </p> <dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000012">Since gtkmm 2.22:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A Gdk::DragAction value. </dd></dl> </div> </div> <a class="anchor" id="a2e6497b8fac1dbe37c306c165c9aaa61"></a><!-- doxytag: member="Gdk::DragContext::get_targets" ref="a2e6497b8fac1dbe37c306c165c9aaa61" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Gdk::ListHandle_AtomString</a> Gdk::DragContext::get_targets </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get a list of targets offered by the source. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>a list of targets offered by the source. </dd></dl> </div> </div> <a class="anchor" id="a719395d176b20bc76696bc138d993843"></a><!-- doxytag: member="Gdk::DragContext::gobj" ref="a719395d176b20bc76696bc138d993843" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdkDragContext* Gdk::DragContext::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p> </div> </div> <a class="anchor" id="a2083e8d2d3d563ee8085a19d693be28c"></a><!-- doxytag: member="Gdk::DragContext::gobj" ref="a2083e8d2d3d563ee8085a19d693be28c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GdkDragContext* Gdk::DragContext::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p> </div> </div> <a class="anchor" id="aefe9c9832df9c10022ac4d882fbfc526"></a><!-- doxytag: member="Gdk::DragContext::gobj_copy" ref="aefe9c9832df9c10022ac4d882fbfc526" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdkDragContext* Gdk::DragContext::gobj_copy </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p> </div> </div> <a class="anchor" id="ae281e3c452870c40c9467940fe8be8fe"></a><!-- doxytag: member="Gdk::DragContext::set_icon" ref="ae281e3c452870c40c9467940fe8be8fe" args="(const Glib::RefPtr< Gdk::Pixbuf > &pixbuf, int hot_x, int hot_y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::set_icon </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> >& </td> <td class="paramname"><em>pixbuf</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>hot_x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>hot_y</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a752ddc4f7c7fba7c4e8ba57c1ce3e559"></a><!-- doxytag: member="Gdk::DragContext::set_icon" ref="a752ddc4f7c7fba7c4e8ba57c1ce3e559" args="(const Glib::RefPtr< Gdk::Colormap > &colormap, const Glib::RefPtr< Gdk::Pixmap > &pixmap, const Glib::RefPtr< Gdk::Bitmap > &mask, int hot_x, int hot_y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::set_icon </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Colormap.html">Gdk::Colormap</a> >& </td> <td class="paramname"><em>colormap</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a> >& </td> <td class="paramname"><em>pixmap</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a> >& </td> <td class="paramname"><em>mask</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>hot_x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>hot_y</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a90eb57cd7bb8d7137d2b7c2b9b1e83ab"></a><!-- doxytag: member="Gdk::DragContext::set_icon" ref="a90eb57cd7bb8d7137d2b7c2b9b1e83ab" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::set_icon </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="af93ae8e081be969a9914f79e6afc2247"></a><!-- doxytag: member="Gdk::DragContext::set_icon" ref="af93ae8e081be969a9914f79e6afc2247" args="(const Glib::ustring &stock_id, int hot_x, int hot_y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::set_icon </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>stock_id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>hot_x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>hot_y</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ae092d80417150411714e9eb21eba00eb"></a><!-- doxytag: member="Gdk::DragContext::set_icon_name" ref="ae092d80417150411714e9eb21eba00eb" args="(const Glib::ustring &name, int hot_x, int hot_y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::DragContext::set_icon_name </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>hot_x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>hot_y</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a95c1145cb30eed489f8412e8e682fd2d"></a><!-- doxytag: member="Gdk::DragContext::wrap" ref="a95c1145cb30eed489f8412e8e682fd2d" args="(GdkDragContext *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1DragContext.html">Gdk::DragContext</a> > wrap </td> <td>(</td> <td class="paramtype">GdkDragContext * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gdkmm/dragcontext.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>