Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GladeClipboard: Glade User Interface Designer Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Glade User Interface Designer Reference Manual">
<link rel="up" href="core.html" title="Part II. Glade Core">
<link rel="prev" href="gladeui-glade-command.html" title="GladeCommand">
<link rel="next" href="GladeBaseEditor.html" title="GladeBaseEditor">
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GladeClipboard.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GladeClipboard.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GladeClipboard.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="core.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gladeui-glade-command.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GladeBaseEditor.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GladeClipboard"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GladeClipboard.top_of_page"></a>GladeClipboard</span></h2>
<p>GladeClipboard — A list of <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a> objects not in any <a class="link" href="GladeProject.html" title="GladeProject"><span class="type">GladeProject</span></a>.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GladeClipboard.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GladeClipboard.html" title="GladeClipboard"><span class="returnvalue">GladeClipboard</span></a> *
</td>
<td class="function_name">
<a class="link" href="GladeClipboard.html#glade-clipboard-new" title="glade_clipboard_new ()">glade_clipboard_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GladeClipboard.html#glade-clipboard-add" title="glade_clipboard_add ()">glade_clipboard_add</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GladeClipboard.html#glade-clipboard-get-has-selection" title="glade_clipboard_get_has_selection ()">glade_clipboard_get_has_selection</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GladeClipboard.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody><tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GladeClipboard.html#GladeClipboard--has-selection" title="The “has-selection” property">has-selection</a></td>
<td class="property_flags">Read</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GladeClipboard.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GladeClipboard.html#GladeClipboard-struct" title="struct GladeClipboard">GladeClipboard</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GladeClipboard.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> GladeClipboard
</pre>
</div>
<div class="refsect1">
<a name="GladeClipboard.description"></a><h2>Description</h2>
<p>The <a class="link" href="GladeClipboard.html" title="GladeClipboard"><span class="type">GladeClipboard</span></a> is a singleton and is an accumulative shelf
of all cut or copied <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a> in the application. A <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>
can be cut from one <a class="link" href="GladeProject.html" title="GladeProject"><span class="type">GladeProject</span></a> and pasted to another.</p>
</div>
<div class="refsect1">
<a name="GladeClipboard.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="glade-clipboard-new"></a><h3>glade_clipboard_new ()</h3>
<pre class="programlisting"><a class="link" href="GladeClipboard.html" title="GladeClipboard"><span class="returnvalue">GladeClipboard</span></a> *
glade_clipboard_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="glade-clipboard-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GladeClipboard.html" title="GladeClipboard"><span class="type">GladeClipboard</span></a> object</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="glade-clipboard-add"></a><h3>glade_clipboard_add ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
glade_clipboard_add (<em class="parameter"><code><a class="link" href="GladeClipboard.html" title="GladeClipboard"><span class="type">GladeClipboard</span></a> *clipboard</code></em>,
                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *widgets</code></em>);</pre>
<p>Adds <em class="parameter"><code>widgets</code></em>
 to <em class="parameter"><code>clipboard</code></em>
.
This increases the reference count of each <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a> in <em class="parameter"><code>widgets</code></em>
.</p>
<div class="refsect3">
<a name="glade-clipboard-add.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clipboard</p></td>
<td class="parameter_description"><p>a <a class="link" href="GladeClipboard.html" title="GladeClipboard"><span class="type">GladeClipboard</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>widgets</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a href="GladeWidget.html#GladeWidget-struct"><span class="type">GladeWidgets</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="glade-clipboard-get-has-selection"></a><h3>glade_clipboard_get_has_selection ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
glade_clipboard_get_has_selection (<em class="parameter"><code><a class="link" href="GladeClipboard.html" title="GladeClipboard"><span class="type">GladeClipboard</span></a> *clipboard</code></em>);</pre>
<div class="refsect3">
<a name="glade-clipboard-get-has-selection.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>clipboard</p></td>
<td class="parameter_description"><p>a <a class="link" href="GladeClipboard.html" title="GladeClipboard"><span class="type">GladeClipboard</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="glade-clipboard-get-has-selection.returns"></a><h4>Returns</h4>
<p> TRUE if this clipboard has selected items to paste.</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GladeClipboard.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GladeClipboard-struct"></a><h3>struct GladeClipboard</h3>
<pre class="programlisting">struct GladeClipboard;</pre>
</div>
</div>
<div class="refsect1">
<a name="GladeClipboard.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GladeClipboard--has-selection"></a><h3>The <code class="literal">“has-selection”</code> property</h3>
<pre class="programlisting">  “has-selection”            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether clipboard has a selection of items to paste.</p>
<p>Flags: Read</p>
<p>Default value: FALSE</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>