Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 36a4a1ce4320fd74059ccc32828cc5d4 > files > 231

gtkmm3.0-doc-3.14.0-2.mga5.noarch.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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>gtkmm: Gtk::Clipboard Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">gtkmm
   &#160;<span id="projectnumber">3.14.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <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="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a></li><li class="navelem"><a class="el" href="classGtk_1_1Clipboard.html">Clipboard</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classGtk_1_1Clipboard-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Gtk::Clipboard Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="classGtk_1_1Clipboard.html" title="The Clipboard object represents a clipboard of data shared between different processes or between dif...">Clipboard</a> object represents a clipboard of data shared between different processes or between different widgets in the same process.  
 <a href="classGtk_1_1Clipboard.html#details">More...</a></p>

<p><code>#include &lt;gtkmm/clipboard.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Gtk::Clipboard:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1Clipboard__inherit__graph.png" border="0" usemap="#Gtk_1_1Clipboard_inherit__map" alt="Inheritance graph"/></div>
<map name="Gtk_1_1Clipboard_inherit__map" id="Gtk_1_1Clipboard_inherit__map">
<area shape="rect" id="node2" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,155,115,181"/><area shape="rect" id="node3" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,80,131,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a231514c83a1a1d1b14aaee247e522a1f"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/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 class="memdesc:a231514c83a1a1d1b14aaee247e522a1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_get(Gtk::SelectionData&amp; selection_data, guint info);.  <a href="#a231514c83a1a1d1b14aaee247e522a1f">More...</a><br /></td></tr>
<tr class="separator:a231514c83a1a1d1b14aaee247e522a1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a325cb088c615bec5f8d143b44d4741ce"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/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 class="memdesc:a325cb088c615bec5f8d143b44d4741ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_clear();.  <a href="#a325cb088c615bec5f8d143b44d4741ce">More...</a><br /></td></tr>
<tr class="separator:a325cb088c615bec5f8d143b44d4741ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a424180e2d14d2bb2f096be10ca2f7059"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/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 class="memdesc:a424180e2d14d2bb2f096be10ca2f7059"><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_received(const SelectionData&amp; selection_data);.  <a href="#a424180e2d14d2bb2f096be10ca2f7059">More...</a><br /></td></tr>
<tr class="separator:a424180e2d14d2bb2f096be10ca2f7059"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8878452bd75d07a5dc2f239ff67e5d9e"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:a8878452bd75d07a5dc2f239ff67e5d9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_text_received(const Glib::ustring&amp; text);.  <a href="#a8878452bd75d07a5dc2f239ff67e5d9e">More...</a><br /></td></tr>
<tr class="separator:a8878452bd75d07a5dc2f239ff67e5d9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39efb49b4cf08d2f08f62aebf368fa32"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;, const <br class="typebreak" />
<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">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 class="memdesc:a39efb49b4cf08d2f08f62aebf368fa32"><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">More...</a><br /></td></tr>
<tr class="separator:a39efb49b4cf08d2f08f62aebf368fa32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd1e0dc88fac81f8aa8f325a200f39ba"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a><br class="typebreak" />
&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#afd1e0dc88fac81f8aa8f325a200f39ba">SlotUrisReceived</a></td></tr>
<tr class="memdesc:afd1e0dc88fac81f8aa8f325a200f39ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_uris_received(const std::vector&lt;Glib::ustring&gt;&amp; uris);.  <a href="#afd1e0dc88fac81f8aa8f325a200f39ba">More...</a><br /></td></tr>
<tr class="separator:afd1e0dc88fac81f8aa8f325a200f39ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e92912fa27405ef4efafc1d7fe19fe3"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:a2e92912fa27405ef4efafc1d7fe19fe3"><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">More...</a><br /></td></tr>
<tr class="separator:a2e92912fa27405ef4efafc1d7fe19fe3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e40a6659f2f87dae29212566a06901a"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a><br class="typebreak" />
&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a1e40a6659f2f87dae29212566a06901a">SlotTargetsReceived</a></td></tr>
<tr class="memdesc:a1e40a6659f2f87dae29212566a06901a"><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance: void on_targets_received(const std::vector&lt;Glib::ustring&gt;&amp; targets);.  <a href="#a1e40a6659f2f87dae29212566a06901a">More...</a><br /></td></tr>
<tr class="separator:a1e40a6659f2f87dae29212566a06901a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4753c62ad3aea992476feaf84574ca05"><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 class="separator:a4753c62ad3aea992476feaf84574ca05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb465195991ea12f2ee81733a1fa03b0"><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 class="memdesc:aeb465195991ea12f2ee81733a1fa03b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#aeb465195991ea12f2ee81733a1fa03b0">More...</a><br /></td></tr>
<tr class="separator:aeb465195991ea12f2ee81733a1fa03b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a307fb72e6fd57d378a981ef0604e4568"><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 class="memdesc:a307fb72e6fd57d378a981ef0604e4568"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a307fb72e6fd57d378a981ef0604e4568">More...</a><br /></td></tr>
<tr class="separator:a307fb72e6fd57d378a981ef0604e4568"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a487b4d31a656a355286187b216d643cd"><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 class="memdesc:a487b4d31a656a355286187b216d643cd"><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">More...</a><br /></td></tr>
<tr class="separator:a487b4d31a656a355286187b216d643cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a696d084d1ef3c7cbe298b4e78e8ea167"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:a696d084d1ef3c7cbe298b4e78e8ea167"><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 mouse pointer To manage ...">Gdk::Display</a> associated with <em>clipboard</em>.  <a href="#a696d084d1ef3c7cbe298b4e78e8ea167">More...</a><br /></td></tr>
<tr class="separator:a696d084d1ef3c7cbe298b4e78e8ea167"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9a759c0daf584d22c8af18c24031f0b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:ac9a759c0daf584d22c8af18c24031f0b"><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 mouse pointer To manage ...">Gdk::Display</a> associated with <em>clipboard</em>.  <a href="#ac9a759c0daf584d22c8af18c24031f0b">More...</a><br /></td></tr>
<tr class="separator:ac9a759c0daf584d22c8af18c24031f0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a0c083ecfdcdb17022a5fbe63c0b37d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a2a0c083ecfdcdb17022a5fbe63c0b37d">set</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="classGtk_1_1TargetEntry.html">TargetEntry</a> &gt;&amp; targets, const <a class="el" href="classGtk_1_1Clipboard.html#a231514c83a1a1d1b14aaee247e522a1f">SlotGet</a>&amp; slot_get, const <a class="el" href="classGtk_1_1Clipboard.html#a325cb088c615bec5f8d143b44d4741ce">SlotClear</a>&amp; slot_clear)</td></tr>
<tr class="memdesc:a2a0c083ecfdcdb17022a5fbe63c0b37d"><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="#a2a0c083ecfdcdb17022a5fbe63c0b37d">More...</a><br /></td></tr>
<tr class="separator:a2a0c083ecfdcdb17022a5fbe63c0b37d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77714f58487355b0f34ad154b1a99138"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:a77714f58487355b0f34ad154b1a99138"><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">More...</a><br /></td></tr>
<tr class="separator:a77714f58487355b0f34ad154b1a99138"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c68c91213f935715c5c9b1a612d98f6"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:a6c68c91213f935715c5c9b1a612d98f6"><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">More...</a><br /></td></tr>
<tr class="separator:a6c68c91213f935715c5c9b1a612d98f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf8118f4098f9565f1d85d8d88409a1c"><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 class="memdesc:abf8118f4098f9565f1d85d8d88409a1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the contents of the clipboard.  <a href="#abf8118f4098f9565f1d85d8d88409a1c">More...</a><br /></td></tr>
<tr class="separator:abf8118f4098f9565f1d85d8d88409a1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaeee306b25ea1e0206e3ffb30af93c32"><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="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
<tr class="memdesc:aaeee306b25ea1e0206e3ffb30af93c32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the contents of the clipboard to the given UTF-8 string.  <a href="#aaeee306b25ea1e0206e3ffb30af93c32">More...</a><br /></td></tr>
<tr class="separator:aaeee306b25ea1e0206e3ffb30af93c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49841702b88e06547f48b7f0b9c1fe5d"><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="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:a49841702b88e06547f48b7f0b9c1fe5d"><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">More...</a><br /></td></tr>
<tr class="separator:a49841702b88e06547f48b7f0b9c1fe5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b89b96071d9d6019eb35203538ac6a6"><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="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; target, const <a class="el" href="classGtk_1_1Clipboard.html#a424180e2d14d2bb2f096be10ca2f7059">SlotReceived</a>&amp; slot)</td></tr>
<tr class="memdesc:a7b89b96071d9d6019eb35203538ac6a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of clipboard as the given target.  <a href="#a7b89b96071d9d6019eb35203538ac6a6">More...</a><br /></td></tr>
<tr class="separator:a7b89b96071d9d6019eb35203538ac6a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a922ca2e0595b10ec7bcad59632b00f34"><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="el" href="classGtk_1_1Clipboard.html#a8878452bd75d07a5dc2f239ff67e5d9e">SlotTextReceived</a>&amp; slot)</td></tr>
<tr class="memdesc:a922ca2e0595b10ec7bcad59632b00f34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as text.  <a href="#a922ca2e0595b10ec7bcad59632b00f34">More...</a><br /></td></tr>
<tr class="separator:a922ca2e0595b10ec7bcad59632b00f34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fe9763417d17a586bcae713567800d8"><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="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> &gt;&amp; buffer, const <a class="el" href="classGtk_1_1Clipboard.html#a39efb49b4cf08d2f08f62aebf368fa32">SlotRichTextReceived</a>&amp; slot)</td></tr>
<tr class="memdesc:a2fe9763417d17a586bcae713567800d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as rich text.  <a href="#a2fe9763417d17a586bcae713567800d8">More...</a><br /></td></tr>
<tr class="separator:a2fe9763417d17a586bcae713567800d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a482e597790498098d3d42751267418bc"><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="el" href="classGtk_1_1Clipboard.html#afd1e0dc88fac81f8aa8f325a200f39ba">SlotUrisReceived</a>&amp; slot)</td></tr>
<tr class="memdesc:a482e597790498098d3d42751267418bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as URIs.  <a href="#a482e597790498098d3d42751267418bc">More...</a><br /></td></tr>
<tr class="separator:a482e597790498098d3d42751267418bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf9daec8f085ea57218a0ced6bc9e949"><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="el" href="classGtk_1_1Clipboard.html#a2e92912fa27405ef4efafc1d7fe19fe3">SlotImageReceived</a>&amp; slot)</td></tr>
<tr class="memdesc:acf9daec8f085ea57218a0ced6bc9e949"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as image.  <a href="#acf9daec8f085ea57218a0ced6bc9e949">More...</a><br /></td></tr>
<tr class="separator:acf9daec8f085ea57218a0ced6bc9e949"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3be3a0d85849117a284f8a1cbfdb98e"><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="el" href="classGtk_1_1Clipboard.html#a1e40a6659f2f87dae29212566a06901a">SlotTargetsReceived</a>&amp; slot)</td></tr>
<tr class="memdesc:ae3be3a0d85849117a284f8a1cbfdb98e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as list of supported targets.  <a href="#ae3be3a0d85849117a284f8a1cbfdb98e">More...</a><br /></td></tr>
<tr class="separator:ae3be3a0d85849117a284f8a1cbfdb98e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2110b8de6c2e61a1cf7d71cc02ef9e47"><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="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; target) const </td></tr>
<tr class="memdesc:a2110b8de6c2e61a1cf7d71cc02ef9e47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard using the given target.  <a href="#a2110b8de6c2e61a1cf7d71cc02ef9e47">More...</a><br /></td></tr>
<tr class="separator:a2110b8de6c2e61a1cf7d71cc02ef9e47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeac490f4cbb988fe5b6e5eefb33c2201"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:aeac490f4cbb988fe5b6e5eefb33c2201"><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">More...</a><br /></td></tr>
<tr class="separator:aeac490f4cbb988fe5b6e5eefb33c2201"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f02a96840cfe953d1ef30d64c8e1409"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">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="http://library.gnome.org/devel/glibmm/unstable/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/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; format)</td></tr>
<tr class="separator:a0f02a96840cfe953d1ef30d64c8e1409"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd3d40ebf095dc8ec7e0ba786ea99b0d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:acd3d40ebf095dc8ec7e0ba786ea99b0d"><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">More...</a><br /></td></tr>
<tr class="separator:acd3d40ebf095dc8ec7e0ba786ea99b0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac30a1145696f41b5feccbbe0346702fc"><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 class="memdesc:ac30a1145696f41b5feccbbe0346702fc"><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">More...</a><br /></td></tr>
<tr class="separator:ac30a1145696f41b5feccbbe0346702fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05294bafc2322b3688dcc85523ae37db"><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="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:a05294bafc2322b3688dcc85523ae37db"><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">More...</a><br /></td></tr>
<tr class="separator:a05294bafc2322b3688dcc85523ae37db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcc67f894892de4918e9f8e7fb6813e7"><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 class="memdesc:afcc67f894892de4918e9f8e7fb6813e7"><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">More...</a><br /></td></tr>
<tr class="separator:afcc67f894892de4918e9f8e7fb6813e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0c118eea5e64eabf911558d915af8be"><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 class="memdesc:af0c118eea5e64eabf911558d915af8be"><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">More...</a><br /></td></tr>
<tr class="separator:af0c118eea5e64eabf911558d915af8be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1c3c7516af21ecb6a2db4db6cb8012b"><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="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; target)</td></tr>
<tr class="memdesc:ab1c3c7516af21ecb6a2db4db6cb8012b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a clipboard supports pasting data of a given type.  <a href="#ab1c3c7516af21ecb6a2db4db6cb8012b">More...</a><br /></td></tr>
<tr class="separator:ab1c3c7516af21ecb6a2db4db6cb8012b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0012a68a1e64fa41a02eef1802bae907"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a0012a68a1e64fa41a02eef1802bae907">wait_for_targets</a> () const </td></tr>
<tr class="memdesc:a0012a68a1e64fa41a02eef1802bae907"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a list of targets that are present on the clipboard.  <a href="#a0012a68a1e64fa41a02eef1802bae907">More...</a><br /></td></tr>
<tr class="separator:a0012a68a1e64fa41a02eef1802bae907"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a088ba6cf35e70c048d1db94e351cfc8b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a088ba6cf35e70c048d1db94e351cfc8b">wait_for_uris</a> () const </td></tr>
<tr class="memdesc:a088ba6cf35e70c048d1db94e351cfc8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the contents of the clipboard as URIs.  <a href="#a088ba6cf35e70c048d1db94e351cfc8b">More...</a><br /></td></tr>
<tr class="separator:a088ba6cf35e70c048d1db94e351cfc8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0ca50c7719988d5f324dbabb77e9a47"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#ad0ca50c7719988d5f324dbabb77e9a47">set_can_store</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="classGtk_1_1TargetEntry.html">TargetEntry</a> &gt;&amp; targets)</td></tr>
<tr class="memdesc:ad0ca50c7719988d5f324dbabb77e9a47"><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 application has qui...">store()</a> is called.  <a href="#ad0ca50c7719988d5f324dbabb77e9a47">More...</a><br /></td></tr>
<tr class="separator:ad0ca50c7719988d5f324dbabb77e9a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f2fc04281ab4e2370098bfeb10108ac"><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 class="memdesc:a5f2fc04281ab4e2370098bfeb10108ac"><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 application has qui...">store()</a> is called.  <a href="#a5f2fc04281ab4e2370098bfeb10108ac">More...</a><br /></td></tr>
<tr class="separator:a5f2fc04281ab4e2370098bfeb10108ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47f0293ba7f80821537797537d5b6408"><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 class="memdesc:a47f0293ba7f80821537797537d5b6408"><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">More...</a><br /></td></tr>
<tr class="separator:a47f0293ba7f80821537797537d5b6408"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d19cb78841fd7e73fdddca0daeac22b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="separator:a3d19cb78841fd7e73fdddca0daeac22b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7c46bca451d214a1f01fbf9f1e6a972d"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a7c46bca451d214a1f01fbf9f1e6a972d">get_type</a> ()</td></tr>
<tr class="memdesc:a7c46bca451d214a1f01fbf9f1e6a972d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#a7c46bca451d214a1f01fbf9f1e6a972d">More...</a><br /></td></tr>
<tr class="separator:a7c46bca451d214a1f01fbf9f1e6a972d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a163dde254aec1314c6aee6bbdb47fefe"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:a163dde254aec1314c6aee6bbdb47fefe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the clipboard object for the given selection.  <a href="#a163dde254aec1314c6aee6bbdb47fefe">More...</a><br /></td></tr>
<tr class="separator:a163dde254aec1314c6aee6bbdb47fefe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a880ad980703636e3aed1f25c066ebbc9"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:a880ad980703636e3aed1f25c066ebbc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the clipboard object for the given selection.  <a href="#a880ad980703636e3aed1f25c066ebbc9">More...</a><br /></td></tr>
<tr class="separator:a880ad980703636e3aed1f25c066ebbc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:ad2c721a5e6f7cee3edc204c496a66044"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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 class="memdesc:ad2c721a5e6f7cee3edc204c496a66044"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#ad2c721a5e6f7cee3edc204c496a66044">More...</a><br /></td></tr>
<tr class="separator:ad2c721a5e6f7cee3edc204c496a66044"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classGtk_1_1Clipboard.html" title="The Clipboard object represents a clipboard of data shared between different processes or between dif...">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#a2a0c083ecfdcdb17022a5fbe63c0b37d" title="Virtually sets the contents of the specified clipboard by providing a list of supported formats for t...">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 necessary...">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>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a325cb088c615bec5f8d143b44d4741ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void&gt; <a class="el" href="classGtk_1_1Clipboard.html#a325cb088c615bec5f8d143b44d4741ce">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>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;, guint&gt; <a class="el" href="classGtk_1_1Clipboard.html#a231514c83a1a1d1b14aaee247e522a1f">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>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt;&amp;&gt; <a class="el" href="classGtk_1_1Clipboard.html#a2e92912fa27405ef4efafc1d7fe19fe3">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>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;&gt; <a class="el" href="classGtk_1_1Clipboard.html#a424180e2d14d2bb2f096be10ca2f7059">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>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp;, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp;&gt; <a class="el" href="classGtk_1_1Clipboard.html#a39efb49b4cf08d2f08f62aebf368fa32">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="a1e40a6659f2f87dae29212566a06901a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt;<a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&gt;&amp;&gt; <a class="el" href="classGtk_1_1Clipboard.html#a1e40a6659f2f87dae29212566a06901a">Gtk::Clipboard::SlotTargetsReceived</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For instance: void on_targets_received(const std::vector&lt;Glib::ustring&gt;&amp; targets);. </p>

