Imported Upstream version 2.4.6

This commit is contained in:
Ari Pollak
2010-08-11 01:24:52 -04:00
parent 9398f19fe7
commit 478f5ecc84
539 changed files with 157836 additions and 69286 deletions

View File

@ -1,24 +1,24 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GimpOffsetArea</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
<link rel="prev" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">
<link rel="next" href="GimpPageSelector.html" title="GimpPageSelector">
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part&#160;II.&#160;GIMP Display Filters">
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part&#160;III.&#160;GIMP Color Selectors">
<link rel="part" href="libgimpwidgets-controller.html" title="Part&#160;IV.&#160;GIMP Controllers">
<link rel="part" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;Deprecated API">
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part II. GIMP Display Filters">
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part III. GIMP Color Selectors">
<link rel="part" href="libgimpwidgets-controller.html" title="Part IV. GIMP Controllers">
<link rel="part" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
<link rel="index" href="libgimpwidgets-index.html" title="Index">
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
@ -33,125 +33,115 @@
<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="#id2527308" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2641010" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2635644" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2635692" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2640985" class="shortcut">Signals</a></nobr></td></tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#GimpOffsetArea.synopsis" class="shortcut">Top</a>
 | 
<a href="#GimpOffsetArea.description" class="shortcut">Description</a>
 | 
<a href="#GimpOffsetArea.object-hierarchy" class="shortcut">Object Hierarchy</a>
 | 
