Sophie

Sophie

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

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::Clipboard 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_1Clipboard.html">Clipboard</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::Clipboard Class Reference</h1><!-- doxytag: class="Gtk::Clipboard" --><!-- doxytag: inherits="Glib::Object" -->
<p>The <a class="el" href="classGtk_1_1Clipboard.html" title="The Clipboard object represents a clipboard of data shared between different processes...">Clipboard</a> object represents a clipboard of data shared between different processes or between different widgets in the same process. <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Clipboard:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Clipboard__coll__graph.png" border="0" usemap="#Gtk_1_1Clipboard_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Clipboard_coll__map" id="Gtk_1_1Clipboard_coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1Clipboard-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
<a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;, guint &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a231514c83a1a1d1b14aaee247e522a1f">SlotGet</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_get(Gtk::SelectionData&amp; selection_data, guint info);. <a href="#a231514c83a1a1d1b14aaee247e522a1f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a325cb088c615bec5f8d143b44d4741ce">SlotClear</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_clear();. <a href="#a325cb088c615bec5f8d143b44d4741ce"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a424180e2d14d2bb2f096be10ca2f7059">SlotReceived</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_received(const SelectionData&amp; selection_data);. <a href="#a424180e2d14d2bb2f096be10ca2f7059"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a8878452bd75d07a5dc2f239ff67e5d9e">SlotTextReceived</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_text_received(const Glib::ustring&amp; text);. <a href="#a8878452bd75d07a5dc2f239ff67e5d9e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;, const <br class="typebreak"/>
<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a39efb49b4cf08d2f08f62aebf368fa32">SlotRichTextReceived</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_rich_text_received(const Glib::ustring&amp; format, const std::string&amp; text);. <a href="#a39efb49b4cf08d2f08f62aebf368fa32"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a7ec97f4e16280484d0075885c2ca317b">SlotUrisReceived</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_uris_received(const Glib::StringArrayHandle&amp; uris);. <a href="#a7ec97f4e16280484d0075885c2ca317b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a2e92912fa27405ef4efafc1d7fe19fe3">SlotImageReceived</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_image_received(const Glib::RefPtr&lt;Gdk::Pixbuf&gt;&amp; text);. <a href="#a2e92912fa27405ef4efafc1d7fe19fe3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#ad63a6dd13efe8bce4c824c5fb2bbec9f">SlotTargetsReceived</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_targetsreceived(const Glib::StringArrayHandle&amp; targets);. <a href="#ad63a6dd13efe8bce4c824c5fb2bbec9f"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a4753c62ad3aea992476feaf84574ca05">~Clipboard</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkClipboard*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#aeb465195991ea12f2ee81733a1fa03b0">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aeb465195991ea12f2ee81733a1fa03b0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkClipboard*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a307fb72e6fd57d378a981ef0604e4568">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a307fb72e6fd57d378a981ef0604e4568"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkClipboard*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a487b4d31a656a355286187b216d643cd">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</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="#a487b4d31a656a355286187b216d643cd"></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_1Clipboard.html#a696d084d1ef3c7cbe298b4e78e8ea167">get_display</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>clipboard</em>. <a href="#a696d084d1ef3c7cbe298b4e78e8ea167"></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_1Clipboard.html#ac9a759c0daf584d22c8af18c24031f0b">get_display</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>clipboard</em>. <a href="#ac9a759c0daf584d22c8af18c24031f0b"></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_1Clipboard.html#a6eed4302482ee376daf47bf5fcc42605">set</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">ArrayHandle_TargetEntry</a>&amp; targets, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotGet</a>&amp; slot_get, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotClear</a>&amp; slot_clear)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested. <a href="#a6eed4302482ee376daf47bf5fcc42605"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a77714f58487355b0f34ad154b1a99138">get_owner</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If the clipboard contents callbacks were set with set_with_owner(), and the set_with_data() or <a class="el" href="classGtk_1_1Clipboard.html#abf8118f4098f9565f1d85d8d88409a1c" title="Clears the contents of the clipboard.">clear()</a> has not subsequently called, returns the owner set by set_with_owner(). <a href="#a77714f58487355b0f34ad154b1a99138"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a6c68c91213f935715c5c9b1a612d98f6">get_owner</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If the clipboard contents callbacks were set with set_with_owner(), and the set_with_data() or <a class="el" href="classGtk_1_1Clipboard.html#abf8118f4098f9565f1d85d8d88409a1c" title="Clears the contents of the clipboard.">clear()</a> has not subsequently called, returns the owner set by set_with_owner(). <a href="#a6c68c91213f935715c5c9b1a612d98f6"></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_1Clipboard.html#abf8118f4098f9565f1d85d8d88409a1c">clear</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the contents of the clipboard. <a href="#abf8118f4098f9565f1d85d8d88409a1c"></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_1Clipboard.html#aaeee306b25ea1e0206e3ffb30af93c32">set_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the contents of the clipboard to the given UTF-8 string. <a href="#aaeee306b25ea1e0206e3ffb30af93c32"></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_1Clipboard.html#a49841702b88e06547f48b7f0b9c1fe5d">set_image</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 clipboard to the given <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. <a href="#a49841702b88e06547f48b7f0b9c1fe5d"></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_1Clipboard.html#a7b89b96071d9d6019eb35203538ac6a6">request_contents</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; target, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotReceived</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of clipboard as the given target. <a href="#a7b89b96071d9d6019eb35203538ac6a6"></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_1Clipboard.html#a922ca2e0595b10ec7bcad59632b00f34">request_text</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotTextReceived</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as text. <a href="#a922ca2e0595b10ec7bcad59632b00f34"></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_1Clipboard.html#a2fe9763417d17a586bcae713567800d8">request_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 <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotRichTextReceived</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as rich text. <a href="#a2fe9763417d17a586bcae713567800d8"></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_1Clipboard.html#a482e597790498098d3d42751267418bc">request_uris</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotUrisReceived</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as URIs. <a href="#a482e597790498098d3d42751267418bc"></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_1Clipboard.html#acf9daec8f085ea57218a0ced6bc9e949">request_image</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotImageReceived</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as image. <a href="#acf9daec8f085ea57218a0ced6bc9e949"></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_1Clipboard.html#ae3be3a0d85849117a284f8a1cbfdb98e">request_targets</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotTargetsReceived</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as list of supported targets. <a href="#ae3be3a0d85849117a284f8a1cbfdb98e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a2110b8de6c2e61a1cf7d71cc02ef9e47">wait_for_contents</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; target) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard using the given target. <a href="#a2110b8de6c2e61a1cf7d71cc02ef9e47"></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_1Clipboard.html#aeac490f4cbb988fe5b6e5eefb33c2201">wait_for_text</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as text and converts the result to UTF-8 if necessary. <a href="#aeac490f4cbb988fe5b6e5eefb33c2201"></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_1Clipboard.html#a0f02a96840cfe953d1ef30d64c8e1409">wait_for_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, <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; format)</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_1Clipboard.html#acd3d40ebf095dc8ec7e0ba786ea99b0d">wait_for_image</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as image and converts the result to a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. <a href="#acd3d40ebf095dc8ec7e0ba786ea99b0d"></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_1Clipboard.html#ac30a1145696f41b5feccbbe0346702fc">wait_is_text_available</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Test to see if there is text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported text targets. <a href="#ac30a1145696f41b5feccbbe0346702fc"></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_1Clipboard.html#a05294bafc2322b3688dcc85523ae37db">wait_is_rich_text_available</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">Test to see if there is rich text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported rich text targets. <a href="#a05294bafc2322b3688dcc85523ae37db"></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_1Clipboard.html#afcc67f894892de4918e9f8e7fb6813e7">wait_is_image_available</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Test to see if there is an image available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported image targets. <a href="#afcc67f894892de4918e9f8e7fb6813e7"></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_1Clipboard.html#af0c118eea5e64eabf911558d915af8be">wait_is_uris_available</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Test to see if there is a list of URIs available to be pasted This is done by requesting the TARGETS atom and checking if it contains the URI targets. <a href="#af0c118eea5e64eabf911558d915af8be"></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_1Clipboard.html#ab1c3c7516af21ecb6a2db4db6cb8012b">wait_is_target_available</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; target)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a clipboard supports pasting data of a given type. <a href="#ab1c3c7516af21ecb6a2db4db6cb8012b"></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_1Clipboard.html#a168e8bd1b2d97e58ed2ad465dc2f1bf8">wait_for_targets</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a list of targets that are present on the clipboard. <a href="#a168e8bd1b2d97e58ed2ad465dc2f1bf8"></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_1Clipboard.html#adc50aa1d428322a50d307fc6c0d23dc9">wait_for_uris</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as URIs. <a href="#adc50aa1d428322a50d307fc6c0d23dc9"></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_1Clipboard.html#a89ddaa80ac9aa1664aff952d4f25630f">set_can_store</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">ArrayHandle_TargetEntry</a>&amp; targets)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Hints that the clipboard data should be stored somewhere when the application exits or when <a class="el" href="classGtk_1_1Clipboard.html#a47f0293ba7f80821537797537d5b6408" title="Stores the current clipboard data somewhere so that it will stay around after the...">store()</a> is called. <a href="#a89ddaa80ac9aa1664aff952d4f25630f"></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_1Clipboard.html#a5f2fc04281ab4e2370098bfeb10108ac">set_can_store</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Hints that all forms of clipboard data should be stored somewhere when the application exits or when <a class="el" href="classGtk_1_1Clipboard.html#a47f0293ba7f80821537797537d5b6408" title="Stores the current clipboard data somewhere so that it will stay around after the...">store()</a> is called. <a href="#a5f2fc04281ab4e2370098bfeb10108ac"></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_1Clipboard.html#a47f0293ba7f80821537797537d5b6408">store</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores the current clipboard data somewhere so that it will stay around after the application has quit. <a href="#a47f0293ba7f80821537797537d5b6408"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void, <br class="typebreak"/>
GdkEventOwnerChange* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a3d19cb78841fd7e73fdddca0daeac22b">signal_owner_change</a> ()</td></tr>
<tr><td colspan="2"><h2>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>&lt; <a class="el" href="classGtk_1_1Clipboard.html">Clipboard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a163dde254aec1314c6aee6bbdb47fefe">get</a> (GdkAtom selection=GDK_SELECTION_CLIPBOARD)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the clipboard object for the given selection. <a href="#a163dde254aec1314c6aee6bbdb47fefe"></a><br/></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>&lt; <a class="el" href="classGtk_1_1Clipboard.html">Clipboard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a880ad980703636e3aed1f25c066ebbc9">get_for_display</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_1Display.html">Gdk::Display</a> &gt;&amp; display, GdkAtom selection=GDK_SELECTION_CLIPBOARD)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the clipboard object for the given selection. <a href="#a880ad980703636e3aed1f25c066ebbc9"></a><br/></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Clipboard.html">Gtk::Clipboard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#ad2c721a5e6f7cee3edc204c496a66044">wrap</a> (GtkClipboard* 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="#ad2c721a5e6f7cee3edc204c496a66044"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The <a class="el" href="classGtk_1_1Clipboard.html" title="The Clipboard object represents a clipboard of data shared between different processes...">Clipboard</a> object represents a clipboard of data shared between different processes or between different widgets in the same process. </p>
<p>Each clipboard is identified by a name encoded as a GdkAtom. * (Conversion to and from strings can be done with gdk_atom_intern() and gdk_atom_name().) The default clipboard corresponds to the "CLIPBOARD" atom; another commonly used clipboard is the "PRIMARY" clipboard, which, in X, traditionally contains the currently selected text.</p>
<p>To support having a number of different formats on the clipboard at the same time, the clipboard mechanism allows providing callbacks instead of the actual data. When you set the contents of the clipboard, you can either supply the data directly (via functions like <a class="el" href="classGtk_1_1Clipboard.html#aaeee306b25ea1e0206e3ffb30af93c32" title="Sets the contents of the clipboard to the given UTF-8 string.">set_text()</a>), or you can supply a callback to be called at a later time when the data is needed (via <a class="el" href="classGtk_1_1Clipboard.html#a6eed4302482ee376daf47bf5fcc42605" title="Virtually sets the contents of the specified clipboard by providing a list of supported...">set()</a>.) Providing a callback also avoids having to make copies of the data when it is not needed.</p>
<p>Requesting the data from the clipboard is essentially asynchronous. If the contents of the clipboard are provided within the same process, then a direct function call will be made to retrieve the data, but if they are provided by another process, then the data needs to be retrieved from the other process, which may take some time. To avoid blocking the user interface, the call to request the selection, <a class="el" href="classGtk_1_1Clipboard.html#a7b89b96071d9d6019eb35203538ac6a6" title="Requests the contents of clipboard as the given target.">request_contents()</a> takes a callback that will be called when the contents are received (or when the request fails.) If you don't want to deal with providing a separate callback, you can also use <a class="el" href="classGtk_1_1Clipboard.html#a2110b8de6c2e61a1cf7d71cc02ef9e47" title="Requests the contents of the clipboard using the given target.">wait_for_contents()</a>. This runs the GLib main loop recursively waiting for the contents. This can simplify the code flow, but you still have to be aware that other callbacks in your program can be called while this recursive mainloop is running.</p>
<p>Along with the functions to get the clipboard contents as an arbitrary data chunk, there are also functions to retrieve it as text, <a class="el" href="classGtk_1_1Clipboard.html#a922ca2e0595b10ec7bcad59632b00f34" title="Requests the contents of the clipboard as text.">request_text()</a> and <a class="el" href="classGtk_1_1Clipboard.html#aeac490f4cbb988fe5b6e5eefb33c2201" title="Requests the contents of the clipboard as text and converts the result to UTF-8 if...">wait_for_text()</a>. These functions take care of determining which formats are advertised by the clipboard provider, asking for the clipboard in the best available format and converting the results into the UTF-8 encoding. </p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a325cb088c615bec5f8d143b44d4741ce"></a><!-- doxytag: member="Gtk::Clipboard::SlotClear" ref="a325cb088c615bec5f8d143b44d4741ce" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::Clipboard::SlotClear</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance: void on_clear();. </p>

