7
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
8
9
<link rel="prev" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">
9
10
<link rel="next" href="GimpPathEditor.html" title="GimpPathEditor">
10
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
11
12
<link rel="stylesheet" href="style.css" type="text/css">
12
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
13
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
19
20
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
21
22
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
22
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
23
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
23
25
<td><a accesskey="p" href="GimpMemsizeEntry.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
24
26
<td><a accesskey="u" href="libgimpwidgets-widgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
25
27
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
26
28
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
27
29
<td><a accesskey="n" href="GimpPathEditor.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
33
<a href="#desc" class="shortcut">Description</a>
35
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
37
<a href="#signal_proto" class="shortcut">Signals</a></nobr></td></tr>
29
39
<div class="refentry" lang="en">
30
40
<a name="GimpOffsetArea"></a><div class="titlepage"></div>
31
41
<div class="refnamediv"><table width="100%"><tr>
33
<h2><span class="refentrytitle">GimpOffsetArea</span></h2>
43
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpOffsetArea</span></h2>
34
44
<p>GimpOffsetArea — Widget to control image offsets.</p>
36
46
<td valign="top" align="right"></td>
37
47
</tr></table></div>
38
48
<div class="refsynopsisdiv">
49
<a name="synopsis"></a><h2>Synopsis</h2>
40
50
<pre class="synopsis">
44
54
<a href="GimpOffsetArea.html#GimpOffsetArea-struct">GimpOffsetArea</a>;
46
href="../gtk/GtkWidget.html"
47
>GtkWidget</a>* <a href="GimpOffsetArea.html#gimp-offset-area-new">gimp_offset_area_new</a> (gint orig_width,
55
GtkWidget* <a href="GimpOffsetArea.html#gimp-offset-area-new">gimp_offset_area_new</a> (gint orig_width,
49
57
void <a href="GimpOffsetArea.html#gimp-offset-area-set-size">gimp_offset_area_set_size</a> (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
55
63
void <a href="GimpOffsetArea.html#gimp-offset-area-set-pixbuf">gimp_offset_area_set_pixbuf</a> (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
57
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
58
>GdkPixbuf</a> *pixbuf);
62
68
<div class="refsect1" lang="en">
63
<a name="id2562301"></a><h2>Object Hierarchy</h2>
69
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
64
70
<pre class="synopsis">
68
href="../gtk/GtkObject.html"
71
href="../gtk/GtkWidget.html"
74
href="../gtk/GtkDrawingArea.html"
73
+----GInitiallyUnowned
79
80
<div class="refsect1" lang="en">
80
<a name="id2562338"></a><h2>Implemented Interfaces</h2>
81
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
82
83
GimpOffsetArea implements
83
84
AtkImplementorIface.</p>
85
86
<div class="refsect1" lang="en">
86
<a name="id2562355"></a><h2>Signal Prototypes</h2>
87
<a name="signal_proto"></a><h2>Signals</h2>
87
88
<pre class="synopsis">
89
90
"<a href="GimpOffsetArea.html#GimpOffsetArea-offsets-changed">offsets-changed</a>"
90
91
void user_function (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
94
gpointer user_data) : Run first
96
97
<div class="refsect1" lang="en">
97
<a name="id2558606"></a><h2>Description</h2>
98
<a name="desc"></a><h2>Description</h2>
102
103
<div class="refsect1" lang="en">
103
<a name="id2558617"></a><h2>Details</h2>
104
<a name="details"></a><h2>Details</h2>
104
105
<div class="refsect2" lang="en">
105
<a name="id2558624"></a><h3>
106
<a name="id2564036"></a><h3>
106
107
<a name="GimpOffsetArea-struct"></a>GimpOffsetArea</h3>
107
<a class="indexterm" name="id2558633"></a><pre class="programlisting">typedef struct _GimpOffsetArea GimpOffsetArea;</pre>
108
<a class="indexterm" name="id2564047"></a><pre class="programlisting">typedef struct _GimpOffsetArea GimpOffsetArea;</pre>
113
114
<div class="refsect2" lang="en">
114
<a name="id2558649"></a><h3>
115
<a name="id2564063"></a><h3>
115
116
<a name="gimp-offset-area-new"></a>gimp_offset_area_new ()</h3>
116
<a class="indexterm" name="id2558658"></a><pre class="programlisting"><a
117
href="../gtk/GtkWidget.html"
118
>GtkWidget</a>* gimp_offset_area_new (gint orig_width,
117
<a class="indexterm" name="id2564074"></a><pre class="programlisting">GtkWidget* gimp_offset_area_new (gint orig_width,
119
118
gint orig_height);</pre>
121
120
Creates a new <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> widget. A <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> can be used
152
151
<div class="refsect2" lang="en">
153
<a name="id2517470"></a><h3>
152
<a name="id2567406"></a><h3>
154
153
<a name="gimp-offset-area-set-size"></a>gimp_offset_area_set_size ()</h3>
155
<a class="indexterm" name="id2517479"></a><pre class="programlisting">void gimp_offset_area_set_size (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
154
<a class="indexterm" name="id2567417"></a><pre class="programlisting">void gimp_offset_area_set_size (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
157
156
gint height);</pre>
190
189
<div class="refsect2" lang="en">
191
<a name="id2517593"></a><h3>
190
<a name="id2567535"></a><h3>
192
191
<a name="gimp-offset-area-set-offsets"></a>gimp_offset_area_set_offsets ()</h3>
193
<a class="indexterm" name="id2517602"></a><pre class="programlisting">void gimp_offset_area_set_offsets (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
192
<a class="indexterm" name="id2567546"></a><pre class="programlisting">void gimp_offset_area_set_offsets (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
195
194
gint offset_y);</pre>
227
226
<div class="refsect2" lang="en">
228
<a name="id2524505"></a><h3>
227
<a name="id2569716"></a><h3>
229
228
<a name="gimp-offset-area-set-pixbuf"></a>gimp_offset_area_set_pixbuf ()</h3>
230
<a class="indexterm" name="id2524514"></a><pre class="programlisting">void gimp_offset_area_set_pixbuf (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
232
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
233
>GdkPixbuf</a> *pixbuf);</pre>
229
<a class="indexterm" name="id2569729"></a><pre class="programlisting">void gimp_offset_area_set_pixbuf (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
230
GdkPixbuf *pixbuf);</pre>
235
232
Sets the pixbuf which represents the original image/drawable which
236
233
is being offset.</p>
263
258
<div class="refsect1" lang="en">
264
<a name="id2524606"></a><h2>Signals</h2>
259
<a name="signals"></a><h2>Signal Details</h2>
265
260
<div class="refsect2" lang="en">
266
<a name="id2524612"></a><h3>
261
<a name="id2569832"></a><h3>
267
262
<a name="GimpOffsetArea-offsets-changed"></a>The "offsets-changed" signal</h3>
268
<pre class="programlisting">void user_function (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
271
gpointer user_data);</pre>
263
<a class="indexterm" name="id2569840"></a><pre class="programlisting">void user_function (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
266
gpointer user_data) : Run first</pre>