<a href="#GimpOffsetArea.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#GimpOffsetArea.signals" 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="id2527308"></a><span class="refentrytitle">GimpOffsetArea</span>
</h2>
<p>GimpOffsetArea &#8212; Widget to control image offsets.</p>
<h2><span class="refentrytitle"><a name="GimpOffsetArea.top_of_page"></a>GimpOffsetArea</span></h2>
<p>GimpOffsetArea — Widget to control image offsets.</p>
</td>
<td valign="top" align="right"><img src="gimp-offset-area.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<a name="GimpOffsetArea.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpOffsetArea.html#GimpOffsetArea-struct">GimpOffsetArea</a>;
<a class="link" href="GimpOffsetArea.html#GimpOffsetArea-struct" title="GimpOffsetArea">GimpOffsetArea</a>;
<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"
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpOffsetArea.html#gimp-offset-area-new" title="gimp_offset_area_new ()">gimp_offset_area_new</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> orig_width,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/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,
void <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-size" title="gimp_offset_area_set_size ()">gimp_offset_area_set_size</a> (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/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,
void <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-offsets" title="gimp_offset_area_set_offsets ()">gimp_offset_area_set_offsets</a> (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> offset_x,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/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,
void <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-pixbuf" title="gimp_offset_area_set_pixbuf ()">gimp_offset_area_set_pixbuf</a> (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
<a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2635644"></a><h2>Object Hierarchy</h2>
<a name="GimpOffsetArea.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkDrawingArea.html"
href="/usr/share/gtk-doc/html/gtk/GtkDrawingArea.html"
>GtkDrawingArea</a>
+----GimpOffsetArea
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2635692"></a><h2>Implemented Interfaces</h2>
<a name="GimpOffsetArea.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpOffsetArea implements
AtkImplementorIface and GtkBuildable.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2640985"></a><h2>Signals</h2>
<a name="GimpOffsetArea.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GimpOffsetArea.html#GimpOffsetArea-offsets-changed">offsets-changed</a>" : Run First
"<a class="link" href="GimpOffsetArea.html#GimpOffsetArea-offsets-changed" title='The "offsets-changed" signal'>offsets-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2641010"></a><h2>Description</h2>
<a name="GimpOffsetArea.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2641026"></a><h2>Details</h2>
<a name="GimpOffsetArea.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2641036"></a><h3>
<a name="GimpOffsetArea-struct"></a>GimpOffsetArea</h3>
<a class="indexterm" name="id2641048"></a><pre class="programlisting">typedef struct _GimpOffsetArea GimpOffsetArea;</pre>
<a name="GimpOffsetArea-struct"></a><h3>GimpOffsetArea</h3>
<pre class="programlisting">typedef struct _GimpOffsetArea GimpOffsetArea;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641064"></a><h3>
<a name="gimp-offset-area-new"></a>gimp_offset_area_new ()</h3>
<a class="indexterm" name="id2641076"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
<a name="gimp-offset-area-new"></a><h3>gimp_offset_area_new ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_offset_area_new (<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> orig_width,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/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
@ -164,17 +154,17 @@ specify the new offsets.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>orig_width</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>orig_width</code></em> :</span></p></td>
<td> the original width
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>orig_height</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>orig_height</code></em> :</span></p></td>
<td> the original height
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the new <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> widget.
</td>
</tr>
@ -183,14 +173,13 @@ specify the new offsets.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2638876"></a><h3>
<a name="gimp-offset-area-set-size"></a>gimp_offset_area_set_size ()</h3>
<a class="indexterm" name="id2638887"></a><pre class="programlisting">void gimp_offset_area_set_size (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
<a name="gimp-offset-area-set-size"></a><h3>gimp_offset_area_set_size ()</h3>
<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"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/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>.
@ -203,17 +192,17 @@ signal is emitted.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>offset_area</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>offset_area</code></em> :</span></p></td>
<td> a <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td> the new width
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td> the new height
</td>
</tr>
@ -222,14 +211,13 @@ signal is emitted.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2638996"></a><h3>
<a name="gimp-offset-area-set-offsets"></a>gimp_offset_area_set_offsets ()</h3>
<a class="indexterm" name="id2639008"></a><pre class="programlisting">void gimp_offset_area_set_offsets (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
<a name="gimp-offset-area-set-offsets"></a><h3>gimp_offset_area_set_offsets ()</h3>
<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"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> offset_x,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/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>.
@ -241,17 +229,17 @@ It does not emit the "offsets-changed" signal.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>offset_area</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>offset_area</code></em> :</span></p></td>
<td> a <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>offset_x</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>offset_x</code></em> :</span></p></td>
<td> the X offset
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>offset_y</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>offset_y</code></em> :</span></p></td>
<td> the Y offset
</td>
</tr>
@ -260,11 +248,10 @@ It does not emit the "offsets-changed" signal.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639116"></a><h3>
<a name="gimp-offset-area-set-pixbuf"></a>gimp_offset_area_set_pixbuf ()</h3>
<a class="indexterm" name="id2639130"></a><pre class="programlisting">void gimp_offset_area_set_pixbuf (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
<a name="gimp-offset-area-set-pixbuf"></a><h3>gimp_offset_area_set_pixbuf ()</h3>
<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"
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);</pre>
<p>
Sets the pixbuf which represents the original image/drawable which
@ -276,14 +263,14 @@ is being offset.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>offset_area</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>offset_area</code></em> :</span></p></td>
<td> a <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
<td> a <a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a>.
</td>
</tr>
@ -294,19 +281,18 @@ href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2632440"></a><h2>Signal Details</h2>
<a name="GimpOffsetArea.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2632451"></a><h3>
<a name="GimpOffsetArea-offsets-changed"></a>The <code class="literal">"offsets-changed"</code> signal</h3>
<a class="indexterm" name="id2632465"></a><pre class="programlisting">void user_function (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
<a name="GimpOffsetArea-offsets-changed"></a><h3>The <code class="literal">"offsets-changed"</code> signal</h3>
<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"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg1,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="../glib/glib-Basic-Types.html#gpointer"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
@ -315,34 +301,32 @@ href="../glib/glib-Basic-Types.html#gpointer"
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gimpoffsetarea</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>gimpoffsetarea</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg2</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>arg2</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2632577"></a><div class="refsect2" lang="en"><a name="id2632578"></a></div>
</div>
<div class="footer">
<hr>
<div class="refsect2" lang="en"><a name="id2632579"></a></div>
</div>
</div>
Generated by GTK-Doc V1.10</div>
</body>
</html>