</div>
</div>
<a class="anchor" id="a231514c83a1a1d1b14aaee247e522a1f"></a><!-- doxytag: member="Gtk::Clipboard::SlotGet" ref="a231514c83a1a1d1b14aaee247e522a1f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;, guint&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::Clipboard::SlotGet</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance: void on_get(Gtk::SelectionData&amp; selection_data, guint info);. </p>

</div>
</div>
<a class="anchor" id="a2e92912fa27405ef4efafc1d7fe19fe3"></a><!-- doxytag: member="Gtk::Clipboard::SlotImageReceived" ref="a2e92912fa27405ef4efafc1d7fe19fe3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, 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;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::Clipboard::SlotImageReceived</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance: void on_image_received(const Glib::RefPtr&lt;Gdk::Pixbuf&gt;&amp; text);. </p>

</div>
</div>
<a class="anchor" id="a424180e2d14d2bb2f096be10ca2f7059"></a><!-- doxytag: member="Gtk::Clipboard::SlotReceived" ref="a424180e2d14d2bb2f096be10ca2f7059" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::Clipboard::SlotReceived</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance: void on_received(const SelectionData&amp; selection_data);. </p>

</div>
</div>
<a class="anchor" id="a39efb49b4cf08d2f08f62aebf368fa32"></a><!-- doxytag: member="Gtk::Clipboard::SlotRichTextReceived" ref="a39efb49b4cf08d2f08f62aebf368fa32" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp;, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::Clipboard::SlotRichTextReceived</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance: void on_rich_text_received(const Glib::ustring&amp; format, const std::string&amp; text);. </p>

