Imported Upstream version 2.8.0
This commit is contained in:
@ -37,28 +37,28 @@
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="GimpButton.top_of_page"></a>GimpButton</span></h2>
|
||||
<p>GimpButton — A <a href="http://library.gnome.org/devel/gtk3/GtkButton.html"><span class="type">GtkButton</span></a> with a little extra functionality.</p>
|
||||
<p>GimpButton — A <span class="type">GtkButton</span> with a little extra functionality.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"><img src="gimp-button.png"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<a name="GimpButton.synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis"> <a class="link" href="GimpButton.html#GimpButton-struct" title="GimpButton">GimpButton</a>;
|
||||
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GimpButton.html#gimp-button-new" title="gimp_button_new ()">gimp_button_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
||||
<span class="returnvalue">GtkWidget</span> * <a class="link" href="GimpButton.html#gimp-button-new" title="gimp_button_new ()">gimp_button_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
||||
<span class="returnvalue">void</span> <a class="link" href="GimpButton.html#gimp-button-extended-clicked" title="gimp_button_extended_clicked ()">gimp_button_extended_clicked</a> (<em class="parameter"><code><a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> state</code></em>);
|
||||
<em class="parameter"><code><span class="type">GdkModifierType</span> state</code></em>);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpButton.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/GtkContainer.html">GtkContainer</a>
|
||||
+----<a href="http://library.gnome.org/devel/gtk3/GtkBin.html">GtkBin</a>
|
||||
+----<a href="http://library.gnome.org/devel/gtk3/GtkButton.html">GtkButton</a>
|
||||
GObject
|
||||
+----GInitiallyUnowned
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkContainer
|
||||
+----GtkBin
|
||||
+----GtkButton
|
||||
+----GimpButton
|
||||
+----<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a>
|
||||
</pre>
|
||||
@ -67,20 +67,20 @@
|
||||
<a name="GimpButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpButton implements
|
||||
AtkImplementorIface, <a href="http://library.gnome.org/devel/gtk3/GtkBuildable.html">GtkBuildable</a> and <a href="http://library.gnome.org/devel/gtk3/GtkActivatable.html">GtkActivatable</a>.</p>
|
||||
AtkImplementorIface, GtkBuildable and GtkActivatable.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpButton.signals"></a><h2>Signals</h2>
|
||||
<pre class="synopsis">
|
||||
"<a class="link" href="GimpButton.html#GimpButton-extended-clicked" title='The "extended-clicked" signal'>extended-clicked</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="GimpButton.html#GimpButton-extended-clicked" title='The "extended-clicked" signal'>extended-clicked</a>" : <code class="literal">Run First</code>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpButton.description"></a><h2>Description</h2>
|
||||
<p>
|
||||
<a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> adds an extra signal to the <a href="http://library.gnome.org/devel/gtk3/GtkButton.html"><span class="type">GtkButton</span></a> widget that allows
|
||||
to distinguish a normal click from a click that was performed with
|
||||
modifier keys pressed.
|
||||
<a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> adds an extra signal to the <span class="type">GtkButton</span> widget that
|
||||
allows to distinguish a normal click from a click that was
|
||||
performed with modifier keys pressed.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -94,7 +94,7 @@ modifier keys pressed.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-button-new"></a><h3>gimp_button_new ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gimp_button_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * gimp_button_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>
|
||||
Creates a new <a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> widget.
|
||||
</p>
|
||||
@ -110,7 +110,7 @@ Creates a new <a class="link" href="GimpButton.html" title="GimpButton"><span cl
|
||||
<div class="refsect2">
|
||||
<a name="gimp-button-extended-clicked"></a><h3>gimp_button_extended_clicked ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span> gimp_button_extended_clicked (<em class="parameter"><code><a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> state</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GdkModifierType</span> state</code></em>);</pre>
|
||||
<p>
|
||||
Emits the button's "extended_clicked" signal.
|
||||
</p>
|
||||
@ -123,7 +123,7 @@ Emits the button's "extended_clicked" signal.
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
|
||||
<td>a state as found in <a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a>->state, e.g. <a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GDK-SHIFT-MASK:CAPS"><span class="type">GDK_SHIFT_MASK</span></a>.</td>
|
||||
<td>a state as found in <span class="type">GdkEventButton</span>->state, e.g. <span class="type">GDK_SHIFT_MASK</span>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -134,16 +134,18 @@ Emits the button's "extended_clicked" signal.
|
||||
<div class="refsect2">
|
||||
<a name="GimpButton-extended-clicked"></a><h3>The <code class="literal">"extended-clicked"</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> *gimpbutton,
|
||||
<a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> arg1,
|
||||
<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">GdkModifierType</span> arg1,
|
||||
<span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre>
|
||||
<p>
|
||||
This signal is emitted when the button is clicked with a modifier
|
||||
key pressed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>gimpbutton</code></em> :</span></p></td>
|
||||
<td>the object which received the signal.</td>
|
||||
<td>the object that received the signal.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
|
||||
|
||||
Reference in New Issue
Block a user