</div>
</div>
<a class="anchor" id="a8878452bd75d07a5dc2f239ff67e5d9e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp;&gt; <a class="el" href="classGtk_1_1Clipboard.html#a8878452bd75d07a5dc2f239ff67e5d9e">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="afd1e0dc88fac81f8aa8f325a200f39ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt;<a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&gt;&amp;&gt; <a class="el" href="classGtk_1_1Clipboard.html#afd1e0dc88fac81f8aa8f325a200f39ba">Gtk::Clipboard::SlotUrisReceived</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For instance: void on_uris_received(const std::vector&lt;Glib::ustring&gt;&amp; uris);. </p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4753c62ad3aea992476feaf84574ca05"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Clipboard::~Clipboard </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="abf8118f4098f9565f1d85d8d88409a1c"></a>
<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>)</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#a2a0c083ecfdcdb17022a5fbe63c0b37d" title="Virtually sets the contents of the specified clipboard by providing a list of supported formats for t...">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>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">selection</td><td>A Gdk::Atom which identifies the clipboard to use. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</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="a696d084d1ef3c7cbe298b4e78e8ea167"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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>)</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 mouse pointer To manage ...">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_2000068">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</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 mouse pointer To manage ...">Gdk::Display</a> associated with <em>clipboard</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="ac9a759c0daf584d22c8af18c24031f0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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>)</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 mouse pointer To manage ...">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_2000069">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</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 mouse pointer To manage ...">Gdk::Display</a> associated with <em>clipboard</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a880ad980703636e3aed1f25c066ebbc9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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="http://library.gnome.org/devel/glibmm/unstable/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>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </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 <code>gdk_atom_intern ("CLIPBOARD", &lt;tt&gt;false&lt;/tt&gt;)</code>.</p>
<p>See the <a href="http://www.freedesktop.org/Standards/clipboards-spec">FreeDesktop Clipboard Specification</a> 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_2000067">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">display</td><td>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 mouse pointer To manage ...">Gdk::Display</a> for which the clipboard is to be retrieved or created. </td></tr>
    <tr><td class="paramname">selection</td><td>A Gdk::Atom which identifies the clipboard to use. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</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="a77714f58487355b0f34ad154b1a99138"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>&gt; Gtk::Clipboard::get_owner </td>
          <td>(</td>
          <td class="paramname"></td><td>)</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="section return"><dt>Returns</dt><dd>The owner of the clipboard, if any; otherwise <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a6c68c91213f935715c5c9b1a612d98f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>&gt; Gtk::Clipboard::get_owner </td>
          <td>(</td>
          <td class="paramname"></td><td>)</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="section return"><dt>Returns</dt><dd>The owner of the clipboard, if any; otherwise <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a7c46bca451d214a1f01fbf9f1e6a972d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Gtk::Clipboard::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a class="anchor" id="aeb465195991ea12f2ee81733a1fa03b0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GtkClipboard* Gtk::Clipboard::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a307fb72e6fd57d378a981ef0604e4568"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const GtkClipboard* Gtk::Clipboard::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a487b4d31a656a355286187b216d643cd"></a>
