Imported Upstream version 2.8.18
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GimpButton: GIMP Widgets Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.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.24 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -30,13 +30,13 @@
|
||||
<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 <a href="/usr/share/gtk-doc/html/gtk2GtkButton.html#GtkButton-struct"><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>
|
||||
<div class="refsect1">
|
||||
<a name="GimpButton.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
@ -44,7 +44,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
||||
<a href="/usr/share/gtk-doc/html/gtk2GtkWidget.html#GtkWidget-struct"><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>
|
||||
@ -63,7 +63,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpButton.signals"></a><h2>Signals</h2>
|
||||
<div class="informaltable"><table border="0">
|
||||
<div class="informaltable"><table class="informaltable" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="signals_return">
|
||||
<col width="300px" class="signals_name">
|
||||
@ -72,13 +72,13 @@
|
||||
<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"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpButton.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
@ -91,13 +91,13 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<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>
|
||||
<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk2GtkObject.html#GtkObject-struct">GtkObject</a>
|
||||
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk2GtkWidget.html#GtkWidget-struct">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk2GtkContainer.html#GtkContainer-struct">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk2GtkBin.html#GtkBin-struct">GtkBin</a>
|
||||
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk2GtkButton.html#GtkButton-struct">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, <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, <a href="/usr/share/gtk-doc/html/gtk2GtkBuildable.html#GtkBuildable-struct">GtkBuildable</a> and <a href="/usr/share/gtk-doc/html/gtk2GtkActivatable.html#GtkActivatable-struct">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 <a href="http://library.gnome.org/devel/gtk3/GtkButton.html"><span class="type">GtkButton</span></a> 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="/usr/share/gtk-doc/html/gtk2GtkButton.html#GtkButton-struct"><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,11 +118,11 @@ 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"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk2GtkWidget.html#GtkWidget-struct"><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>
|
||||
<a name="gimp-button-new.returns"></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>
|
||||
</div>
|
||||
</div>
|
||||
@ -131,11 +131,11 @@ 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><a href="http://library.gnome.org/devel/gdk3/gdk2-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> state</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk2gdk2-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>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="gimp-button-extended-clicked.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -149,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 <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_description"><p>a state as found in <a href="/usr/share/gtk-doc/html/gdk2gdk2-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a>->state, e.g. <a href="/usr/share/gtk-doc/html/gdk2gdk2-Windows.html#GDK-SHIFT-MASK:CAPS"><span class="type">GDK_SHIFT_MASK</span></a>.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -170,13 +170,13 @@ 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,
|
||||
<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>
|
||||
<a href="/usr/share/gtk-doc/html/gdk2gdk2-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> arg1,
|
||||
<a href="/usr/share/gtk-doc/html/glibglib-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">
|
||||
<a name="id-1.2.5.11.2.5"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="GimpButton-extended-clicked.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -201,11 +201,11 @@ key pressed.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
<p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user