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: GimpMemSizeEntry</title>
|
||||
<title>GimpMemSizeEntry: 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="GimpIntStore.html" title="GimpIntStore">
|
||||
<link rel="next" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">
|
||||
<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">
|
||||
@ -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="GimpMemsizeEntry.html#gimp-memsize-entry-new" title="gimp_memsize_entry_new ()">gimp_memsize_entry_new</a> <span class="c_punctuation">()</span>
|
||||
@ -60,7 +60,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">guint64</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpMemsizeEntry.html#gimp-memsize-entry-get-value" title="gimp_memsize_entry_get_value ()">gimp_memsize_entry_get_value</a> <span class="c_punctuation">()</span>
|
||||
@ -80,7 +80,7 @@
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GimpMemsizeEntry.html#GimpMemsizeEntry-value-changed" title="The “value-changed” signal">value-changed</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>
|
||||
@ -99,12 +99,12 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpMemsizeEntry.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> GtkBox
|
||||
<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/GtkBox.html">GtkBox</a>
|
||||
<span class="lineart">╰──</span> GimpMemsizeEntry
|
||||
</pre>
|
||||
</div>
|
||||
@ -112,7 +112,7 @@
|
||||
<a name="GimpMemsizeEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpMemsizeEntry implements
|
||||
AtkImplementorIface, GtkBuildable and GtkOrientable.</p>
|
||||
AtkImplementorIface, <a href="http://library.gnome.org/devel/gtk3/GtkBuildable.html">GtkBuildable</a> and <a href="http://library.gnome.org/devel/gtk3/gtk2-Orientable.html#GtkOrientable">GtkOrientable</a>.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpMemsizeEntry.description"></a><h2>Description</h2>
|
||||
@ -125,12 +125,12 @@ preferences dialog.</p>
|
||||
<a name="GimpMemsizeEntry.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-memsize-entry-new"></a><h3>gimp_memsize_entry_new ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *
|
||||
gimp_memsize_entry_new (<em class="parameter"><code><span class="type">guint64</span> value</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint64</span> lower</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint64</span> upper</code></em>);</pre>
|
||||
<p>Creates a new <a class="link" href="GimpMemsizeEntry.html" title="GimpMemSizeEntry"><span class="type">GimpMemsizeEntry</span></a> which is a <span class="type">GtkHBox</span> with a <span class="type">GtkSpinButton</span>
|
||||
and a <span class="type">GtkOptionMenu</span> all setup to allow the user to enter memory sizes.</p>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gimp_memsize_entry_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> value</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> lower</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> upper</code></em>);</pre>
|
||||
<p>Creates a new <a class="link" href="GimpMemsizeEntry.html" title="GimpMemSizeEntry"><span class="type">GimpMemsizeEntry</span></a> which is a <a href="http://library.gnome.org/devel/gtk3/GtkHBox.html"><span class="type">GtkHBox</span></a> with a <a href="http://library.gnome.org/devel/gtk3/GtkSpinButton.html"><span class="type">GtkSpinButton</span></a>
|
||||
and a <a href="http://library.gnome.org/devel/gtk3/GtkOptionMenu.html"><span class="type">GtkOptionMenu</span></a> all setup to allow the user to enter memory sizes.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.23.9.2.5"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
@ -161,7 +161,6 @@ and a <span class="type">GtkOptionMenu</span> all setup to allow the user to ent
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.23.9.2.6"></a><h4>Returns</h4>
|
||||
<p> Pointer to the new <a class="link" href="GimpMemsizeEntry.html" title="GimpMemSizeEntry"><span class="type">GimpMemsizeEntry</span></a>.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -169,7 +168,7 @@ and a <span class="type">GtkOptionMenu</span> all setup to allow the user to ent
|
||||
<a name="gimp-memsize-entry-set-value"></a><h3>gimp_memsize_entry_set_value ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_memsize_entry_set_value (<em class="parameter"><code><a class="link" href="GimpMemsizeEntry.html" title="GimpMemSizeEntry"><span class="type">GimpMemsizeEntry</span></a> *entry</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint64</span> value</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> value</code></em>);</pre>
|
||||
<p>Sets the <em class="parameter"><code>entry</code></em>
|
||||
's value. Please note that the <a class="link" href="GimpMemsizeEntry.html" title="GimpMemSizeEntry"><span class="type">GimpMemsizeEntry</span></a> rounds
|
||||
the value to full Kilobytes.</p>
|
||||
@ -199,7 +198,7 @@ the value to full Kilobytes.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-memsize-entry-get-value"></a><h3>gimp_memsize_entry_get_value ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">guint64</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
|
||||
gimp_memsize_entry_get_value (<em class="parameter"><code><a class="link" href="GimpMemsizeEntry.html" title="GimpMemSizeEntry"><span class="type">GimpMemsizeEntry</span></a> *entry</code></em>);</pre>
|
||||
<p>Retrieves the current value from a <a class="link" href="GimpMemsizeEntry.html" title="GimpMemSizeEntry"><span class="type">GimpMemsizeEntry</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -221,7 +220,6 @@ gimp_memsize_entry_get_value (<em class="parameter"><code><a class="link" href="
|
||||
<a name="id-1.2.23.9.4.6"></a><h4>Returns</h4>
|
||||
<p> the current value of <em class="parameter"><code>entry</code></em>
|
||||
(in Bytes).</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -230,8 +228,6 @@ gimp_memsize_entry_get_value (<em class="parameter"><code><a class="link" href="
|
||||
<div class="refsect2">
|
||||
<a name="GimpMemsizeEntry-struct"></a><h3>GimpMemsizeEntry</h3>
|
||||
<pre class="programlisting">typedef struct _GimpMemsizeEntry GimpMemsizeEntry;</pre>
|
||||
<p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -240,37 +236,12 @@ gimp_memsize_entry_get_value (<em class="parameter"><code><a class="link" href="
|
||||
<a name="GimpMemsizeEntry-value-changed"></a><h3>The <code class="literal">“value-changed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GimpMemsizeEntry.html" title="GimpMemSizeEntry"><span class="type">GimpMemsizeEntry</span></a> *gimpmemsizeentry,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>
|
||||
</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.23.11.2.5"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>gimpmemsizeentry</p></td>
|
||||
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>user_data</p></td>
|
||||
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run First</p>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<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