Imported Upstream version 2.8.16
This commit is contained in:
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Widgets Library Reference Manual: GimpButton</title>
|
||||
<title>GimpButton: GIMP Widgets Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Widgets Library Reference Manual">
|
||||
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
<link rel="prev" href="GimpBrowser.html" title="GimpBrowser">
|
||||
<link rel="next" href="GimpChainButton.html" title="GimpChainButton">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -30,7 +30,7 @@
|
||||
<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 <span class="type">GtkButton</span> with a little extra functionality.</p>
|
||||
<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>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"><img src="gimp-button.png"></td>
|
||||
</tr></table></div>
|
||||
@ -44,7 +44,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GtkWidget</span> *
|
||||
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpButton.html#gimp-button-new" title="gimp_button_new ()">gimp_button_new</a> <span class="c_punctuation">()</span>
|
||||
@ -72,7 +72,7 @@
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GimpButton.html#GimpButton-extended-clicked" title="The “extended-clicked” signal">extended-clicked</a></td>
|
||||
<td class="signal_flags">Run First</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
@ -91,13 +91,13 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<span class="lineart">╰──</span> GtkObject
|
||||
<span class="lineart">╰──</span> GtkWidget
|
||||
<span class="lineart">╰──</span> GtkContainer
|
||||
<span class="lineart">╰──</span> GtkBin
|
||||
<span class="lineart">╰──</span> GtkButton
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkObject.html">GtkObject</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkWidget.html">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkContainer.html">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkBin.html">GtkBin</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkButton.html">GtkButton</a>
|
||||
<span class="lineart">╰──</span> GimpButton
|
||||
<span class="lineart">╰──</span> <a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a>
|
||||
</pre>
|
||||
@ -106,11 +106,11 @@
|
||||
<a name="GimpButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpButton implements
|
||||
AtkImplementorIface, GtkBuildable and GtkActivatable.</p>
|
||||
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>
|
||||
</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 <span class="type">GtkButton</span> widget that
|
||||
<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.</p>
|
||||
</div>
|
||||
@ -118,13 +118,12 @@ performed with modifier keys pressed.</p>
|
||||
<a name="GimpButton.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-button-new"></a><h3>gimp_button_new ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *
|
||||
<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>
|
||||
<p>Creates a new <a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> widget.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.5.9.2.5"></a><h4>Returns</h4>
|
||||
<p> A pointer to the new <a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> widget.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -132,7 +131,7 @@ gimp_button_new (<em class="parameter"><code><span class="type">void</span></cod
|
||||
<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><span class="type">GdkModifierType</span> state</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk2-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> state</code></em>);</pre>
|
||||
<p>Emits the button's "extended_clicked" signal.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.5.9.3.5"></a><h4>Parameters</h4>
|
||||
@ -150,7 +149,7 @@ gimp_button_extended_clicked (<em class="parameter"><code><a class="link" href="
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>state</p></td>
|
||||
<td class="parameter_description"><p>a state as found in <span class="type">GdkEventButton</span>->state, e.g. <span class="type">GDK_SHIFT_MASK</span>.</p></td>
|
||||
<td class="parameter_description"><p>a state as found in <a href="http://library.gnome.org/devel/gdk3/gdk2-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a>->state, e.g. <a href="http://library.gnome.org/devel/gdk3/gdk2-Windows.html#GDK-SHIFT-MASK:CAPS"><span class="type">GDK_SHIFT_MASK</span></a>.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -163,8 +162,6 @@ gimp_button_extended_clicked (<em class="parameter"><code><a class="link" href="
|
||||
<div class="refsect2">
|
||||
<a name="GimpButton-struct"></a><h3>GimpButton</h3>
|
||||
<pre class="programlisting">typedef struct _GimpButton GimpButton;</pre>
|
||||
<p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -173,8 +170,8 @@ gimp_button_extended_clicked (<em class="parameter"><code><a class="link" href="
|
||||
<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,
|
||||
<span class="type">GdkModifierType</span> arg1,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="http://library.gnome.org/devel/gdk3/gdk2-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> arg1,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>This signal is emitted when the button is clicked with a modifier
|
||||
key pressed.</p>
|
||||
<div class="refsect3">
|
||||
@ -204,12 +201,11 @@ key pressed.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run First</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user