Imported Upstream version 2.8.0
This commit is contained in:
@ -44,26 +44,26 @@
|
||||
<div class="refsynopsisdiv">
|
||||
<a name="GimpOffsetArea.synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis"> <a class="link" href="GimpOffsetArea.html#GimpOffsetArea-struct" title="GimpOffsetArea">GimpOffsetArea</a>;
|
||||
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GimpOffsetArea.html#gimp-offset-area-new" title="gimp_offset_area_new ()">gimp_offset_area_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> orig_width</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> orig_height</code></em>);
|
||||
<span class="returnvalue">GtkWidget</span> * <a class="link" href="GimpOffsetArea.html#gimp-offset-area-new" title="gimp_offset_area_new ()">gimp_offset_area_new</a> (<em class="parameter"><code><span class="type">gint</span> orig_width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> orig_height</code></em>);
|
||||
<span class="returnvalue">void</span> <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-size" title="gimp_offset_area_set_size ()">gimp_offset_area_set_size</a> (<em class="parameter"><code><a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> *offset_area</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);
|
||||
<span class="returnvalue">void</span> <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-offsets" title="gimp_offset_area_set_offsets ()">gimp_offset_area_set_offsets</a> (<em class="parameter"><code><a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> *offset_area</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_y</code></em>);
|
||||
<em class="parameter"><code><span class="type">gint</span> offset_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> offset_y</code></em>);
|
||||
<span class="returnvalue">void</span> <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-pixbuf" title="gimp_offset_area_set_pixbuf ()">gimp_offset_area_set_pixbuf</a> (<em class="parameter"><code><a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> *offset_area</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
|
||||
<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpOffsetArea.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
||||
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
+----<a href="http://library.gnome.org/devel/gtk3/GtkObject.html">GtkObject</a>
|
||||
+----<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html">GtkWidget</a>
|
||||
+----<a href="http://library.gnome.org/devel/gtk3/GtkDrawingArea.html">GtkDrawingArea</a>
|
||||
GObject
|
||||
+----GInitiallyUnowned
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkDrawingArea
|
||||
+----GimpOffsetArea
|
||||
</pre>
|
||||
</div>
|
||||
@ -71,17 +71,18 @@
|
||||
<a name="GimpOffsetArea.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpOffsetArea implements
|
||||
AtkImplementorIface and <a href="http://library.gnome.org/devel/gtk3/GtkBuildable.html">GtkBuildable</a>.</p>
|
||||
AtkImplementorIface and GtkBuildable.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpOffsetArea.signals"></a><h2>Signals</h2>
|
||||
<pre class="synopsis">
|
||||
"<a class="link" href="GimpOffsetArea.html#GimpOffsetArea-offsets-changed" title='The "offsets-changed" signal'>offsets-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
|
||||
"<a class="link" href="GimpOffsetArea.html#GimpOffsetArea-offsets-changed" title='The "offsets-changed" signal'>offsets-changed</a>" : <code class="literal">Run First</code>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpOffsetArea.description"></a><h2>Description</h2>
|
||||
<p>
|
||||
Widget to control image offsets.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -95,8 +96,8 @@ GimpOffsetArea implements
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-offset-area-new"></a><h3>gimp_offset_area_new ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gimp_offset_area_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> orig_width</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> orig_height</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * gimp_offset_area_new (<em class="parameter"><code><span class="type">gint</span> orig_width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> orig_height</code></em>);</pre>
|
||||
<p>
|
||||
Creates a new <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> widget. A <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> can be used
|
||||
when resizing an image or a drawable to allow the user to interactively
|
||||
@ -124,8 +125,8 @@ specify the new offsets.
|
||||
<div class="refsect2">
|
||||
<a name="gimp-offset-area-set-size"></a><h3>gimp_offset_area_set_size ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span> gimp_offset_area_set_size (<em class="parameter"><code><a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> *offset_area</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
||||
<p>
|
||||
Sets the size of the image/drawable displayed by the <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
|
||||
If the offsets change as a result of this change, the "offsets-changed"
|
||||
@ -153,8 +154,8 @@ signal is emitted.
|
||||
<div class="refsect2">
|
||||
<a name="gimp-offset-area-set-offsets"></a><h3>gimp_offset_area_set_offsets ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span> gimp_offset_area_set_offsets (<em class="parameter"><code><a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> *offset_area</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_y</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> offset_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> offset_y</code></em>);</pre>
|
||||
<p>
|
||||
Sets the offsets of the image/drawable displayed by the <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
|
||||
It does not emit the "offsets-changed" signal.
|
||||
@ -181,7 +182,7 @@ It does not emit the "offsets-changed" signal.
|
||||
<div class="refsect2">
|
||||
<a name="gimp-offset-area-set-pixbuf"></a><h3>gimp_offset_area_set_pixbuf ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span> gimp_offset_area_set_pixbuf (<em class="parameter"><code><a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> *offset_area</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);</pre>
|
||||
<p>
|
||||
Sets the pixbuf which represents the original image/drawable which
|
||||
is being offset.
|
||||
@ -195,7 +196,7 @@ is being offset.
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
|
||||
<td>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</td>
|
||||
<td>a <span class="type">GdkPixbuf</span>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -207,9 +208,9 @@ is being offset.
|
||||
<div class="refsect2">
|
||||
<a name="GimpOffsetArea-offsets-changed"></a><h3>The <code class="literal">"offsets-changed"</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> *gimpoffsetarea,
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> arg1,
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> arg2,
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
|
||||
<span class="type">gint</span> arg1,
|
||||
<span class="type">gint</span> arg2,
|
||||
<span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre>
|
||||
<p>
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
|
||||
Reference in New Issue
Block a user