New upstream version 3.24.29
This commit is contained in:
@ -251,7 +251,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
<span class="returnvalue">GdkPixbuf</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Clipboards.html#gtk-clipboard-wait-for-image" title="gtk_clipboard_wait_for_image ()">gtk_clipboard_wait_for_image</a> <span class="c_punctuation">()</span>
|
||||
@ -533,7 +533,7 @@ supplied to
|
||||
<a name="GtkClipboardImageReceivedFunc"></a><h3>GtkClipboardImageReceivedFunc ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
<span class="c_punctuation">(</span>*GtkClipboardImageReceivedFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> *clipboard</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
||||
<p>A function to be called when the results of <a class="link" href="gtk3-Clipboards.html#gtk-clipboard-request-image" title="gtk_clipboard_request_image ()"><code class="function">gtk_clipboard_request_image()</code></a>
|
||||
are received, or when the request fails.</p>
|
||||
@ -1205,8 +1205,8 @@ the length will be determined with <code class="function">strlen()</code>.</p></
|
||||
<a name="gtk-clipboard-set-image"></a><h3>gtk_clipboard_set_image ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_clipboard_set_image (<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> *clipboard</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
||||
<p>Sets the contents of the clipboard to the given <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>.
|
||||
<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);</pre>
|
||||
<p>Sets the contents of the clipboard to the given <span class="type">GdkPixbuf</span>.
|
||||
GTK+ will take responsibility for responding for requests
|
||||
for the image, and for converting the image into the
|
||||
requested format.</p>
|
||||
@ -1226,7 +1226,7 @@ requested format.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pixbuf</p></td>
|
||||
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> </p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GdkPixbuf</span> </p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1338,13 +1338,13 @@ gtk_clipboard_request_image (<em class="parameter"><code><a class="link" href="g
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboardImageReceivedFunc" title="GtkClipboardImageReceivedFunc ()"><span class="type">GtkClipboardImageReceivedFunc</span></a> callback</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
||||
<p>Requests the contents of the clipboard as image. When the image is
|
||||
later received, it will be converted to a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>, and
|
||||
later received, it will be converted to a <span class="type">GdkPixbuf</span>, and
|
||||
<em class="parameter"><code>callback</code></em>
|
||||
will be called.</p>
|
||||
<p>The <em class="parameter"><code>pixbuf</code></em>
|
||||
parameter to <em class="parameter"><code>callback</code></em>
|
||||
will contain the resulting
|
||||
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> if the request succeeded, or <code class="literal">NULL</code> if it failed. This
|
||||
<span class="type">GdkPixbuf</span> if the request succeeded, or <code class="literal">NULL</code> if it failed. This
|
||||
could happen for various reasons, in particular if the clipboard
|
||||
was empty or if the contents of the clipboard could not be
|
||||
converted into an image.</p>
|
||||
@ -1607,10 +1607,10 @@ clipboard could not be converted into text form.). </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-clipboard-wait-for-image"></a><h3>gtk_clipboard_wait_for_image ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
|
||||
gtk_clipboard_wait_for_image (<em class="parameter"><code><a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="type">GtkClipboard</span></a> *clipboard</code></em>);</pre>
|
||||
<p>Requests the contents of the clipboard as image and converts
|
||||
the result to a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>. This function waits for
|
||||
the result to a <span class="type">GdkPixbuf</span>. This function waits for
|
||||
the data to be received using the main loop, so events,
|
||||
timeouts, etc, may be dispatched during the wait.</p>
|
||||
<div class="refsect3">
|
||||
@ -1630,7 +1630,7 @@ timeouts, etc, may be dispatched during the wait.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-clipboard-wait-for-image.returns"></a><h4>Returns</h4>
|
||||
<p>a newly-allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>
|
||||
<p>a newly-allocated <span class="type">GdkPixbuf</span>
|
||||
object which must be disposed with <code class="function">g_object_unref()</code>, or
|
||||
<code class="literal">NULL</code> if retrieving the selection data failed. (This could
|
||||
happen for various reasons, in particular if the clipboard
|
||||
|
||||
Reference in New Issue
Block a user