</div>
</div>
<a class="anchor" id="ad63a6dd13efe8bce4c824c5fb2bbec9f"></a><!-- doxytag: member="Gtk::Clipboard::SlotTargetsReceived" ref="ad63a6dd13efe8bce4c824c5fb2bbec9f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::Clipboard::SlotTargetsReceived</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance: void on_targetsreceived(const Glib::StringArrayHandle&amp; targets);. </p>

</div>
</div>
<a class="anchor" id="a8878452bd75d07a5dc2f239ff67e5d9e"></a><!-- doxytag: member="Gtk::Clipboard::SlotTextReceived" ref="a8878452bd75d07a5dc2f239ff67e5d9e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::Clipboard::SlotTextReceived</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance: void on_text_received(const Glib::ustring&amp; text);. </p>

</div>
</div>
<a class="anchor" id="a7ec97f4e16280484d0075885c2ca317b"></a><!-- doxytag: member="Gtk::Clipboard::SlotUrisReceived" ref="a7ec97f4e16280484d0075885c2ca317b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::Clipboard::SlotUrisReceived</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance: void on_uris_received(const Glib::StringArrayHandle&amp; uris);. </p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4753c62ad3aea992476feaf84574ca05"></a><!-- doxytag: member="Gtk::Clipboard::~Clipboard" ref="a4753c62ad3aea992476feaf84574ca05" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Clipboard::~Clipboard </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="abf8118f4098f9565f1d85d8d88409a1c"></a><!-- doxytag: member="Gtk::Clipboard::clear" ref="abf8118f4098f9565f1d85d8d88409a1c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Clipboard::clear </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clears the contents of the clipboard. </p>
<p>Generally this should only be called between the time you call <a class="el" href="classGtk_1_1Clipboard.html#a6eed4302482ee376daf47bf5fcc42605" title="Virtually sets the contents of the specified clipboard by providing a list of supported...">set()</a> and when the slot_clear you supplied is called. Otherwise, the clipboard may be owned by someone else. </p>

