Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 647

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::SelectionData 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.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::SelectionData Class Reference</h1><!-- doxytag: class="Gtk::SelectionData" -->
<p><a href="classGtk_1_1SelectionData-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a960d5979b57c7a2a9d025b4c3bdce3d4">SelectionData</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a737d81c0ec50c493a362851153fb37d0">SelectionData</a> (GtkSelectionData* gobject, bool make_a_copy=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a38e56cf805c11aa747c010f4f3aaf3df">SelectionData</a> (const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a3f4a823c42ea8380d0b70c209b62e979">operator=</a> (const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a6fc29f571a31fa02a34bfba074745637">~SelectionData</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a4b164ee2221952c3117064436954c618">swap</a> (<a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkSelectionData*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a64da01e677cb9937a08d5eee606374f1">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a64da01e677cb9937a08d5eee606374f1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkSelectionData*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a61975208c3a824d985a876d76b82791d">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a61975208c3a824d985a876d76b82791d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkSelectionData*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a553aea8a0ef83b67096e7ed26ea5d785">gobj_copy</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. <a href="#a553aea8a0ef83b67096e7ed26ea5d785"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#aa5d6c006f1e575808bb64c3a1724eb87">set</a> (int format, const guint8* data, int length)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a3f34e9f6ec1986cd4c299c89585d7926">set</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; type, int format, const guint8* data, int length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a memory block of raw data. <a href="#a3f34e9f6ec1986cd4c299c89585d7926"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a1464571fb61f96ac66f15731e8214091">set</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; type, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a string of raw data. <a href="#a1464571fb61f96ac66f15731e8214091"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a85a4ed9fd2da8ff6174842d3c53167e3">set_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign UTF-8 encoded text. <a href="#a85a4ed9fd2da8ff6174842d3c53167e3"></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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#ad6fe5dc64610a8ef8b76582e09facaea">get_text</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the contents of the selection data as a UTF-8 string. <a href="#ad6fe5dc64610a8ef8b76582e09facaea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#abbcfbbbbd1bbc7d581711f32b97b938a">set_pixbuf</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; pixbuf)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the contents of the selection from a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> The pixbuf is converted to the form determined by <em>selection_data-&gt;target</em>. <a href="#abbcfbbbbd1bbc7d581711f32b97b938a"></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>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a9c39b784e5977aac600b369c0062bb2f">get_pixbuf</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the contents of the selection data as a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. <a href="#a9c39b784e5977aac600b369c0062bb2f"></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>&lt; const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a32adbe8fe464cc6572c2337951fae84e">get_pixbuf</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the contents of the selection data as a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. <a href="#a32adbe8fe464cc6572c2337951fae84e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#aa93d21e8a0ae71cde7f6a92e48bc0a1e">set_uris</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&amp; uris)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the contents of the selection from a list of URIs. <a href="#aa93d21e8a0ae71cde7f6a92e48bc0a1e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a49dc9543e60c67f9a1bc836df1c08cc5">get_uris</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the contents of the selection data as a container of URIs. <a href="#a49dc9543e60c67f9a1bc836df1c08cc5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const guchar*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a0dd1ae04cb843a1c9648ea62c81a8841">get_data</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the raw data of the selection. <a href="#a0dd1ae04cb843a1c9648ea62c81a8841"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a5c8913e1086614c80f4e84325c649d42">get_length</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the length of the raw data of the selection. <a href="#a5c8913e1086614c80f4e84325c649d42"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a652b34830f8c54515f3a70f458e6c152">get_data_as_string</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkAtom&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#ad3cb66db1f8f10015ad4fd01be163e93">get_selection</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the selection Gdk::Atom of the selection data. <a href="#ad3cb66db1f8f10015ad4fd01be163e93"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a34ee1b33006bf4f2be11c8fdb65df33e">get_target</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the target of the selection. <a href="#a34ee1b33006bf4f2be11c8fdb65df33e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_AtomString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#aaa7563f7e66911e324546f10405044da">get_targets</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">See also <a class="el" href="classGtk_1_1Clipboard.html#ae3be3a0d85849117a284f8a1cbfdb98e" title="Requests the contents of the clipboard as list of supported targets.">Gtk::Clipboard::request_targets()</a>. <a href="#aaa7563f7e66911e324546f10405044da"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a20257cb7db350176a9b66d6ce2dedcd4">get_data_type</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the type of the data as set by <a class="el" href="classGtk_1_1SelectionData.html#aa5d6c006f1e575808bb64c3a1724eb87">SelectionData::set()</a>. <a href="#a20257cb7db350176a9b66d6ce2dedcd4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a0dd95ca2a722651db2ad3e7d1e30f260">get_format</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the format of the selection. <a href="#a0dd95ca2a722651db2ad3e7d1e30f260"></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>&lt; <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#abe771f4375acf6e152fbe4666534534b">get_display</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the display of the selection. <a href="#abe771f4375acf6e152fbe4666534534b"></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>&lt; const <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#aca4a73f550bd8172b42e76031bc8b985">get_display</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the display of the selection. <a href="#aca4a73f550bd8172b42e76031bc8b985"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a9fbf51e548ecb51d983531ecccf49fb9">targets_include_uri</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide a list or URIs. <a href="#a9fbf51e548ecb51d983531ecccf49fb9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a589b34bbc75182de5195dd5a22708892">targets_include_text</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide text. <a href="#a589b34bbc75182de5195dd5a22708892"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a23502b282ec4546943b6fb4c2d0d8e3d">targets_include_rich_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> &gt;&amp; buffer) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide rich text. <a href="#a23502b282ec4546943b6fb4c2d0d8e3d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a97521408bbef83c56ed4b8c3faa53bd8">targets_include_image</a> (bool writable=true) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. <a href="#a97521408bbef83c56ed4b8c3faa53bd8"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkSelectionData*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#aeccc1384f7e8decb49a0188c76c99658">gobject_</a></td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a6e49ccb1719123dd777a6b9b35004dfe">wrap</a> (GtkSelectionData* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a6e49ccb1719123dd777a6b9b35004dfe"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a960d5979b57c7a2a9d025b4c3bdce3d4"></a><!-- doxytag: member="Gtk::SelectionData::SelectionData" ref="a960d5979b57c7a2a9d025b4c3bdce3d4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::SelectionData::SelectionData </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a737d81c0ec50c493a362851153fb37d0"></a><!-- doxytag: member="Gtk::SelectionData::SelectionData" ref="a737d81c0ec50c493a362851153fb37d0" args="(GtkSelectionData *gobject, bool make_a_copy=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::SelectionData::SelectionData </td>
          <td>(</td>
          <td class="paramtype">GtkSelectionData *&#160;</td>
          <td class="paramname"> <em>gobject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>make_a_copy</em> = <code>true</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a38e56cf805c11aa747c010f4f3aaf3df"></a><!-- doxytag: member="Gtk::SelectionData::SelectionData" ref="a38e56cf805c11aa747c010f4f3aaf3df" args="(const SelectionData &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::SelectionData::SelectionData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6fc29f571a31fa02a34bfba074745637"></a><!-- doxytag: member="Gtk::SelectionData::~SelectionData" ref="a6fc29f571a31fa02a34bfba074745637" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::SelectionData::~SelectionData </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0dd1ae04cb843a1c9648ea62c81a8841"></a><!-- doxytag: member="Gtk::SelectionData::get_data" ref="a0dd1ae04cb843a1c9648ea62c81a8841" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const guchar* Gtk::SelectionData::get_data </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the raw data of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000128">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The raw data of the selection. </dd></dl>

</div>
</div>
<a class="anchor" id="a652b34830f8c54515f3a70f458e6c152"></a><!-- doxytag: member="Gtk::SelectionData::get_data_as_string" ref="a652b34830f8c54515f3a70f458e6c152" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gtk::SelectionData::get_data_as_string </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a20257cb7db350176a9b66d6ce2dedcd4"></a><!-- doxytag: member="Gtk::SelectionData::get_data_type" ref="a20257cb7db350176a9b66d6ce2dedcd4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gtk::SelectionData::get_data_type </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the type of the data as set by <a class="el" href="classGtk_1_1SelectionData.html#aa5d6c006f1e575808bb64c3a1724eb87">SelectionData::set()</a>. </p>

</div>
</div>
<a class="anchor" id="aca4a73f550bd8172b42e76031bc8b985"></a><!-- doxytag: member="Gtk::SelectionData::get_display" ref="aca4a73f550bd8172b42e76031bc8b985" 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>&lt;const <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a>&gt; Gtk::SelectionData::get_display </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the display of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000133">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The display of the selection. </dd></dl>

</div>
</div>
<a class="anchor" id="abe771f4375acf6e152fbe4666534534b"></a><!-- doxytag: member="Gtk::SelectionData::get_display" ref="abe771f4375acf6e152fbe4666534534b" 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>&lt;<a class="el" href="classGdk_1_1Display.html">Gdk::Display</a>&gt; Gtk::SelectionData::get_display </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the display of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000132">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The display of the selection. </dd></dl>

</div>
</div>
<a class="anchor" id="a0dd95ca2a722651db2ad3e7d1e30f260"></a><!-- doxytag: member="Gtk::SelectionData::get_format" ref="a0dd95ca2a722651db2ad3e7d1e30f260" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::SelectionData::get_format </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the format of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000131">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The format of the selection. </dd></dl>

</div>
</div>
<a class="anchor" id="a5c8913e1086614c80f4e84325c649d42"></a><!-- doxytag: member="Gtk::SelectionData::get_length" ref="a5c8913e1086614c80f4e84325c649d42" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::SelectionData::get_length </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the length of the raw data of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000129">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The length of the data of the selection. </dd></dl>

</div>
</div>
<a class="anchor" id="a32adbe8fe464cc6572c2337951fae84e"></a><!-- doxytag: member="Gtk::SelectionData::get_pixbuf" ref="a32adbe8fe464cc6572c2337951fae84e" 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>&lt;const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gtk::SelectionData::get_pixbuf </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the contents of the selection data as a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000143">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>If the selection data contained a recognized image type and it could be converted to a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>, a newly allocated pixbuf is returned, otherwise <code>0</code>. If the result is non-<code>0</code> it must be freed with Glib::object_unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="a9c39b784e5977aac600b369c0062bb2f"></a><!-- doxytag: member="Gtk::SelectionData::get_pixbuf" ref="a9c39b784e5977aac600b369c0062bb2f" 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>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gtk::SelectionData::get_pixbuf </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the contents of the selection data as a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000142">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>If the selection data contained a recognized image type and it could be converted to a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>, a newly allocated pixbuf is returned, otherwise <code>0</code>. If the result is non-<code>0</code> it must be freed with Glib::object_unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="ad3cb66db1f8f10015ad4fd01be163e93"></a><!-- doxytag: member="Gtk::SelectionData::get_selection" ref="ad3cb66db1f8f10015ad4fd01be163e93" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkAtom Gtk::SelectionData::get_selection </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the selection Gdk::Atom of the selection data. </p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000090">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The selection Gdk::Atom of the selection data. </dd></dl>

</div>
</div>
<a class="anchor" id="a34ee1b33006bf4f2be11c8fdb65df33e"></a><!-- doxytag: member="Gtk::SelectionData::get_target" ref="a34ee1b33006bf4f2be11c8fdb65df33e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gtk::SelectionData::get_target </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the target of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000130">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="aaa7563f7e66911e324546f10405044da"></a><!-- doxytag: member="Gtk::SelectionData::get_targets" ref="aaa7563f7e66911e324546f10405044da" 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_1ArrayHandle.html">Gdk::ArrayHandle_AtomString</a> Gtk::SelectionData::get_targets </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See also <a class="el" href="classGtk_1_1Clipboard.html#ae3be3a0d85849117a284f8a1cbfdb98e" title="Requests the contents of the clipboard as list of supported targets.">Gtk::Clipboard::request_targets()</a>. </p>

</div>
</div>
<a class="anchor" id="ad6fe5dc64610a8ef8b76582e09facaea"></a><!-- doxytag: member="Gtk::SelectionData::get_text" ref="ad6fe5dc64610a8ef8b76582e09facaea" 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> Gtk::SelectionData::get_text </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the contents of the selection data as a UTF-8 string. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>If the selection data contained a recognized text type and it could be converted to UTF-8, a string containing the converted text, otherwise an empty string. </dd></dl>

</div>
</div>
<a class="anchor" id="a49dc9543e60c67f9a1bc836df1c08cc5"></a><!-- doxytag: member="Gtk::SelectionData::get_uris" ref="a49dc9543e60c67f9a1bc836df1c08cc5" 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_1ArrayHandle.html">Glib::StringArrayHandle</a> Gtk::SelectionData::get_uris </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the contents of the selection data as a container of URIs. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>If the selection data contains a list of URIs, a container containing the URIs, otherwise an empty container.</dd></dl>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000145">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a61975208c3a824d985a876d76b82791d"></a><!-- doxytag: member="Gtk::SelectionData::gobj" ref="a61975208c3a824d985a876d76b82791d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkSelectionData* Gtk::SelectionData::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a64da01e677cb9937a08d5eee606374f1"></a><!-- doxytag: member="Gtk::SelectionData::gobj" ref="a64da01e677cb9937a08d5eee606374f1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkSelectionData* Gtk::SelectionData::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a553aea8a0ef83b67096e7ed26ea5d785"></a><!-- doxytag: member="Gtk::SelectionData::gobj_copy" ref="a553aea8a0ef83b67096e7ed26ea5d785" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkSelectionData* Gtk::SelectionData::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a3f4a823c42ea8380d0b70c209b62e979"></a><!-- doxytag: member="Gtk::SelectionData::operator=" ref="a3f4a823c42ea8380d0b70c209b62e979" args="(const SelectionData &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp; Gtk::SelectionData::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1464571fb61f96ac66f15731e8214091"></a><!-- doxytag: member="Gtk::SelectionData::set" ref="a1464571fb61f96ac66f15731e8214091" args="(const std::string &amp;type, const std::string &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SelectionData::set </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>data</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a string of raw data. </p>
<p>Store new data into the <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object. Should _only_ by called from a selection handler callback. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The type of the selection. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>data</em>&#160;</td><td>A string that contains the data (does not have to be text). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3f34e9f6ec1986cd4c299c89585d7926"></a><!-- doxytag: member="Gtk::SelectionData::set" ref="a3f34e9f6ec1986cd4c299c89585d7926" args="(const std::string &amp;type, int format, const guint8 *data, int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SelectionData::set </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guint8 *&#160;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>length</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a memory block of raw data. </p>
<p>Store new data into the <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object. Should _only_ by called from a selection handler callback. A 0-byte terminates the stored data. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The type of the selection. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>format</em>&#160;</td><td>The data format, i.e. the number of bits in a unit. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>data</em>&#160;</td><td>Pointer to the data (will be copied). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>length</em>&#160;</td><td>The length of the data block in bytes. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa5d6c006f1e575808bb64c3a1724eb87"></a><!-- doxytag: member="Gtk::SelectionData::set" ref="aa5d6c006f1e575808bb64c3a1724eb87" args="(int format, const guint8 *data, int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SelectionData::set </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guint8 *&#160;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>length</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abbcfbbbbd1bbc7d581711f32b97b938a"></a><!-- doxytag: member="Gtk::SelectionData::set_pixbuf" ref="abbcfbbbbd1bbc7d581711f32b97b938a" args="(const Glib::RefPtr&lt; Gdk::Pixbuf &gt; &amp;pixbuf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::set_pixbuf </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>pixbuf</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the contents of the selection from a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> The pixbuf is converted to the form determined by <em>selection_data-&gt;target</em>. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000141">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pixbuf</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the selection was successfully set, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a85a4ed9fd2da8ff6174842d3c53167e3"></a><!-- doxytag: member="Gtk::SelectionData::set_text" ref="a85a4ed9fd2da8ff6174842d3c53167e3" args="(const Glib::ustring &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::set_text </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>data</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign UTF-8 encoded text. </p>
<p>Sets the contents of the selection from a UTF-8 encoded string. The string is converted to the form determined by <a class="el" href="classGtk_1_1SelectionData.html#a34ee1b33006bf4f2be11c8fdb65df33e" title="Retrieves the target of the selection.">get_target()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&#160;</td><td>A UTF-8 encoded string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the selection was successfully set, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="aa93d21e8a0ae71cde7f6a92e48bc0a1e"></a><!-- doxytag: member="Gtk::SelectionData::set_uris" ref="aa93d21e8a0ae71cde7f6a92e48bc0a1e" args="(const Glib::StringArrayHandle &amp;uris)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::set_uris </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> &amp;&#160;</td>
          <td class="paramname"> <em>uris</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the contents of the selection from a list of URIs. </p>
<p>The string is converted to the form determined by <em>selection_data-&gt;target</em>.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000144">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uris</em>&#160;</td><td>A <code>0</code>-terminated array of strings holding URIs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the selection was successfully set, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a4b164ee2221952c3117064436954c618"></a><!-- doxytag: member="Gtk::SelectionData::swap" ref="a4b164ee2221952c3117064436954c618" args="(SelectionData &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SelectionData::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a97521408bbef83c56ed4b8c3faa53bd8"></a><!-- doxytag: member="Gtk::SelectionData::targets_include_image" ref="a97521408bbef83c56ed4b8c3faa53bd8" args="(bool writable=true) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::targets_include_image </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>writable</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000146">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>writable</em>&#160;</td><td>Whether to accept only targets for which GTK+ knows how to convert a pixbuf into the format. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>selection_data</em> holds a list of targets, and a suitable target for images is included, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a23502b282ec4546943b6fb4c2d0d8e3d"></a><!-- doxytag: member="Gtk::SelectionData::targets_include_rich_text" ref="a23502b282ec4546943b6fb4c2d0d8e3d" args="(const Glib::RefPtr&lt; TextBuffer &gt; &amp;buffer) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::targets_include_rich_text </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>buffer</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide rich text. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000296">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>A <a class="el" href="classGtk_1_1TextBuffer.html" title="Multi-line attributed text that can be displayed by one or more Gtk::TextView widgets...">Gtk::TextBuffer</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>selection_data</em> holds a list of targets, and a suitable target for rich text is included, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a589b34bbc75182de5195dd5a22708892"></a><!-- doxytag: member="Gtk::SelectionData::targets_include_text" ref="a589b34bbc75182de5195dd5a22708892" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::targets_include_text </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide text. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>selection_data</em> holds a list of targets, and a suitable target for text is included, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a9fbf51e548ecb51d983531ecccf49fb9"></a><!-- doxytag: member="Gtk::SelectionData::targets_include_uri" ref="a9fbf51e548ecb51d983531ecccf49fb9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::targets_include_uri </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide a list or URIs. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000295">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>selection_data</em> holds a list of targets, and a suitable target for URI lists is included, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a6e49ccb1719123dd777a6b9b35004dfe"></a><!-- doxytag: member="Gtk::SelectionData::wrap" ref="a6e49ccb1719123dd777a6b9b35004dfe" args="(GtkSelectionData *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> wrap </td>
          <td>(</td>
          <td class="paramtype">GtkSelectionData *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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 border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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/><h2>Member Data Documentation</h2>
<a class="anchor" id="aeccc1384f7e8decb49a0188c76c99658"></a><!-- doxytag: member="Gtk::SelectionData::gobject_" ref="aeccc1384f7e8decb49a0188c76c99658" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkSelectionData* <a class="el" href="classGtk_1_1SelectionData.html#aeccc1384f7e8decb49a0188c76c99658">Gtk::SelectionData::gobject_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/selectiondata.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:01 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>