<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>)</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>
<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="http://library.gnome.org/devel/glibmm/unstable/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="el" href="classGtk_1_1Clipboard.html#a424180e2d14d2bb2f096be10ca2f7059">SlotReceived</a>&amp;&#160;</td>
          <td class="paramname"><em>slot</em>&#160;</td>
        </tr>
        <tr>
          <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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The form into which the clipboard owner should convert the selection. </td></tr>
    <tr><td class="paramname">slot</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>
<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="el" href="classGtk_1_1Clipboard.html#a2e92912fa27405ef4efafc1d7fe19fe3">SlotImageReceived</a>&amp;&#160;</td>
          <td class="paramname"><em>slot</em></td><td>)</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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</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>
<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="http://library.gnome.org/devel/glibmm/unstable/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="el" href="classGtk_1_1Clipboard.html#a39efb49b4cf08d2f08f62aebf368fa32">SlotRichTextReceived</a>&amp;&#160;</td>
          <td class="paramname"><em>slot</em>&#160;</td>
        </tr>
        <tr>
          <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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</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>
<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="el" href="classGtk_1_1Clipboard.html#a1e40a6659f2f87dae29212566a06901a">SlotTargetsReceived</a>&amp;&#160;</td>
          <td class="paramname"><em>slot</em></td><td>)</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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</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.)</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>
