Imported Upstream version 2.4.0~rc1
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
<link rel="start" 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="GimpOffsetArea.html" title="GimpOffsetArea">
|
||||
<link rel="next" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">
|
||||
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
@ -31,24 +31,24 @@
|
||||
<td><a accesskey="u" href="libgimpwidgets-widgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
||||
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="GimpOffsetArea.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
||||
<td><a accesskey="n" href="GimpNumberPairEntry.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="#id2607042" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2575062" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2615523" class="shortcut">Description</a>
|
||||
<a href="#id2613226" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#id2615416" class="shortcut">Object Hierarchy</a>
|
||||
<a href="#id2615440" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#id2615476" class="shortcut">Implemented Interfaces</a>
|
||||
<a href="#id2615501" class="shortcut">Implemented Interfaces</a>
|
||||
 | 
|
||||
<a href="#id2615498" class="shortcut">Signals</a></nobr></td></tr>
|
||||
<a href="#id2615522" class="shortcut">Signals</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="GimpMemsizeEntry"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2607042"></a><span class="refentrytitle">GimpMemsizeEntry</span>
|
||||
<a name="id2575062"></a><span class="refentrytitle">GimpMemsizeEntry</span>
|
||||
</h2>
|
||||
<p>GimpMemsizeEntry — A composite widget that allows to enter a memory size.</p>
|
||||
</td>
|
||||
@ -61,44 +61,70 @@
|
||||
|
||||
|
||||
<a href="GimpMemsizeEntry.html#GimpMemsizeEntry-struct">GimpMemsizeEntry</a>;
|
||||
GtkWidget* <a href="GimpMemsizeEntry.html#gimp-memsize-entry-new">gimp_memsize_entry_new</a> (guint64 value,
|
||||
guint64 lower,
|
||||
guint64 upper);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="GimpMemsizeEntry.html#gimp-memsize-entry-new">gimp_memsize_entry_new</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#guint64"
|
||||
>guint64</a> value,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint64"
|
||||
>guint64</a> lower,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint64"
|
||||
>guint64</a> upper);
|
||||
void <a href="GimpMemsizeEntry.html#gimp-memsize-entry-set-value">gimp_memsize_entry_set_value</a> (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry,
|
||||
guint64 value);
|
||||
guint64 <a href="GimpMemsizeEntry.html#gimp-memsize-entry-get-value">gimp_memsize_entry_get_value</a> (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint64"
|
||||
>guint64</a> value);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint64"
|
||||
>guint64</a> <a href="GimpMemsizeEntry.html#gimp-memsize-entry-get-value">gimp_memsize_entry_get_value</a> (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2615416"></a><h2>Object Hierarchy</h2>
|
||||
<a name="id2615440"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
+----GInitiallyUnowned
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkContainer
|
||||
+----GtkBox
|
||||
+----GtkHBox
|
||||
<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/GtkWidget.html"
|
||||
>GtkWidget</a>
|
||||
+----<a
|
||||
href="../gtk/GtkContainer.html"
|
||||
>GtkContainer</a>
|
||||
+----<a
|
||||
href="../gtk/GtkBox.html"
|
||||
>GtkBox</a>
|
||||
+----<a
|
||||
href="../gtk/GtkHBox.html"
|
||||
>GtkHBox</a>
|
||||
+----GimpMemsizeEntry
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2615476"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="id2615501"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpMemsizeEntry implements
|
||||
AtkImplementorIface.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2615498"></a><h2>Signals</h2>
|
||||
<a name="id2615522"></a><h2>Signals</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<a href="GimpMemsizeEntry.html#GimpMemsizeEntry-value-changed">value-changed</a>" : Run First
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2615523"></a><h2>Description</h2>
|
||||
<a name="id2613226"></a><h2>Description</h2>
|
||||
<p>
|
||||
Similar to a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> but instead of lengths, this widget is used to let
|
||||
the user enter memory sizes. An option menu allows to switch between
|
||||
@ -106,25 +132,39 @@ Kilobytes, Megabytes and Gigabytes. Used in the GIMP preferences dialog.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2615549"></a><h2>Details</h2>
|
||||
<a name="id2613252"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2615560"></a><h3>
|
||||
<a name="id2613263"></a><h3>
|
||||
<a name="GimpMemsizeEntry-struct"></a>GimpMemsizeEntry</h3>
|
||||
<a class="indexterm" name="id2615571"></a><pre class="programlisting">typedef struct _GimpMemsizeEntry GimpMemsizeEntry;</pre>
|
||||
<a class="indexterm" name="id2613275"></a><pre class="programlisting">typedef struct _GimpMemsizeEntry GimpMemsizeEntry;</pre>
|
||||
<p>
|
||||
The <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> struct is considered private.
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2615595"></a><h3>
|
||||
<a name="id2613298"></a><h3>
|
||||
<a name="gimp-memsize-entry-new"></a>gimp_memsize_entry_new ()</h3>
|
||||
<a class="indexterm" name="id2615606"></a><pre class="programlisting">GtkWidget* gimp_memsize_entry_new (guint64 value,
|
||||
guint64 lower,
|
||||
guint64 upper);</pre>
|
||||
<a class="indexterm" name="id2613310"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_memsize_entry_new (<a
|
||||
href="../glib/glib-Basic-Types.html#guint64"
|
||||
>guint64</a> value,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint64"
|
||||
>guint64</a> lower,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint64"
|
||||
>guint64</a> upper);</pre>
|
||||
<p>
|
||||
Creates a new <a 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>
|
||||
Creates a new <a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry"><span class="type">GimpMemsizeEntry</span></a> which is a <a
|
||||
href="../gtk/GtkHBox.html"
|
||||
><span class="type">GtkHBox</span></a> with a <a
|
||||
href="../gtk/GtkSpinButton.html"
|
||||
><span class="type">GtkSpinButton</span></a>
|
||||
and a <a
|
||||
href="../gtk/GtkOptionMenu.html"
|
||||
><span class="type">GtkOptionMenu</span></a> all setup to allow the user to enter memory sizes.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -156,10 +196,12 @@ and a <span class="type">GtkOptionMenu</span> all setup to allow the user to ent
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2610779"></a><h3>
|
||||
<a name="id2615772"></a><h3>
|
||||
<a name="gimp-memsize-entry-set-value"></a>gimp_memsize_entry_set_value ()</h3>
|
||||
<a class="indexterm" name="id2610790"></a><pre class="programlisting">void gimp_memsize_entry_set_value (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry,
|
||||
guint64 value);</pre>
|
||||
<a class="indexterm" name="id2615783"></a><pre class="programlisting">void gimp_memsize_entry_set_value (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint64"
|
||||
>guint64</a> value);</pre>
|
||||
<p>
|
||||
Sets the <em class="parameter"><code>entry</code></em>'s value. Please note that the <a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry"><span class="type">GimpMemsizeEntry</span></a> rounds
|
||||
the value to full Kilobytes.</p>
|
||||
@ -184,9 +226,11 @@ the value to full Kilobytes.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2610881"></a><h3>
|
||||
<a name="id2612846"></a><h3>
|
||||
<a name="gimp-memsize-entry-get-value"></a>gimp_memsize_entry_get_value ()</h3>
|
||||
<a class="indexterm" name="id2610894"></a><pre class="programlisting">guint64 gimp_memsize_entry_get_value (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);</pre>
|
||||
<a class="indexterm" name="id2612859"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#guint64"
|
||||
>guint64</a> gimp_memsize_entry_get_value (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);</pre>
|
||||
<p>
|
||||
Retrieves the current value from a <a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry"><span class="type">GimpMemsizeEntry</span></a>.</p>
|
||||
<p>
|
||||
@ -210,12 +254,14 @@ Retrieves the current value from a <a href="GimpMemsizeEntry.html" title="GimpMe
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2613251"></a><h2>Signal Details</h2>
|
||||
<a name="id2612942"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2613262"></a><h3>
|
||||
<a name="id2612953"></a><h3>
|
||||
<a name="GimpMemsizeEntry-value-changed"></a>The "value-changed" signal</h3>
|
||||
<a class="indexterm" name="id2613271"></a><pre class="programlisting">void user_function (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *gimpmemsizeentry,
|
||||
gpointer user_data) : Run First</pre>
|
||||
<a class="indexterm" name="id2612962"></a><pre class="programlisting">void user_function (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *gimpmemsizeentry,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> user_data) : Run First</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user