Imported Upstream version 2.4.0~rc1

This commit is contained in:
Ari Pollak
2010-08-11 01:22:21 -04:00
parent 5516c26b4b
commit d884b2912c
672 changed files with 122964 additions and 82169 deletions

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-colordisplay.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="#id2576002" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2568666" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2634343" class="shortcut">Description</a>
<a href="#id2642884" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2634227" class="shortcut">Object Hierarchy</a>
<a href="#id2642769" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2634276" class="shortcut">Properties</a>
<a href="#id2642817" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2634318" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2642860" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpCellRendererToggle"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2576002"></a><span class="refentrytitle">GimpCellRendererToggle</span>
<a name="id2568666"></a><span class="refentrytitle">GimpCellRendererToggle</span>
</h2>
<p>GimpCellRendererToggle</p>
</td>
@ -61,63 +61,91 @@
<a href="GimpCellRendererToggle.html#GimpCellRendererToggle-struct">GimpCellRendererToggle</a>;
GtkCellRenderer* <a href="GimpCellRendererToggle.html#gimp-cell-renderer-toggle-new">gimp_cell_renderer_toggle_new</a> (const gchar *stock_id);
<a
href="../gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>* <a href="GimpCellRendererToggle.html#gimp-cell-renderer-toggle-new">gimp_cell_renderer_toggle_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);
void <a href="GimpCellRendererToggle.html#gimp-cell-renderer-toggle-clicked">gimp_cell_renderer_toggle_clicked</a> (<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *cell,
const gchar *path,
GdkModifierType state);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path,
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> state);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2634227"></a><h2>Object Hierarchy</h2>
<a name="id2642769"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkCellRenderer
+----GtkCellRendererToggle
<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/GtkCellRenderer.html"
>GtkCellRenderer</a>
+----<a
href="../gtk/GtkCellRendererToggle.html"
>GtkCellRendererToggle</a>
+----GimpCellRendererToggle
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2634276"></a><h2>Properties</h2>
<a name="id2642817"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-id">stock-id</a>" gchararray : Read / Write / Construct
"<a href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-size">stock-size</a>" gint : Read / Write / Construct
"<a href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-id">stock-id</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct
"<a href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-size">stock-size</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2634318"></a><h2>Signals</h2>
<a name="id2642860"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpCellRendererToggle.html#GimpCellRendererToggle-clicked">clicked</a>" : Run Last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2634343"></a><h2>Description</h2>
<a name="id2642884"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2634359"></a><h2>Details</h2>
<a name="id2642900"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2631350"></a><h3>
<a name="id2642911"></a><h3>
<a name="GimpCellRendererToggle-struct"></a>GimpCellRendererToggle</h3>
<a class="indexterm" name="id2631362"></a><pre class="programlisting">typedef struct _GimpCellRendererToggle GimpCellRendererToggle;</pre>
<a class="indexterm" name="id2642922"></a><pre class="programlisting">typedef struct _GimpCellRendererToggle GimpCellRendererToggle;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631378"></a><h3>
<a name="id2642938"></a><h3>
<a name="gimp-cell-renderer-toggle-new"></a>gimp_cell_renderer_toggle_new ()</h3>
<a class="indexterm" name="id2631392"></a><pre class="programlisting">GtkCellRenderer* gimp_cell_renderer_toggle_new (const gchar *stock_id);</pre>
<a class="indexterm" name="id2642952"></a><pre class="programlisting"><a
href="../gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>* gimp_cell_renderer_toggle_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);</pre>
<p>
Creates a custom version of the <span class="type">GtkCellRendererToggle</span>. Instead of
Creates a custom version of the <a
href="../gtk/GtkCellRendererToggle.html"
><span class="type">GtkCellRendererToggle</span></a>. Instead of
showing the standard toggle button, it shows a stock icon if the
cell is active and no icon otherwise. This cell renderer is for
example used in the Layers treeview to indicate and control the
@ -146,11 +174,15 @@ layer's visibility by showing <a href="libgimpwidgets-GimpStock.html#GIMP-STOCK-
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631486"></a><h3>
<a name="id2636541"></a><h3>
<a name="gimp-cell-renderer-toggle-clicked"></a>gimp_cell_renderer_toggle_clicked ()</h3>
<a class="indexterm" name="id2631499"></a><pre class="programlisting">void gimp_cell_renderer_toggle_clicked (<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *cell,
const gchar *path,
GdkModifierType state);</pre>
<a class="indexterm" name="id2636555"></a><pre class="programlisting">void gimp_cell_renderer_toggle_clicked (<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *cell,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path,
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> state);</pre>
<p>
Emits the "clicked" signal from a <a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle"><span class="type">GimpCellRendererToggle</span></a>.</p>
<p>
@ -181,33 +213,43 @@ Emits the "clicked" signal from a <a href="GimpCellRendererToggle.html" title="G
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2631612"></a><h2>Property Details</h2>
<a name="id2636668"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2631623"></a><h3>
<a name="id2636678"></a><h3>
<a name="GimpCellRendererToggle--stock-id"></a>The "<code class="literal">stock-id</code>" property</h3>
<a class="indexterm" name="id2631637"></a><pre class="programlisting"> "stock-id" gchararray : Read / Write / Construct</pre>
<a class="indexterm" name="id2636692"></a><pre class="programlisting"> "stock-id" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct</pre>
<p></p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631660"></a><h3>
<a name="id2636716"></a><h3>
<a name="GimpCellRendererToggle--stock-size"></a>The "<code class="literal">stock-size</code>" property</h3>
<a class="indexterm" name="id2631674"></a><pre class="programlisting"> "stock-size" gint : Read / Write / Construct</pre>
<a class="indexterm" name="id2636731"></a><pre class="programlisting"> "stock-size" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct</pre>
<p></p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 4</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2631703"></a><h2>Signal Details</h2>
<a name="id2636761"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2631714"></a><h3>
<a name="id2641626"></a><h3>
<a name="GimpCellRendererToggle-clicked"></a>The "clicked" signal</h3>
<a class="indexterm" name="id2630903"></a><pre class="programlisting">void user_function (<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *gimpcellrenderertoggle,
gchar *arg1,
GdkModifierType arg2,
gpointer user_data) : Run Last</pre>
<a class="indexterm" name="id2641636"></a><pre class="programlisting">void user_function (<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *gimpcellrenderertoggle,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *arg1,
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> arg2,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
</p>