<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="el" href="classGtk_1_1Clipboard.html#a8878452bd75d07a5dc2f239ff67e5d9e">SlotTextReceived</a>&amp;&#160;</td>
          <td class="paramname"><em>slot</em></td><td>)</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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</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>
<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="el" href="classGtk_1_1Clipboard.html#afd1e0dc88fac81f8aa8f325a200f39ba">SlotUrisReceived</a>&amp;&#160;</td>
          <td class="paramname"><em>slot</em></td><td>)</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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</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_14000048">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a2a0c083ecfdcdb17022a5fbe63c0b37d"></a>
<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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="classGtk_1_1TargetEntry.html">TargetEntry</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>targets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1Clipboard.html#a231514c83a1a1d1b14aaee247e522a1f">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="el" href="classGtk_1_1Clipboard.html#a325cb088c615bec5f8d143b44d4741ce">SlotClear</a>&amp;&#160;</td>
          <td class="paramname"><em>slot_clear</em>&#160;</td>
        </tr>
        <tr>
          <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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">targets</td><td>Information about the available forms for the clipboard data. </td></tr>
    <tr><td class="paramname">slot_get</td><td>method to call to get the actual clipboard data. </td></tr>
    <tr><td class="paramname">slot_clear</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="section return"><dt>Returns</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="ad0ca50c7719988d5f324dbabb77e9a47"></a>
