29
32
<div class="contents">
30
<h1>Gtk::Clipboard Class Reference</h1><!-- doxytag: class="Gtk::Clipboard" --><!-- doxytag: inherits="Glib::Object" -->The <a class="el" href="classGtk_1_1Clipboard.html" title="The Clipboard object represents a clipboard of data shared between different processes...">Clipboard</a> object represents a clipboard of data shared between different processes or between different widgets in the same process. <a href="#_details">More...</a>
32
Inherits <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>.
33
<h1>Gtk::Clipboard Class Reference</h1><!-- doxytag: class="Gtk::Clipboard" --><!-- doxytag: inherits="Glib::Object" -->
34
<p>The <a class="el" href="classGtk_1_1Clipboard.html" title="The Clipboard object represents a clipboard of data shared between different processes...">Clipboard</a> object represents a clipboard of data shared between different processes or between different widgets in the same process. <a href="#_details">More...</a></p>
36
<p>Inherits <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>.</p>
34
37
<div class="dynheader">
35
38
Collaboration diagram for Gtk::Clipboard:</div>
36
39
<div class="dynsection">
37
<p><center><img src="classGtk_1_1Clipboard__coll__graph.png" border="0" usemap="#Gtk_1_1Clipboard__coll__map" alt="Collaboration graph"></center>
38
<map name="Gtk_1_1Clipboard__coll__map">
39
<area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,155,111,181"><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,80,125,107"><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,32"></map>
40
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
43
<a href="classGtk_1_1Clipboard-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
45
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak">
47
<a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&, guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#231514c83a1a1d1b14aaee247e522a1f">SlotGet</a></td></tr>
49
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_get(Gtk::SelectionData& selection_data, guint info);. <a href="#231514c83a1a1d1b14aaee247e522a1f"></a><br></td></tr>
50
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#325cb088c615bec5f8d143b44d4741ce">SlotClear</a></td></tr>
52
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_clear();. <a href="#325cb088c615bec5f8d143b44d4741ce"></a><br></td></tr>
53
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak">
54
const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#424180e2d14d2bb2f096be10ca2f7059">SlotReceived</a></td></tr>
56
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_received(const SelectionData& selection_data);. <a href="#424180e2d14d2bb2f096be10ca2f7059"></a><br></td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak">
58
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#8878452bd75d07a5dc2f239ff67e5d9e">SlotTextReceived</a></td></tr>
60
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_text_received(const Glib::ustring& text);. <a href="#8878452bd75d07a5dc2f239ff67e5d9e"></a><br></td></tr>
61
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak">
62
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &, const <br class="typebreak">
63
<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#39efb49b4cf08d2f08f62aebf368fa32">SlotRichTextReceived</a></td></tr>
65
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_rich_text_received(const Glib::ustring& format, const std::string& text);. <a href="#39efb49b4cf08d2f08f62aebf368fa32"></a><br></td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak">
67
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#7ec97f4e16280484d0075885c2ca317b">SlotUrisReceived</a></td></tr>
69
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_uris_received(const Glib::StringArrayHandle& uris);. <a href="#7ec97f4e16280484d0075885c2ca317b"></a><br></td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak">
71
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
72
< <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> >& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#2e92912fa27405ef4efafc1d7fe19fe3">SlotImageReceived</a></td></tr>
74
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_image_received(const Glib::RefPtr<Gdk::Pixbuf>& text);. <a href="#2e92912fa27405ef4efafc1d7fe19fe3"></a><br></td></tr>
75
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak">
76
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#d63a6dd13efe8bce4c824c5fb2bbec9f">SlotTargetsReceived</a></td></tr>
78
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_targetsreceived(const Glib::StringArrayHandle& targets);. <a href="#d63a6dd13efe8bce4c824c5fb2bbec9f"></a><br></td></tr>
79
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
80
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#4753c62ad3aea992476feaf84574ca05">~Clipboard</a> ()</td></tr>
82
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkClipboard* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#eb465195991ea12f2ee81733a1fa03b0">gobj</a> ()</td></tr>
84
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#eb465195991ea12f2ee81733a1fa03b0"></a><br></td></tr>
85
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkClipboard* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#307fb72e6fd57d378a981ef0604e4568">gobj</a> () const </td></tr>
87
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#307fb72e6fd57d378a981ef0604e4568"></a><br></td></tr>
88
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkClipboard* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#487b4d31a656a355286187b216d643cd">gobj_copy</a> ()</td></tr>
90
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#487b4d31a656a355286187b216d643cd"></a><br></td></tr>
91
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#696d084d1ef3c7cbe298b4e78e8ea167">get_display</a> ()</td></tr>
93
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>clipboard</em>. <a href="#696d084d1ef3c7cbe298b4e78e8ea167"></a><br></td></tr>
94
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#c9a759c0daf584d22c8af18c24031f0b">get_display</a> () const </td></tr>
96
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>clipboard</em>. <a href="#c9a759c0daf584d22c8af18c24031f0b"></a><br></td></tr>
97
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#6eed4302482ee376daf47bf5fcc42605">set</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">ArrayHandle_TargetEntry</a>& targets, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotGet</a>& slot_get, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotClear</a>& slot_clear)</td></tr>
99
<tr><td class="mdescLeft"> </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="#6eed4302482ee376daf47bf5fcc42605"></a><br></td></tr>
100
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#77714f58487355b0f34ad154b1a99138">get_owner</a> ()</td></tr>
102
<tr><td class="mdescLeft"> </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#bf8118f4098f9565f1d85d8d88409a1c" title="Clears the contents of the clipboard.">clear()</a> has not subsequently called, returns the owner set by set_with_owner(). <a href="#77714f58487355b0f34ad154b1a99138"></a><br></td></tr>
103
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#6c68c91213f935715c5c9b1a612d98f6">get_owner</a> () const </td></tr>
105
<tr><td class="mdescLeft"> </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#bf8118f4098f9565f1d85d8d88409a1c" title="Clears the contents of the clipboard.">clear()</a> has not subsequently called, returns the owner set by set_with_owner(). <a href="#6c68c91213f935715c5c9b1a612d98f6"></a><br></td></tr>
106
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#bf8118f4098f9565f1d85d8d88409a1c">clear</a> ()</td></tr>
108
<tr><td class="mdescLeft"> </td><td class="mdescRight">Clears the contents of the clipboard. <a href="#bf8118f4098f9565f1d85d8d88409a1c"></a><br></td></tr>
109
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#aeee306b25ea1e0206e3ffb30af93c32">set_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr>
111
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the contents of the clipboard to the given UTF-8 string. <a href="#aeee306b25ea1e0206e3ffb30af93c32"></a><br></td></tr>
112
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#49841702b88e06547f48b7f0b9c1fe5d">set_image</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> >& pixbuf)</td></tr>
114
<tr><td class="mdescLeft"> </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="#49841702b88e06547f48b7f0b9c1fe5d"></a><br></td></tr>
115
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#7b89b96071d9d6019eb35203538ac6a6">request_contents</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& target, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotReceived</a>& slot)</td></tr>
117
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of clipboard as the given target. <a href="#7b89b96071d9d6019eb35203538ac6a6"></a><br></td></tr>
118
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#922ca2e0595b10ec7bcad59632b00f34">request_text</a> (const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotTextReceived</a>& slot)</td></tr>
120
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as text. <a href="#922ca2e0595b10ec7bcad59632b00f34"></a><br></td></tr>
121
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#2fe9763417d17a586bcae713567800d8">request_rich_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> >& buffer, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotRichTextReceived</a>& slot)</td></tr>
123
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as rich text. <a href="#2fe9763417d17a586bcae713567800d8"></a><br></td></tr>
124
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#482e597790498098d3d42751267418bc">request_uris</a> (const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotUrisReceived</a>& slot)</td></tr>
126
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as URIs. <a href="#482e597790498098d3d42751267418bc"></a><br></td></tr>
127
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#cf9daec8f085ea57218a0ced6bc9e949">request_image</a> (const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotImageReceived</a>& slot)</td></tr>
129
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as image. <a href="#cf9daec8f085ea57218a0ced6bc9e949"></a><br></td></tr>
130
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#e3be3a0d85849117a284f8a1cbfdb98e">request_targets</a> (const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotTargetsReceived</a>& slot)</td></tr>
132
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as list of supported targets. <a href="#e3be3a0d85849117a284f8a1cbfdb98e"></a><br></td></tr>
133
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#2110b8de6c2e61a1cf7d71cc02ef9e47">wait_for_contents</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& target) const </td></tr>
135
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard using the given target. <a href="#2110b8de6c2e61a1cf7d71cc02ef9e47"></a><br></td></tr>
136
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#eac490f4cbb988fe5b6e5eefb33c2201">wait_for_text</a> () const </td></tr>
138
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as text and converts the result to UTF-8 if necessary. <a href="#eac490f4cbb988fe5b6e5eefb33c2201"></a><br></td></tr>
139
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#0f02a96840cfe953d1ef30d64c8e1409">wait_for_rich_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> >& buffer, <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>& format)</td></tr>
141
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#cd3d40ebf095dc8ec7e0ba786ea99b0d">wait_for_image</a> () const </td></tr>
143
<tr><td class="mdescLeft"> </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="#cd3d40ebf095dc8ec7e0ba786ea99b0d"></a><br></td></tr>
144
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#c30a1145696f41b5feccbbe0346702fc">wait_is_text_available</a> () const </td></tr>
146
<tr><td class="mdescLeft"> </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="#c30a1145696f41b5feccbbe0346702fc"></a><br></td></tr>
147
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#05294bafc2322b3688dcc85523ae37db">wait_is_rich_text_available</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> >& buffer) const </td></tr>
149
<tr><td class="mdescLeft"> </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="#05294bafc2322b3688dcc85523ae37db"></a><br></td></tr>
150
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#fcc67f894892de4918e9f8e7fb6813e7">wait_is_image_available</a> () const </td></tr>
152
<tr><td class="mdescLeft"> </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="#fcc67f894892de4918e9f8e7fb6813e7"></a><br></td></tr>
153
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#f0c118eea5e64eabf911558d915af8be">wait_is_uris_available</a> () const </td></tr>
155
<tr><td class="mdescLeft"> </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="#f0c118eea5e64eabf911558d915af8be"></a><br></td></tr>
156
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#b1c3c7516af21ecb6a2db4db6cb8012b">wait_is_target_available</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& target)</td></tr>
158
<tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if a clipboard supports pasting data of a given type. <a href="#b1c3c7516af21ecb6a2db4db6cb8012b"></a><br></td></tr>
159
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#168e8bd1b2d97e58ed2ad465dc2f1bf8">wait_for_targets</a> () const </td></tr>
161
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a list of targets that are present on the clipboard. <a href="#168e8bd1b2d97e58ed2ad465dc2f1bf8"></a><br></td></tr>
162
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#dc50aa1d428322a50d307fc6c0d23dc9">wait_for_uris</a> () const </td></tr>
164
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as URIs. <a href="#dc50aa1d428322a50d307fc6c0d23dc9"></a><br></td></tr>
165
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#89ddaa80ac9aa1664aff952d4f25630f">set_can_store</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">ArrayHandle_TargetEntry</a>& targets)</td></tr>
167
<tr><td class="mdescLeft"> </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#47f0293ba7f80821537797537d5b6408" title="Stores the current clipboard data somewhere so that it will stay around after the...">store()</a> is called. <a href="#89ddaa80ac9aa1664aff952d4f25630f"></a><br></td></tr>
168
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#5f2fc04281ab4e2370098bfeb10108ac">set_can_store</a> ()</td></tr>
170
<tr><td class="mdescLeft"> </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#47f0293ba7f80821537797537d5b6408" title="Stores the current clipboard data somewhere so that it will stay around after the...">store()</a> is called. <a href="#5f2fc04281ab4e2370098bfeb10108ac"></a><br></td></tr>
171
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#47f0293ba7f80821537797537d5b6408">store</a> ()</td></tr>
173
<tr><td class="mdescLeft"> </td><td class="mdescRight">Stores the current clipboard data somewhere so that it will stay around after the application has quit. <a href="#47f0293ba7f80821537797537d5b6408"></a><br></td></tr>
174
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void, <br class="typebreak">
175
GdkEventOwnerChange* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#3d19cb78841fd7e73fdddca0daeac22b">signal_owner_change</a> ()</td></tr>
177
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
178
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Clipboard.html">Clipboard</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#163dde254aec1314c6aee6bbdb47fefe">get</a> (GdkAtom selection=GDK_SELECTION_CLIPBOARD)</td></tr>
180
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: the appropriate clipboard object. <a href="#163dde254aec1314c6aee6bbdb47fefe"></a><br></td></tr>
181
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Clipboard.html">Clipboard</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#880ad980703636e3aed1f25c066ebbc9">get_for_display</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> >& display, GdkAtom selection=GDK_SELECTION_CLIPBOARD)</td></tr>
183
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: the appropriate clipboard object. <a href="#880ad980703636e3aed1f25c066ebbc9"></a><br></td></tr>
184
<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
185
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
186
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Clipboard.html">Gtk::Clipboard</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#d2c721a5e6f7cee3edc204c496a66044">wrap</a> (GtkClipboard* object, bool take_copy=false)</td></tr>
188
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#d2c721a5e6f7cee3edc204c496a66044"></a><br></td></tr>
40
<div class="center"><img src="classGtk_1_1Clipboard__coll__graph.png" border="0" usemap="#Gtk_1_1Clipboard_coll__map" alt="Collaboration graph"/></div>
41
<map name="Gtk_1_1Clipboard_coll__map" id="Gtk_1_1Clipboard_coll__map">
42
<area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,155,111,181"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,80,125,107"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,32"/></map>
43
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
45
<p><a href="classGtk_1_1Clipboard-members.html">List of all members.</a></p>
46
<table border="0" cellpadding="0" cellspacing="0">
47
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
48
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak"/>
49
<a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&, guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a231514c83a1a1d1b14aaee247e522a1f">SlotGet</a></td></tr>
50
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_get(Gtk::SelectionData& selection_data, guint info);. <a href="#a231514c83a1a1d1b14aaee247e522a1f"></a><br/></td></tr>
51
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a325cb088c615bec5f8d143b44d4741ce">SlotClear</a></td></tr>
52
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_clear();. <a href="#a325cb088c615bec5f8d143b44d4741ce"></a><br/></td></tr>
53
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak"/>
54
const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a424180e2d14d2bb2f096be10ca2f7059">SlotReceived</a></td></tr>
55
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_received(const SelectionData& selection_data);. <a href="#a424180e2d14d2bb2f096be10ca2f7059"></a><br/></td></tr>
56
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak"/>
57
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a8878452bd75d07a5dc2f239ff67e5d9e">SlotTextReceived</a></td></tr>
58
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_text_received(const Glib::ustring& text);. <a href="#a8878452bd75d07a5dc2f239ff67e5d9e"></a><br/></td></tr>
59
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak"/>
60
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &, const <br class="typebreak"/>
61
<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a39efb49b4cf08d2f08f62aebf368fa32">SlotRichTextReceived</a></td></tr>
62
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_rich_text_received(const Glib::ustring& format, const std::string& text);. <a href="#a39efb49b4cf08d2f08f62aebf368fa32"></a><br/></td></tr>
63
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak"/>
64
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a7ec97f4e16280484d0075885c2ca317b">SlotUrisReceived</a></td></tr>
65
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_uris_received(const Glib::StringArrayHandle& uris);. <a href="#a7ec97f4e16280484d0075885c2ca317b"></a><br/></td></tr>
66
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak"/>
67
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
68
< <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> >& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a2e92912fa27405ef4efafc1d7fe19fe3">SlotImageReceived</a></td></tr>
69
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_image_received(const Glib::RefPtr<Gdk::Pixbuf>& text);. <a href="#a2e92912fa27405ef4efafc1d7fe19fe3"></a><br/></td></tr>
70
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void, <br class="typebreak"/>
71
const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#ad63a6dd13efe8bce4c824c5fb2bbec9f">SlotTargetsReceived</a></td></tr>
72
<tr><td class="mdescLeft"> </td><td class="mdescRight">For instance: void on_targetsreceived(const Glib::StringArrayHandle& targets);. <a href="#ad63a6dd13efe8bce4c824c5fb2bbec9f"></a><br/></td></tr>
73
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
74
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a4753c62ad3aea992476feaf84574ca05">~Clipboard</a> ()</td></tr>
75
<tr><td class="memItemLeft" align="right" valign="top">GtkClipboard* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#aeb465195991ea12f2ee81733a1fa03b0">gobj</a> ()</td></tr>
76
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aeb465195991ea12f2ee81733a1fa03b0"></a><br/></td></tr>
77
<tr><td class="memItemLeft" align="right" valign="top">const GtkClipboard* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a307fb72e6fd57d378a981ef0604e4568">gobj</a> () const </td></tr>
78
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a307fb72e6fd57d378a981ef0604e4568"></a><br/></td></tr>
79
<tr><td class="memItemLeft" align="right" valign="top">GtkClipboard* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a487b4d31a656a355286187b216d643cd">gobj_copy</a> ()</td></tr>
80
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a487b4d31a656a355286187b216d643cd"></a><br/></td></tr>
81
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a696d084d1ef3c7cbe298b4e78e8ea167">get_display</a> ()</td></tr>
82
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>clipboard</em>. <a href="#a696d084d1ef3c7cbe298b4e78e8ea167"></a><br/></td></tr>
83
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#ac9a759c0daf584d22c8af18c24031f0b">get_display</a> () const </td></tr>
84
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>clipboard</em>. <a href="#ac9a759c0daf584d22c8af18c24031f0b"></a><br/></td></tr>
85
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a6eed4302482ee376daf47bf5fcc42605">set</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">ArrayHandle_TargetEntry</a>& targets, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotGet</a>& slot_get, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotClear</a>& slot_clear)</td></tr>
86
<tr><td class="mdescLeft"> </td><td class="mdescRight">Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested. <a href="#a6eed4302482ee376daf47bf5fcc42605"></a><br/></td></tr>
87
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a77714f58487355b0f34ad154b1a99138">get_owner</a> ()</td></tr>
88
<tr><td class="mdescLeft"> </td><td class="mdescRight">If the clipboard contents callbacks were set with set_with_owner(), and the set_with_data() or <a class="el" href="classGtk_1_1Clipboard.html#abf8118f4098f9565f1d85d8d88409a1c" title="Clears the contents of the clipboard.">clear()</a> has not subsequently called, returns the owner set by set_with_owner(). <a href="#a77714f58487355b0f34ad154b1a99138"></a><br/></td></tr>
89
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a6c68c91213f935715c5c9b1a612d98f6">get_owner</a> () const </td></tr>
90
<tr><td class="mdescLeft"> </td><td class="mdescRight">If the clipboard contents callbacks were set with set_with_owner(), and the set_with_data() or <a class="el" href="classGtk_1_1Clipboard.html#abf8118f4098f9565f1d85d8d88409a1c" title="Clears the contents of the clipboard.">clear()</a> has not subsequently called, returns the owner set by set_with_owner(). <a href="#a6c68c91213f935715c5c9b1a612d98f6"></a><br/></td></tr>
91
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#abf8118f4098f9565f1d85d8d88409a1c">clear</a> ()</td></tr>
92
<tr><td class="mdescLeft"> </td><td class="mdescRight">Clears the contents of the clipboard. <a href="#abf8118f4098f9565f1d85d8d88409a1c"></a><br/></td></tr>
93
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#aaeee306b25ea1e0206e3ffb30af93c32">set_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr>
94
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the contents of the clipboard to the given UTF-8 string. <a href="#aaeee306b25ea1e0206e3ffb30af93c32"></a><br/></td></tr>
95
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a49841702b88e06547f48b7f0b9c1fe5d">set_image</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> >& pixbuf)</td></tr>
96
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the contents of the clipboard to the given <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. <a href="#a49841702b88e06547f48b7f0b9c1fe5d"></a><br/></td></tr>
97
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a7b89b96071d9d6019eb35203538ac6a6">request_contents</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& target, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotReceived</a>& slot)</td></tr>
98
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of clipboard as the given target. <a href="#a7b89b96071d9d6019eb35203538ac6a6"></a><br/></td></tr>
99
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a922ca2e0595b10ec7bcad59632b00f34">request_text</a> (const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotTextReceived</a>& slot)</td></tr>
100
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as text. <a href="#a922ca2e0595b10ec7bcad59632b00f34"></a><br/></td></tr>
101
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a2fe9763417d17a586bcae713567800d8">request_rich_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> >& buffer, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotRichTextReceived</a>& slot)</td></tr>
102
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as rich text. <a href="#a2fe9763417d17a586bcae713567800d8"></a><br/></td></tr>
103
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a482e597790498098d3d42751267418bc">request_uris</a> (const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotUrisReceived</a>& slot)</td></tr>
104
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as URIs. <a href="#a482e597790498098d3d42751267418bc"></a><br/></td></tr>
105
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#acf9daec8f085ea57218a0ced6bc9e949">request_image</a> (const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotImageReceived</a>& slot)</td></tr>
106
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as image. <a href="#acf9daec8f085ea57218a0ced6bc9e949"></a><br/></td></tr>
107
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#ae3be3a0d85849117a284f8a1cbfdb98e">request_targets</a> (const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotTargetsReceived</a>& slot)</td></tr>
108
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as list of supported targets. <a href="#ae3be3a0d85849117a284f8a1cbfdb98e"></a><br/></td></tr>
109
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a2110b8de6c2e61a1cf7d71cc02ef9e47">wait_for_contents</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& target) const </td></tr>
110
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard using the given target. <a href="#a2110b8de6c2e61a1cf7d71cc02ef9e47"></a><br/></td></tr>
111
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#aeac490f4cbb988fe5b6e5eefb33c2201">wait_for_text</a> () const </td></tr>
112
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as text and converts the result to UTF-8 if necessary. <a href="#aeac490f4cbb988fe5b6e5eefb33c2201"></a><br/></td></tr>
113
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a0f02a96840cfe953d1ef30d64c8e1409">wait_for_rich_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> >& buffer, <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& format)</td></tr>
114
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#acd3d40ebf095dc8ec7e0ba786ea99b0d">wait_for_image</a> () const </td></tr>
115
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as image and converts the result to a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. <a href="#acd3d40ebf095dc8ec7e0ba786ea99b0d"></a><br/></td></tr>
116
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#ac30a1145696f41b5feccbbe0346702fc">wait_is_text_available</a> () const </td></tr>
117
<tr><td class="mdescLeft"> </td><td class="mdescRight">Test to see if there is text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported text targets. <a href="#ac30a1145696f41b5feccbbe0346702fc"></a><br/></td></tr>
118
<tr><td class="memItemLeft" align="right" valign="top">bool </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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> >& buffer) const </td></tr>
119
<tr><td class="mdescLeft"> </td><td class="mdescRight">Test to see if there is rich text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported rich text targets. <a href="#a05294bafc2322b3688dcc85523ae37db"></a><br/></td></tr>
120
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#afcc67f894892de4918e9f8e7fb6813e7">wait_is_image_available</a> () const </td></tr>
121
<tr><td class="mdescLeft"> </td><td class="mdescRight">Test to see if there is an image available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported image targets. <a href="#afcc67f894892de4918e9f8e7fb6813e7"></a><br/></td></tr>
122
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#af0c118eea5e64eabf911558d915af8be">wait_is_uris_available</a> () const </td></tr>
123
<tr><td class="mdescLeft"> </td><td class="mdescRight">Test to see if there is a list of URIs available to be pasted This is done by requesting the TARGETS atom and checking if it contains the URI targets. <a href="#af0c118eea5e64eabf911558d915af8be"></a><br/></td></tr>
124
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#ab1c3c7516af21ecb6a2db4db6cb8012b">wait_is_target_available</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& target)</td></tr>
125
<tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if a clipboard supports pasting data of a given type. <a href="#ab1c3c7516af21ecb6a2db4db6cb8012b"></a><br/></td></tr>
126
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a168e8bd1b2d97e58ed2ad465dc2f1bf8">wait_for_targets</a> () const </td></tr>
127
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a list of targets that are present on the clipboard. <a href="#a168e8bd1b2d97e58ed2ad465dc2f1bf8"></a><br/></td></tr>
128
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#adc50aa1d428322a50d307fc6c0d23dc9">wait_for_uris</a> () const </td></tr>
129
<tr><td class="mdescLeft"> </td><td class="mdescRight">Requests the contents of the clipboard as URIs. <a href="#adc50aa1d428322a50d307fc6c0d23dc9"></a><br/></td></tr>
130
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a89ddaa80ac9aa1664aff952d4f25630f">set_can_store</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">ArrayHandle_TargetEntry</a>& targets)</td></tr>
131
<tr><td class="mdescLeft"> </td><td class="mdescRight">Hints that the clipboard data should be stored somewhere when the application exits or when <a class="el" href="classGtk_1_1Clipboard.html#a47f0293ba7f80821537797537d5b6408" title="Stores the current clipboard data somewhere so that it will stay around after the...">store()</a> is called. <a href="#a89ddaa80ac9aa1664aff952d4f25630f"></a><br/></td></tr>
132
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a5f2fc04281ab4e2370098bfeb10108ac">set_can_store</a> ()</td></tr>
133
<tr><td class="mdescLeft"> </td><td class="mdescRight">Hints that all forms of clipboard data should be stored somewhere when the application exits or when <a class="el" href="classGtk_1_1Clipboard.html#a47f0293ba7f80821537797537d5b6408" title="Stores the current clipboard data somewhere so that it will stay around after the...">store()</a> is called. <a href="#a5f2fc04281ab4e2370098bfeb10108ac"></a><br/></td></tr>
134
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a47f0293ba7f80821537797537d5b6408">store</a> ()</td></tr>
135
<tr><td class="mdescLeft"> </td><td class="mdescRight">Stores the current clipboard data somewhere so that it will stay around after the application has quit. <a href="#a47f0293ba7f80821537797537d5b6408"></a><br/></td></tr>
136
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void, <br class="typebreak"/>
137
GdkEventOwnerChange* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a3d19cb78841fd7e73fdddca0daeac22b">signal_owner_change</a> ()</td></tr>
138
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
139
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Clipboard.html">Clipboard</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a163dde254aec1314c6aee6bbdb47fefe">get</a> (GdkAtom selection=GDK_SELECTION_CLIPBOARD)</td></tr>
140
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: the appropriate clipboard object. <a href="#a163dde254aec1314c6aee6bbdb47fefe"></a><br/></td></tr>
141
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Clipboard.html">Clipboard</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Clipboard.html#a880ad980703636e3aed1f25c066ebbc9">get_for_display</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> >& display, GdkAtom selection=GDK_SELECTION_CLIPBOARD)</td></tr>
142
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: the appropriate clipboard object. <a href="#a880ad980703636e3aed1f25c066ebbc9"></a><br/></td></tr>
143
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
144
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
146
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Clipboard.html">Gtk::Clipboard</a> > </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>
147
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ad2c721a5e6f7cee3edc204c496a66044"></a><br/></td></tr>
190
<hr><a name="_details"></a><h2>Detailed Description</h2>
191
The <a class="el" href="classGtk_1_1Clipboard.html" title="The Clipboard object represents a clipboard of data shared between different processes...">Clipboard</a> object represents a clipboard of data shared between different processes or between different widgets in the same process. <p>
192
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>
193
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#aeee306b25ea1e0206e3ffb30af93c32" 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#6eed4302482ee376daf47bf5fcc42605" title="Virtually sets the contents of the specified clipboard by providing a list of supported...">set()</a>.) Providing a callback also avoids having to make copies of the data when it is not needed.<p>
194
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#7b89b96071d9d6019eb35203538ac6a6" 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#2110b8de6c2e61a1cf7d71cc02ef9e47" 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>
195
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#922ca2e0595b10ec7bcad59632b00f34" title="Requests the contents of the clipboard as text.">request_text()</a> and <a class="el" href="classGtk_1_1Clipboard.html#eac490f4cbb988fe5b6e5eefb33c2201" title="Requests the contents of the clipboard as text and converts the result to UTF-8 if...">wait_for_text()</a>. These functions take care of determining which formats are advertised by the clipboard provider, asking for the clipboard in the best available format and converting the results into the UTF-8 encoding. <hr><h2>Member Typedef Documentation</h2>
196
<a class="anchor" name="325cb088c615bec5f8d143b44d4741ce"></a><!-- doxytag: member="Gtk::Clipboard::SlotClear" ref="325cb088c615bec5f8d143b44d4741ce" args="" -->
197
<div class="memitem">
198
<div class="memproto">
199
<table class="memname">
201
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotClear</a> </td>
208
For instance: void on_clear();. <p>
212
<a class="anchor" name="231514c83a1a1d1b14aaee247e522a1f"></a><!-- doxytag: member="Gtk::Clipboard::SlotGet" ref="231514c83a1a1d1b14aaee247e522a1f" args="" -->
213
<div class="memitem">
214
<div class="memproto">
215
<table class="memname">
217
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&, guint> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotGet</a> </td>
224
For instance: void on_get(Gtk::SelectionData& selection_data, guint info);. <p>
228
<a class="anchor" name="2e92912fa27405ef4efafc1d7fe19fe3"></a><!-- doxytag: member="Gtk::Clipboard::SlotImageReceived" ref="2e92912fa27405ef4efafc1d7fe19fe3" args="" -->
229
<div class="memitem">
230
<div class="memproto">
231
<table class="memname">
233
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotImageReceived</a> </td>
240
For instance: void on_image_received(const Glib::RefPtr<Gdk::Pixbuf>& text);. <p>
244
<a class="anchor" name="424180e2d14d2bb2f096be10ca2f7059"></a><!-- doxytag: member="Gtk::Clipboard::SlotReceived" ref="424180e2d14d2bb2f096be10ca2f7059" args="" -->
245
<div class="memitem">
246
<div class="memproto">
247
<table class="memname">
249
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotReceived</a> </td>
256
For instance: void on_received(const SelectionData& selection_data);. <p>
260
<a class="anchor" name="39efb49b4cf08d2f08f62aebf368fa32"></a><!-- doxytag: member="Gtk::Clipboard::SlotRichTextReceived" ref="39efb49b4cf08d2f08f62aebf368fa32" args="" -->
261
<div class="memitem">
262
<div class="memproto">
263
<table class="memname">
265
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&, const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotRichTextReceived</a> </td>
272
For instance: void on_rich_text_received(const Glib::ustring& format, const std::string& text);. <p>
276
<a class="anchor" name="d63a6dd13efe8bce4c824c5fb2bbec9f"></a><!-- doxytag: member="Gtk::Clipboard::SlotTargetsReceived" ref="d63a6dd13efe8bce4c824c5fb2bbec9f" args="" -->
277
<div class="memitem">
278
<div class="memproto">
279
<table class="memname">
281
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotTargetsReceived</a> </td>
288
For instance: void on_targetsreceived(const Glib::StringArrayHandle& targets);. <p>
292
<a class="anchor" name="8878452bd75d07a5dc2f239ff67e5d9e"></a><!-- doxytag: member="Gtk::Clipboard::SlotTextReceived" ref="8878452bd75d07a5dc2f239ff67e5d9e" args="" -->
293
<div class="memitem">
294
<div class="memproto">
295
<table class="memname">
297
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotTextReceived</a> </td>
304
For instance: void on_text_received(const Glib::ustring& text);. <p>
308
<a class="anchor" name="7ec97f4e16280484d0075885c2ca317b"></a><!-- doxytag: member="Gtk::Clipboard::SlotUrisReceived" ref="7ec97f4e16280484d0075885c2ca317b" args="" -->
309
<div class="memitem">
310
<div class="memproto">
311
<table class="memname">
313
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotUrisReceived</a> </td>
320
For instance: void on_uris_received(const Glib::StringArrayHandle& uris);. <p>
324
<hr><h2>Constructor & Destructor Documentation</h2>
325
<a class="anchor" name="4753c62ad3aea992476feaf84574ca05"></a><!-- doxytag: member="Gtk::Clipboard::~Clipboard" ref="4753c62ad3aea992476feaf84574ca05" args="()" -->
149
<hr/><a name="_details"></a><h2>Detailed Description</h2>
150
<p>The <a class="el" href="classGtk_1_1Clipboard.html" title="The Clipboard object represents a clipboard of data shared between different processes...">Clipboard</a> object represents a clipboard of data shared between different processes or between different widgets in the same process. </p>
151
<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>
152
<p>To support having a number of different formats on the clipboard at the same time, the clipboard mechanism allows providing callbacks instead of the actual data. When you set the contents of the clipboard, you can either supply the data directly (via functions like <a class="el" href="classGtk_1_1Clipboard.html#aaeee306b25ea1e0206e3ffb30af93c32" title="Sets the contents of the clipboard to the given UTF-8 string.">set_text()</a>), or you can supply a callback to be called at a later time when the data is needed (via <a class="el" href="classGtk_1_1Clipboard.html#a6eed4302482ee376daf47bf5fcc42605" title="Virtually sets the contents of the specified clipboard by providing a list of supported...">set()</a>.) Providing a callback also avoids having to make copies of the data when it is not needed.</p>
153
<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>
154
<p>Along with the functions to get the clipboard contents as an arbitrary data chunk, there are also functions to retrieve it as text, <a class="el" href="classGtk_1_1Clipboard.html#a922ca2e0595b10ec7bcad59632b00f34" title="Requests the contents of the clipboard as text.">request_text()</a> and <a class="el" href="classGtk_1_1Clipboard.html#aeac490f4cbb988fe5b6e5eefb33c2201" title="Requests the contents of the clipboard as text and converts the result to UTF-8 if...">wait_for_text()</a>. These functions take care of determining which formats are advertised by the clipboard provider, asking for the clipboard in the best available format and converting the results into the UTF-8 encoding. </p>
155
<hr/><h2>Member Typedef Documentation</h2>
156
<a class="anchor" id="a325cb088c615bec5f8d143b44d4741ce"></a><!-- doxytag: member="Gtk::Clipboard::SlotClear" ref="a325cb088c615bec5f8d143b44d4741ce" args="" -->
157
<div class="memitem">
158
<div class="memproto">
159
<table class="memname">
161
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotClear</a></td>
167
<p>For instance: void on_clear();. </p>
171
<a class="anchor" id="a231514c83a1a1d1b14aaee247e522a1f"></a><!-- doxytag: member="Gtk::Clipboard::SlotGet" ref="a231514c83a1a1d1b14aaee247e522a1f" args="" -->
172
<div class="memitem">
173
<div class="memproto">
174
<table class="memname">
176
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&, guint> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotGet</a></td>
182
<p>For instance: void on_get(Gtk::SelectionData& selection_data, guint info);. </p>
186
<a class="anchor" id="a2e92912fa27405ef4efafc1d7fe19fe3"></a><!-- doxytag: member="Gtk::Clipboard::SlotImageReceived" ref="a2e92912fa27405ef4efafc1d7fe19fe3" args="" -->
187
<div class="memitem">
188
<div class="memproto">
189
<table class="memname">
191
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotImageReceived</a></td>
197
<p>For instance: void on_image_received(const Glib::RefPtr<Gdk::Pixbuf>& text);. </p>
201
<a class="anchor" id="a424180e2d14d2bb2f096be10ca2f7059"></a><!-- doxytag: member="Gtk::Clipboard::SlotReceived" ref="a424180e2d14d2bb2f096be10ca2f7059" args="" -->
202
<div class="memitem">
203
<div class="memproto">
204
<table class="memname">
206
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotReceived</a></td>
212
<p>For instance: void on_received(const SelectionData& selection_data);. </p>
216
<a class="anchor" id="a39efb49b4cf08d2f08f62aebf368fa32"></a><!-- doxytag: member="Gtk::Clipboard::SlotRichTextReceived" ref="a39efb49b4cf08d2f08f62aebf368fa32" args="" -->
217
<div class="memitem">
218
<div class="memproto">
219
<table class="memname">
221
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&, const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotRichTextReceived</a></td>
227
<p>For instance: void on_rich_text_received(const Glib::ustring& format, const std::string& text);. </p>
231
<a class="anchor" id="ad63a6dd13efe8bce4c824c5fb2bbec9f"></a><!-- doxytag: member="Gtk::Clipboard::SlotTargetsReceived" ref="ad63a6dd13efe8bce4c824c5fb2bbec9f" args="" -->
232
<div class="memitem">
233
<div class="memproto">
234
<table class="memname">
236
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotTargetsReceived</a></td>
242
<p>For instance: void on_targetsreceived(const Glib::StringArrayHandle& targets);. </p>
246
<a class="anchor" id="a8878452bd75d07a5dc2f239ff67e5d9e"></a><!-- doxytag: member="Gtk::Clipboard::SlotTextReceived" ref="a8878452bd75d07a5dc2f239ff67e5d9e" args="" -->
247
<div class="memitem">
248
<div class="memproto">
249
<table class="memname">
251
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotTextReceived</a></td>
257
<p>For instance: void on_text_received(const Glib::ustring& text);. </p>
261
<a class="anchor" id="a7ec97f4e16280484d0075885c2ca317b"></a><!-- doxytag: member="Gtk::Clipboard::SlotUrisReceived" ref="a7ec97f4e16280484d0075885c2ca317b" args="" -->
262
<div class="memitem">
263
<div class="memproto">
264
<table class="memname">
266
<td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><void, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&> <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::Clipboard::SlotUrisReceived</a></td>
272
<p>For instance: void on_uris_received(const Glib::StringArrayHandle& uris);. </p>
276
<hr/><h2>Constructor & Destructor Documentation</h2>
277
<a class="anchor" id="a4753c62ad3aea992476feaf84574ca05"></a><!-- doxytag: member="Gtk::Clipboard::~Clipboard" ref="a4753c62ad3aea992476feaf84574ca05" args="()" -->
326
278
<div class="memitem">
327
279
<div class="memproto">
328
280
<table class="memname">
330
282
<td class="memname">virtual Gtk::Clipboard::~Clipboard </td>
332
<td class="paramname"> </td>
284
<td class="paramname"></td>
333
285
<td> ) </td>
334
286
<td><code> [virtual]</code></td>