Imported Upstream version 2.4.0~rc3
This commit is contained in:
@ -33,22 +33,22 @@
|
||||
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="GimpPageSelector.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
||||
</tr>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2586653" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2602319" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2632029" class="shortcut">Description</a>
|
||||
<a href="#id2637898" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#id2637907" class="shortcut">Object Hierarchy</a>
|
||||
<a href="#id2629437" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#id2637956" class="shortcut">Implemented Interfaces</a>
|
||||
<a href="#id2637846" class="shortcut">Implemented Interfaces</a>
|
||||
 | 
|
||||
<a href="#id2632004" class="shortcut">Signals</a></nobr></td></tr>
|
||||
<a href="#id2637874" class="shortcut">Signals</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="GimpOffsetArea"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2586653"></a><span class="refentrytitle">GimpOffsetArea</span>
|
||||
<a name="id2602319"></a><span class="refentrytitle">GimpOffsetArea</span>
|
||||
</h2>
|
||||
<p>GimpOffsetArea — Widget to control image offsets.</p>
|
||||
</td>
|
||||
@ -61,66 +61,98 @@
|
||||
|
||||
|
||||
<a class="link" href="GimpOffsetArea.html#GimpOffsetArea-struct">GimpOffsetArea</a>;
|
||||
GtkWidget* <a class="link" href="GimpOffsetArea.html#gimp-offset-area-new">gimp_offset_area_new</a> (gint orig_width,
|
||||
gint orig_height);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a class="link" href="GimpOffsetArea.html#gimp-offset-area-new">gimp_offset_area_new</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> orig_width,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> orig_height);
|
||||
void <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-size">gimp_offset_area_set_size</a> (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
|
||||
gint width,
|
||||
gint height);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> width,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> height);
|
||||
void <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-offsets">gimp_offset_area_set_offsets</a> (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
|
||||
gint offset_x,
|
||||
gint offset_y);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> offset_x,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> offset_y);
|
||||
void <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-pixbuf">gimp_offset_area_set_pixbuf</a> (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
|
||||
GdkPixbuf *pixbuf);
|
||||
<a
|
||||
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
|
||||
>GdkPixbuf</a> *pixbuf);
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2637907"></a><h2>Object Hierarchy</h2>
|
||||
<a name="id2629437"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
+----GInitiallyUnowned
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkDrawingArea
|
||||
<a
|
||||
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
|
||||
>GObject</a>
|
||||
+----<a
|
||||
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
|
||||
>GInitiallyUnowned</a>
|
||||
+----<a
|
||||
href="../gtk/GtkObject.html"
|
||||
>GtkObject</a>
|
||||
+----<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>
|
||||
+----<a
|
||||
href="../gtk/GtkDrawingArea.html"
|
||||
>GtkDrawingArea</a>
|
||||
+----GimpOffsetArea
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2637956"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="id2637846"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpOffsetArea implements
|
||||
AtkImplementorIface and GtkBuildable.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2632004"></a><h2>Signals</h2>
|
||||
<a name="id2637874"></a><h2>Signals</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<a class="link" href="GimpOffsetArea.html#GimpOffsetArea-offsets-changed">offsets-changed</a>" : Run First
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2632029"></a><h2>Description</h2>
|
||||
<a name="id2637898"></a><h2>Description</h2>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2632044"></a><h2>Details</h2>
|
||||
<a name="id2637914"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2632055"></a><h3>
|
||||
<a name="id2637925"></a><h3>
|
||||
<a name="GimpOffsetArea-struct"></a>GimpOffsetArea</h3>
|
||||
<a class="indexterm" name="id2632067"></a><pre class="programlisting">typedef struct _GimpOffsetArea GimpOffsetArea;</pre>
|
||||
<a class="indexterm" name="id2637937"></a><pre class="programlisting">typedef struct _GimpOffsetArea GimpOffsetArea;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2632083"></a><h3>
|
||||
<a name="id2637953"></a><h3>
|
||||
<a name="gimp-offset-area-new"></a>gimp_offset_area_new ()</h3>
|
||||
<a class="indexterm" name="id2632094"></a><pre class="programlisting">GtkWidget* gimp_offset_area_new (gint orig_width,
|
||||
gint orig_height);</pre>
|
||||
<a class="indexterm" name="id2637964"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_offset_area_new (<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> orig_width,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> orig_height);</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
|
||||
@ -151,11 +183,15 @@ specify the new offsets.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2636634"></a><h3>
|
||||
<a name="id2637660"></a><h3>
|
||||
<a name="gimp-offset-area-set-size"></a>gimp_offset_area_set_size ()</h3>
|
||||
<a class="indexterm" name="id2636646"></a><pre class="programlisting">void gimp_offset_area_set_size (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
|
||||
gint width,
|
||||
gint height);</pre>
|
||||
<a class="indexterm" name="id2637672"></a><pre class="programlisting">void gimp_offset_area_set_size (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> width,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> height);</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"
|
||||
@ -186,11 +222,15 @@ signal is emitted.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2636755"></a><h3>
|
||||
<a name="id2636432"></a><h3>
|
||||
<a name="gimp-offset-area-set-offsets"></a>gimp_offset_area_set_offsets ()</h3>
|
||||
<a class="indexterm" name="id2636766"></a><pre class="programlisting">void gimp_offset_area_set_offsets (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
|
||||
gint offset_x,
|
||||
gint offset_y);</pre>
|
||||
<a class="indexterm" name="id2636444"></a><pre class="programlisting">void gimp_offset_area_set_offsets (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> offset_x,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> offset_y);</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.</p>
|
||||
@ -220,10 +260,12 @@ It does not emit the "offsets-changed" signal.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2631343"></a><h3>
|
||||
<a name="id2636552"></a><h3>
|
||||
<a name="gimp-offset-area-set-pixbuf"></a>gimp_offset_area_set_pixbuf ()</h3>
|
||||
<a class="indexterm" name="id2631356"></a><pre class="programlisting">void gimp_offset_area_set_pixbuf (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
|
||||
GdkPixbuf *pixbuf);</pre>
|
||||
<a class="indexterm" name="id2636566"></a><pre class="programlisting">void gimp_offset_area_set_pixbuf (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
|
||||
<a
|
||||
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
|
||||
>GdkPixbuf</a> *pixbuf);</pre>
|
||||
<p>
|
||||
Sets the pixbuf which represents the original image/drawable which
|
||||
is being offset.</p>
|
||||
@ -240,7 +282,9 @@ is being offset.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
|
||||
<td> a <span class="type">GdkPixbuf</span>.
|
||||
<td> a <a
|
||||
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
|
||||
><span class="type">GdkPixbuf</span></a>.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -250,14 +294,20 @@ is being offset.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2631451"></a><h2>Signal Details</h2>
|
||||
<a name="id2636661"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2631462"></a><h3>
|
||||
<a name="id2632717"></a><h3>
|
||||
<a name="GimpOffsetArea-offsets-changed"></a>The "offsets-changed" signal</h3>
|
||||
<a class="indexterm" name="id2631470"></a><pre class="programlisting">void user_function (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
|
||||
gint arg1,
|
||||
gint arg2,
|
||||
gpointer user_data) : Run First</pre>
|
||||
<a class="indexterm" name="id2632725"></a><pre class="programlisting">void user_function (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> arg1,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> arg2,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> user_data) : Run First</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user