<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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="classGtk_1_1TargetEntry.html">TargetEntry</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>targets</em></td><td>)</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 application has qui...">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 available targets...">Gdk::Display::store_clipboard()</a> for more information.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">targets</td><td>Array containing information about which forms should be stored. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5f2fc04281ab4e2370098bfeb10108ac"></a>
<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>)</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 application has qui...">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 available targets...">Gdk::Display::store_clipboard()</a> for more information. </p>

</div>
</div>
<a class="anchor" id="a49841702b88e06547f48b7f0b9c1fe5d"></a>
<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="http://library.gnome.org/devel/glibmm/unstable/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>)</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_6000054">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pixbuf</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>
<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="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>A UTF-8 string. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3d19cb78841fd7e73fdddca0daeac22b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,GdkEventOwnerChange* &gt; Gtk::Clipboard::signal_owner_change </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_owner_change(GdkEventOwnerChange* event)</code></dd></dl>
<p>The <a class="el" href="classGtk_1_1Clipboard.html#a3d19cb78841fd7e73fdddca0daeac22b">signal_owner_change()</a> signal is emitted when GTK+ receives an event that indicates that the ownership of the selection associated with <em>clipboard</em> has changed.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000059">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>The <em>GdkEventOwnerChange</em> event. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a47f0293ba7f80821537797537d5b6408"></a>
<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>)</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_6000058">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a2110b8de6c2e61a1cf7d71cc02ef9e47"></a>
<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="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The form into which the clipboard owner should convert the selection.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</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>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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>)</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_6000055">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</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>
<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/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gtk::Clipboard::wait_for_rich_text </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>format</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0012a68a1e64fa41a02eef1802bae907"></a>
<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/a00965.html">std::vector</a>&lt;<a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::Clipboard::wait_for_targets </td>
          <td>(</td>
          <td class="paramname"></td><td>)</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="section return"><dt>Returns</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>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::Clipboard::wait_for_text </td>
          <td>(</td>
          <td class="paramname"></td><td>)</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="section return"><dt>Returns</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="a088ba6cf35e70c048d1db94e351cfc8b"></a>
<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/a00965.html">std::vector</a>&lt;<a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::Clipboard::wait_for_uris </td>
          <td>(</td>
          <td class="paramname"></td><td>)</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_14000050">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</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>
<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>)</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_6000056">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</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>
<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="http://library.gnome.org/devel/glibmm/unstable/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>)</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_10000054">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buffer</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="section return"><dt>Returns</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>
<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="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</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 TARGETS atom and c...">wait_is_text_available()</a> instead.</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>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>A Gdk::Atom indicating which target to look for. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the target is available, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="ac30a1145696f41b5feccbbe0346702fc"></a>
<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>)</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 necessary...">wait_for_text()</a> since it doesn’t need to retrieve the actual text.</p>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> is there is text available, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="af0c118eea5e64eabf911558d915af8be"></a>
<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>)</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#a088ba6cf35e70c048d1db94e351cfc8b" 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_14000049">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> is there is an URI list available, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="ad2c721a5e6f7cee3edc204c496a66044"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/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>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Sep 23 2014 12:59:18 for gtkmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>