</div>
</div>
<a class="anchor" id="a163dde254aec1314c6aee6bbdb47fefe"></a><!-- doxytag: member="Gtk::Clipboard::get" ref="a163dde254aec1314c6aee6bbdb47fefe" args="(GdkAtom selection=GDK_SELECTION_CLIPBOARD)" -->
<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>&lt;<a class="el" href="classGtk_1_1Clipboard.html">Clipboard</a>&gt; Gtk::Clipboard::get </td>
          <td>(</td>
          <td class="paramtype">GdkAtom&#160;</td>
          <td class="paramname"> <em>selection</em> = <code>GDK_SELECTION_CLIPBOARD</code></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the clipboard object for the given selection. </p>
<p>See <a class="el" href="classGtk_1_1Clipboard.html#a880ad980703636e3aed1f25c066ebbc9" title="Returns the clipboard object for the given selection.">get_for_display()</a> for complete details. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>selection</em>&#160;</td><td>A Gdk::Atom which identifies the clipboard to use. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The appropriate clipboard object. If no clipboard already exists, a new one will be created. Once a clipboard object has been created, it is persistent and, since it is owned by GTK+, must not be freed or unreffed. </dd></dl>

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

<p>Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>clipboard</em>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000093">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>clipboard</em>. </dd></dl>

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

<p>Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>clipboard</em>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000092">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>clipboard</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a880ad980703636e3aed1f25c066ebbc9"></a><!-- doxytag: member="Gtk::Clipboard::get_for_display" ref="a880ad980703636e3aed1f25c066ebbc9" args="(const Glib::RefPtr&lt; Gdk::Display &gt; &amp;display, GdkAtom selection=GDK_SELECTION_CLIPBOARD)" -->
<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>&lt;<a class="el" href="classGtk_1_1Clipboard.html">Clipboard</a>&gt; Gtk::Clipboard::get_for_display </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_1Display.html">Gdk::Display</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>display</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GdkAtom&#160;</td>
          <td class="paramname"> <em>selection</em> = <code>GDK_SELECTION_CLIPBOARD</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the clipboard object for the given selection. </p>
<p>Cut/copy/paste menu items and keyboard shortcuts should use the default clipboard, returned by passing Gdk::SELECTION_CLIPBOARD for <em>selection</em>. (Gdk::NONE is supported as a synonym for GDK_SELECTION_CLIPBOARD for backwards compatibility reasons.) The currently-selected object or text should be provided on the clipboard identified by Gdk::SELECTION_PRIMARY. Cut/copy/paste menu items conceptually copy the contents of the Gdk::SELECTION_PRIMARY clipboard to the default clipboard, i.e. they copy the selection to what the user sees as the clipboard.</p>
<p>(Passing Gdk::NONE is the same as using &lt;literal&gt;gdk_atom_intern ("CLIPBOARD", <code>false</code>)&lt;/literal&gt;. See &lt;ulink url="http://www.freedesktop.org/Standards/clipboards-spec"&gt; <a href="http://www.freedesktop.org/Standards/clipboards-spec">http://www.freedesktop.org/Standards/clipboards-spec</a>&lt;/ulink&gt; for a detailed discussion of the "CLIPBOARD" vs. "PRIMARY" selections under the X window system. On Win32 the Gdk::SELECTION_PRIMARY clipboard is essentially ignored.)</p>
<p>It's possible to have arbitrary named clipboards; if you do invent new clipboards, you should prefix the selection name with an underscore (because the ICCCM requires that nonstandard atoms are underscore-prefixed), and namespace it as well. For example, if your application called "Foo" has a special-purpose clipboard, you might call it "_FOO_SPECIAL_CLIPBOARD".</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000091">Since gtkmm 2.2:</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>display</em>&#160;</td><td>The display for which the clipboard is to be retrieved or created. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>selection</em>&#160;</td><td>A Gdk::Atom which identifies the clipboard to use. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The appropriate clipboard object. If no clipboard already exists, a new one will be created. Once a clipboard object has been created, it is persistent and, since it is owned by GTK+, must not be freed or unrefd. </dd></dl>

</div>
</div>
<a class="anchor" id="a6c68c91213f935715c5c9b1a612d98f6"></a><!-- doxytag: member="Gtk::Clipboard::get_owner" ref="a6c68c91213f935715c5c9b1a612d98f6" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>&gt; Gtk::Clipboard::get_owner </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If the clipboard contents callbacks were set with set_with_owner(), and the set_with_data() or <a class="el" href="classGtk_1_1Clipboard.html#abf8118f4098f9565f1d85d8d88409a1c" title="Clears the contents of the clipboard.">clear()</a> has not subsequently called, returns the owner set by set_with_owner(). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The owner of the clipboard, if any; otherwise <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a77714f58487355b0f34ad154b1a99138"></a><!-- doxytag: member="Gtk::Clipboard::get_owner" ref="a77714f58487355b0f34ad154b1a99138" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>&gt; Gtk::Clipboard::get_owner </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If the clipboard contents callbacks were set with set_with_owner(), and the set_with_data() or <a class="el" href="classGtk_1_1Clipboard.html#abf8118f4098f9565f1d85d8d88409a1c" title="Clears the contents of the clipboard.">clear()</a> has not subsequently called, returns the owner set by set_with_owner(). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The owner of the clipboard, if any; otherwise <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a307fb72e6fd57d378a981ef0604e4568"></a><!-- doxytag: member="Gtk::Clipboard::gobj" ref="a307fb72e6fd57d378a981ef0604e4568" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkClipboard* Gtk::Clipboard::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 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="aeb465195991ea12f2ee81733a1fa03b0"></a><!-- doxytag: member="Gtk::Clipboard::gobj" ref="aeb465195991ea12f2ee81733a1fa03b0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkClipboard* Gtk::Clipboard::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 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="a487b4d31a656a355286187b216d643cd"></a><!-- doxytag: member="Gtk::Clipboard::gobj_copy" ref="a487b4d31a656a355286187b216d643cd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkClipboard* Gtk::Clipboard::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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="a7b89b96071d9d6019eb35203538ac6a6"></a><!-- doxytag: member="Gtk::Clipboard::request_contents" ref="a7b89b96071d9d6019eb35203538ac6a6" args="(const Glib::ustring &amp;target, const SlotReceived &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Clipboard::request_contents </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>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotReceived</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Requests the contents of clipboard as the given target. </p>
<p>When the results of the result are later received the supplied callback will be called.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>target</em>&#160;</td><td>The form into which the clipboard owner should convert the selection. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>A function to call when the results are received (or the retrieval fails). If the retrieval fails the length field of selection_data will be negative. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acf9daec8f085ea57218a0ced6bc9e949"></a><!-- doxytag: member="Gtk::Clipboard::request_image" ref="acf9daec8f085ea57218a0ced6bc9e949" args="(const SlotImageReceived &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Clipboard::request_image </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotImageReceived</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Requests the contents of the clipboard as image. </p>
<p>When the image is later received, it will be converted to a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</p>
<p>The pixbuf parameter to slot will contain the resulting pixbuf if the request succeeded, or will be empty if it failed. This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into image form.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot,:</em>&#160;</td><td>a function to call when the text is received, or the retrieval fails. (It will always be called one way or the other.) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2fe9763417d17a586bcae713567800d8"></a><!-- doxytag: member="Gtk::Clipboard::request_rich_text" ref="a2fe9763417d17a586bcae713567800d8" args="(const Glib::RefPtr&lt; TextBuffer &gt; &amp;buffer, const SlotRichTextReceived &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Clipboard::request_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>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotRichTextReceived</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Requests the contents of the clipboard as rich text. </p>
<p>When the rich text is later received, callback will be called.</p>
<p>The text parameter to the callback will contain the resulting rich text if the request succeeded, or an empty string if it failed. This function can fail for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into rich text form.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot,:</em>&#160;</td><td>a function to call when the text is received, or the retrieval fails. (It will always be called one way or the other.) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae3be3a0d85849117a284f8a1cbfdb98e"></a><!-- doxytag: member="Gtk::Clipboard::request_targets" ref="ae3be3a0d85849117a284f8a1cbfdb98e" args="(const SlotTargetsReceived &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Clipboard::request_targets </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotTargetsReceived</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Requests the contents of the clipboard as list of supported targets. </p>
<p>When the list is later received, callback will be called.</p>
<p>The targets parameter to slot will contain the resulting targets if the request succeeded.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>a function to call when the targets are received, or the retrieval fails. (It will always be called one way or the other.) Remember that <a class="elRef" href="../../../glibmm-2.4/reference/html/group__ContHandles.html#ga8e243b697be740f5f7d4b578ae50db41">Glib::StringArrayHandle</a> is an intermediate type, so you should convert it to a standard C++ container.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000061">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a922ca2e0595b10ec7bcad59632b00f34"></a><!-- doxytag: member="Gtk::Clipboard::request_text" ref="a922ca2e0595b10ec7bcad59632b00f34" args="(const SlotTextReceived &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Clipboard::request_text </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotTextReceived</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Requests the contents of the clipboard as text. </p>
<p>When the text is later received, it will be converted to UTF-8 if necessary, and slot will be called.</p>
<p>The text parameter to slot will contain the resulting text if the request succeeded, or will be empty if it failed. This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into text form.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot,:</em>&#160;</td><td>a function to call when the text is received, or the retrieval fails. (It will always be called one way or the other.) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a482e597790498098d3d42751267418bc"></a><!-- doxytag: member="Gtk::Clipboard::request_uris" ref="a482e597790498098d3d42751267418bc" args="(const SlotUrisReceived &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Clipboard::request_uris </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotUrisReceived</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Requests the contents of the clipboard as URIs. </p>
<p>When the URIs are later received <em>slot</em> will be called.</p>
<p>The uris parameter to <em>slot</em> will contain the resulting array of URIs if the request succeeded, or an empty list if it failed. This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into URI form.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>A slot to call when the URIs are received, or the retrieval fails. (It will always be called one way or the other.)</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000042">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a6eed4302482ee376daf47bf5fcc42605"></a><!-- doxytag: member="Gtk::Clipboard::set" ref="a6eed4302482ee376daf47bf5fcc42605" args="(const ArrayHandle_TargetEntry &amp;targets, const SlotGet &amp;slot_get, const SlotClear &amp;slot_clear)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Clipboard::set </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">ArrayHandle_TargetEntry</a> &amp;&#160;</td>
          <td class="paramname"> <em>targets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotGet</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot_get</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotClear</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot_clear</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>targets</em>&#160;</td><td>Information about the available forms for the clipboard data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>slot_get</em>&#160;</td><td>method to call to get the actual clipboard data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>slot_clear</em>&#160;</td><td>When the clipboard contents are set again, this method will be called, and slot_get will not be subsequently called.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if setting the clipboard data succeeded. If setting the clipboard data failed then the provided callback methods will be ignored. </dd></dl>

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

<p>Hints that all forms of clipboard data should be stored somewhere when the application exits or when <a class="el" href="classGtk_1_1Clipboard.html#a47f0293ba7f80821537797537d5b6408" title="Stores the current clipboard data somewhere so that it will stay around after the...">store()</a> is called. </p>
<p>This value is reset when the clipboard owner changes. Where the clipboard data is stored is platform dependent, see <a class="el" href="classGdk_1_1Display.html#a0d31c8b4dfc1aca3b747497bfa2e60de" title="Issues a request to the clipboard manager to store the clipboard data, saving all...">Gdk::Display::store_clipboard()</a> for more information. </p>

</div>
</div>
<a class="anchor" id="a89ddaa80ac9aa1664aff952d4f25630f"></a><!-- doxytag: member="Gtk::Clipboard::set_can_store" ref="a89ddaa80ac9aa1664aff952d4f25630f" args="(const ArrayHandle_TargetEntry &amp;targets)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Clipboard::set_can_store </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">ArrayHandle_TargetEntry</a> &amp;&#160;</td>
          <td class="paramname"> <em>targets</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Hints that the clipboard data should be stored somewhere when the application exits or when <a class="el" href="classGtk_1_1Clipboard.html#a47f0293ba7f80821537797537d5b6408" title="Stores the current clipboard data somewhere so that it will stay around after the...">store()</a> is called. </p>
<p>This value is reset when the clipboard owner changes. Where the clipboard data is stored is platform dependent, see <a class="el" href="classGdk_1_1Display.html#a0d31c8b4dfc1aca3b747497bfa2e60de" title="Issues a request to the clipboard manager to store the clipboard data, saving all...">Gdk::Display::store_clipboard()</a> for more information.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>targets</em>&#160;</td><td>Array containing information about which forms should be stored. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a49841702b88e06547f48b7f0b9c1fe5d"></a><!-- doxytag: member="Gtk::Clipboard::set_image" ref="a49841702b88e06547f48b7f0b9c1fe5d" args="(const Glib::RefPtr&lt; Gdk::Pixbuf &gt; &amp;pixbuf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Clipboard::set_image </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 clipboard to the given <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<p>GTK+ will take responsibility for responding for requests for the image, and for converting the image into the requested format.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000053">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>

</div>
</div>
<a class="anchor" id="aaeee306b25ea1e0206e3ffb30af93c32"></a><!-- doxytag: member="Gtk::Clipboard::set_text" ref="aaeee306b25ea1e0206e3ffb30af93c32" args="(const Glib::ustring &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Clipboard::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>text</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the contents of the clipboard to the given UTF-8 string. </p>
<p>GTK+ will make a copy of the text and take responsibility for responding for requests for the text, and for converting the text into the requested format.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&#160;</td><td>A UTF-8 string. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3d19cb78841fd7e73fdddca0daeac22b"></a><!-- doxytag: member="Gtk::Clipboard::signal_owner_change" ref="a3d19cb78841fd7e73fdddca0daeac22b" 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_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,GdkEventOwnerChange* &gt; Gtk::Clipboard::signal_owner_change </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_owner_change(GdkEventOwnerChange* event)</code> </dd></dl>

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

<p>Stores the current clipboard data somewhere so that it will stay around after the application has quit. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000057">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a2110b8de6c2e61a1cf7d71cc02ef9e47"></a><!-- doxytag: member="Gtk::Clipboard::wait_for_contents" ref="a2110b8de6c2e61a1cf7d71cc02ef9e47" args="(const Glib::ustring &amp;target) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a> Gtk::Clipboard::wait_for_contents </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>target</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Requests the contents of the clipboard using the given target. </p>
<p>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>target</em>&#160;</td><td>The form into which the clipboard owner should convert the selection.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a> object, which will be invalid if retrieving the given target failed. </dd></dl>

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

<p>Requests the contents of the clipboard as image and converts the result to a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<p>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000054">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> object which must be disposed with Glib::object_unref(), or <code>0</code> if retrieving the selection data failed. (This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into an image.). </dd></dl>

</div>
</div>
<a class="anchor" id="a0f02a96840cfe953d1ef30d64c8e1409"></a><!-- doxytag: member="Gtk::Clipboard::wait_for_rich_text" ref="a0f02a96840cfe953d1ef30d64c8e1409" args="(const Glib::RefPtr&lt; TextBuffer &gt; &amp;buffer, std::string &amp;format)" -->
<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::Clipboard::wait_for_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>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><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>format</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="a168e8bd1b2d97e58ed2ad465dc2f1bf8"></a><!-- doxytag: member="Gtk::Clipboard::wait_for_targets" ref="a168e8bd1b2d97e58ed2ad465dc2f1bf8" 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::Clipboard::wait_for_targets </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list of targets that are present on the clipboard. </p>
<p>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>targets: The targets.</dd></dl>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000062">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>

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

<p>Requests the contents of the clipboard as text and converts the result to UTF-8 if necessary. </p>
<p>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A UTF-8 string, which is empty if retrieving the selection data failed. (This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into text form.). </dd></dl>

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

<p>Requests the contents of the clipboard as URIs. </p>
<p>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000044">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated <code>0</code>-terminated array of strings which must be freed with Glib::strfreev(), or <code>0</code> if retrieving the selection data failed. (This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into URI form.). </dd></dl>

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

<p>Test to see if there is an image available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported image targets. </p>
<p>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</p>
<p>This function is a little faster than calling <a class="el" href="classGtk_1_1Clipboard.html#acd3d40ebf095dc8ec7e0ba786ea99b0d" title="Requests the contents of the clipboard as image and converts the result to a Gdk::Pixbuf...">wait_for_image()</a> since it doesn't need to retrieve the actual image data.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000055">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> is there is an image available, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a05294bafc2322b3688dcc85523ae37db"></a><!-- doxytag: member="Gtk::Clipboard::wait_is_rich_text_available" ref="a05294bafc2322b3688dcc85523ae37db" 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::Clipboard::wait_is_rich_text_available </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>Test to see if there is rich text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported rich text targets. </p>
<p>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</p>
<p>This function is a little faster than calling <a class="el" href="classGtk_1_1Clipboard.html#a0f02a96840cfe953d1ef30d64c8e1409">wait_for_rich_text()</a> since it doesn't need to retrieve the actual text.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000049">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> is there is rich text available, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="ab1c3c7516af21ecb6a2db4db6cb8012b"></a><!-- doxytag: member="Gtk::Clipboard::wait_is_target_available" ref="ab1c3c7516af21ecb6a2db4db6cb8012b" args="(const Glib::ustring &amp;target)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Clipboard::wait_is_target_available </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>target</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks if a clipboard supports pasting data of a given type. </p>
<p>This function can be used to determine if a "Paste" menu item should be insensitive or not.</p>
<p>If you want to see if there's text available on the clipboard, use <a class="el" href="classGtk_1_1Clipboard.html#ac30a1145696f41b5feccbbe0346702fc" title="Test to see if there is text available to be pasted This is done by requesting the...">wait_is_text_available()</a> instead.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000056">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>target</em>&#160;</td><td>A Gdk::Atom indicating which target to look for. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the target is available, <code>false</code> otherwise. </dd></dl>

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

<p>Test to see if there is text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported text targets. </p>
<p>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</p>
<p>This function is a little faster than calling <a class="el" href="classGtk_1_1Clipboard.html#aeac490f4cbb988fe5b6e5eefb33c2201" title="Requests the contents of the clipboard as text and converts the result to UTF-8 if...">wait_for_text()</a> since it doesn't need to retrieve the actual text. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> is there is text available, <code>false</code> otherwise. </dd></dl>

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

<p>Test to see if there is a list of URIs available to be pasted This is done by requesting the TARGETS atom and checking if it contains the URI targets. </p>
<p>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</p>
<p>This function is a little faster than calling <a class="el" href="classGtk_1_1Clipboard.html#adc50aa1d428322a50d307fc6c0d23dc9" title="Requests the contents of the clipboard as URIs.">wait_for_uris()</a> since it doesn't need to retrieve the actual URI data.</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000043">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> is there is an URI list available, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ad2c721a5e6f7cee3edc204c496a66044"></a><!-- doxytag: member="Gtk::Clipboard::wrap" ref="ad2c721a5e6f7cee3edc204c496a66044" args="(GtkClipboard *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>&lt; <a class="el" href="classGtk_1_1Clipboard.html">Gtk::Clipboard</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkClipboard *&#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/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/clipboard.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:49 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>