Imported Upstream version 2.2.15

This commit is contained in:
Ari Pollak
2010-08-11 01:17:28 -04:00
parent a2f097051e
commit fa4c4bf0e0
341 changed files with 71841 additions and 17468 deletions

View File

@ -8,7 +8,7 @@
<link rel="up" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
<link rel="prev" href="libgimpwidgets-GimpHelpUI.html" title="GimpHelpUI">
<link rel="next" href="GimpSizeEntry.html" title="GimpSizeEntry">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<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&#160;I.&#160;GIMP Widgets">
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
@ -28,16 +28,16 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpSizeEntry.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="#id2615080" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2609645" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2627494" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2626159" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpwidgets-GimpQueryBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2615080"></a><span class="refentrytitle">GimpQueryBox</span>
<a name="id2609645"></a><span class="refentrytitle">GimpQueryBox</span>
</h2>
<p>GimpQueryBox &#8212; Some simple dialogs to enter a single int, double, string or boolean value.</p>
</td>
@ -49,94 +49,94 @@
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback">*GimpQueryStringCallback</a>) (GtkWidget *query_box,
const gchar *string,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback">*GimpQueryIntCallback</a>) (GtkWidget *query_box,
gint value,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback">*GimpQueryDoubleCallback</a>) (GtkWidget *query_box,
gdouble value,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback">*GimpQuerySizeCallback</a>) (GtkWidget *query_box,
gdouble size,
<a
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback">*GimpQueryStringCallback</a>) (GtkWidget *query_box,
const gchar *string,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback">*GimpQueryIntCallback</a>) (GtkWidget *query_box,
gint value,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback">*GimpQueryDoubleCallback</a>) (GtkWidget *query_box,
gdouble value,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback">*GimpQuerySizeCallback</a>) (GtkWidget *query_box,
gdouble size,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback">*GimpQueryBooleanCallback</a>) (GtkWidget *query_box,
gboolean value,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-string-box">gimp_query_string_box</a> (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
const gchar *initial,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback">GimpQueryStringCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-int-box">gimp_query_int_box</a> (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gint initial,
gint lower,
gint upper,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback">GimpQueryIntCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-double-box">gimp_query_double_box</a> (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback">GimpQueryDoubleCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-size-box">gimp_query_size_box</a> (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
<a
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback">*GimpQueryBooleanCallback</a>) (GtkWidget *query_box,
gboolean value,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-string-box">gimp_query_string_box</a> (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
const gchar *initial,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback">GimpQueryStringCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-int-box">gimp_query_int_box</a> (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gint initial,
gint lower,
gint upper,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback">GimpQueryIntCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-double-box">gimp_query_double_box</a> (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback">GimpQueryDoubleCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-size-box">gimp_query_size_box</a> (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gdouble resolution,
gboolean dot_for_dot,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback">GimpQuerySizeCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-boolean-box">gimp_query_boolean_box</a> (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *stock_id,
const gchar *message,
const gchar *true_button,
const gchar *false_button,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback">GimpQueryBooleanCallback</a> callback,
gpointer data);
#define <a href="libgimpwidgets-GimpQueryBox.html#GIMP-QUERY-BOX-VBOX:CAPS">GIMP_QUERY_BOX_VBOX</a> (qbox)
gdouble resolution,
gboolean dot_for_dot,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback">GimpQuerySizeCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-boolean-box">gimp_query_boolean_box</a> (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *stock_id,
const gchar *message,
const gchar *true_button,
const gchar *false_button,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback">GimpQueryBooleanCallback</a> callback,
gpointer data);
#define <a href="libgimpwidgets-GimpQueryBox.html#GIMP-QUERY-BOX-VBOX:CAPS">GIMP_QUERY_BOX_VBOX</a> (qbox)
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2627494"></a><h2>Description</h2>
<a name="id2626159"></a><h2>Description</h2>
<p>
These functions provide simple dialogs for entering a single string,
integer, double, boolean or pixel size value.
@ -153,13 +153,13 @@ callback function is called and returns the entered value.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2627540"></a><h2>Details</h2>
<a name="id2626205"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2627551"></a><h3>
<a name="id2626215"></a><h3>
<a name="GimpQueryStringCallback"></a>GimpQueryStringCallback ()</h3>
<a class="indexterm" name="id2627562"></a><pre class="programlisting">void (*GimpQueryStringCallback) (GtkWidget *query_box,
const gchar *string,
gpointer data);</pre>
<a class="indexterm" name="id2626227"></a><pre class="programlisting">void (*GimpQueryStringCallback) (GtkWidget *query_box,
const gchar *string,
gpointer data);</pre>
<p>
Note that you have to <code class="function">g_free()</code> the returned string.
</p>
@ -188,11 +188,11 @@ Note that you have to <code class="function">g_free()</code> the returned string
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627658"></a><h3>
<a name="id2626324"></a><h3>
<a name="GimpQueryIntCallback"></a>GimpQueryIntCallback ()</h3>
<a class="indexterm" name="id2627669"></a><pre class="programlisting">void (*GimpQueryIntCallback) (GtkWidget *query_box,
gint value,
gpointer data);</pre>
<a class="indexterm" name="id2626335"></a><pre class="programlisting">void (*GimpQueryIntCallback) (GtkWidget *query_box,
gint value,
gpointer data);</pre>
<p>
</p>
@ -221,11 +221,11 @@ Note that you have to <code class="function">g_free()</code> the returned string
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2632251"></a><h3>
<a name="id2631949"></a><h3>
<a name="GimpQueryDoubleCallback"></a>GimpQueryDoubleCallback ()</h3>
<a class="indexterm" name="id2632261"></a><pre class="programlisting">void (*GimpQueryDoubleCallback) (GtkWidget *query_box,
gdouble value,
gpointer data);</pre>
<a class="indexterm" name="id2631960"></a><pre class="programlisting">void (*GimpQueryDoubleCallback) (GtkWidget *query_box,
gdouble value,
gpointer data);</pre>
<p>
</p>
@ -254,14 +254,14 @@ Note that you have to <code class="function">g_free()</code> the returned string
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2632339"></a><h3>
<a name="id2632039"></a><h3>
<a name="GimpQuerySizeCallback"></a>GimpQuerySizeCallback ()</h3>
<a class="indexterm" name="id2632349"></a><pre class="programlisting">void (*GimpQuerySizeCallback) (GtkWidget *query_box,
gdouble size,
<a
<a class="indexterm" name="id2632049"></a><pre class="programlisting">void (*GimpQuerySizeCallback) (GtkWidget *query_box,
gdouble size,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gpointer data);</pre>
gpointer data);</pre>
<p>
</p>
@ -295,11 +295,11 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2632462"></a><h3>
<a name="id2632162"></a><h3>
<a name="GimpQueryBooleanCallback"></a>GimpQueryBooleanCallback ()</h3>
<a class="indexterm" name="id2632473"></a><pre class="programlisting">void (*GimpQueryBooleanCallback) (GtkWidget *query_box,
gboolean value,
gpointer data);</pre>
<a class="indexterm" name="id2632174"></a><pre class="programlisting">void (*GimpQueryBooleanCallback) (GtkWidget *query_box,
gboolean value,
gpointer data);</pre>
<p>
</p>
@ -328,18 +328,18 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2632560"></a><h3>
<a name="id2632262"></a><h3>
<a name="gimp-query-string-box"></a>gimp_query_string_box ()</h3>
<a class="indexterm" name="id2632572"></a><pre class="programlisting">GtkWidget* gimp_query_string_box (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
const gchar *initial,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback">GimpQueryStringCallback</a> callback,
gpointer data);</pre>
<a class="indexterm" name="id2632273"></a><pre class="programlisting">GtkWidget* gimp_query_string_box (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
const gchar *initial,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback">GimpQueryStringCallback</a> callback,
gpointer data);</pre>
<p>
Creates a new <span class="type">GtkDialog</span> that queries the user for a string value.</p>
<p>
@ -408,20 +408,20 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a st
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2632816"></a><h3>
<a name="id2632516"></a><h3>
<a name="gimp-query-int-box"></a>gimp_query_int_box ()</h3>
<a class="indexterm" name="id2632826"></a><pre class="programlisting">GtkWidget* gimp_query_int_box (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gint initial,
gint lower,
gint upper,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback">GimpQueryIntCallback</a> callback,
gpointer data);</pre>
<a class="indexterm" name="id2632527"></a><pre class="programlisting">GtkWidget* gimp_query_int_box (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gint initial,
gint lower,
gint upper,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback">GimpQueryIntCallback</a> callback,
gpointer data);</pre>
<p>
Creates a new <span class="type">GtkDialog</span> that queries the user for an integer value.</p>
<p>
@ -500,21 +500,21 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for an i
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2633112"></a><h3>
<a name="id2632813"></a><h3>
<a name="gimp-query-double-box"></a>gimp_query_double_box ()</h3>
<a class="indexterm" name="id2633123"></a><pre class="programlisting">GtkWidget* gimp_query_double_box (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback">GimpQueryDoubleCallback</a> callback,
gpointer data);</pre>
<a class="indexterm" name="id2632824"></a><pre class="programlisting">GtkWidget* gimp_query_double_box (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback">GimpQueryDoubleCallback</a> callback,
gpointer data);</pre>
<p>
Creates a new <span class="type">GtkDialog</span> that queries the user for a double value.</p>
<p>
@ -598,26 +598,26 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a do
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2633435"></a><h3>
<a name="id2633136"></a><h3>
<a name="gimp-query-size-box"></a>gimp_query_size_box ()</h3>
<a class="indexterm" name="id2633445"></a><pre class="programlisting">GtkWidget* gimp_query_size_box (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
<a
<a class="indexterm" name="id2633146"></a><pre class="programlisting">GtkWidget* gimp_query_size_box (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gdouble resolution,
gboolean dot_for_dot,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback">GimpQuerySizeCallback</a> callback,
gpointer data);</pre>
gdouble resolution,
gboolean dot_for_dot,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback">GimpQuerySizeCallback</a> callback,
gpointer data);</pre>
<p>
Creates a new <span class="type">GtkDialog</span> that queries the user for a size using a
<a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.</p>
@ -720,20 +720,20 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a si
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2633846"></a><h3>
<a name="id2633549"></a><h3>
<a name="gimp-query-boolean-box"></a>gimp_query_boolean_box ()</h3>
<a class="indexterm" name="id2633856"></a><pre class="programlisting">GtkWidget* gimp_query_boolean_box (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *stock_id,
const gchar *message,
const gchar *true_button,
const gchar *false_button,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback">GimpQueryBooleanCallback</a> callback,
gpointer data);</pre>
<a class="indexterm" name="id2633560"></a><pre class="programlisting">GtkWidget* gimp_query_boolean_box (const gchar *title,
GtkWidget *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *stock_id,
const gchar *message,
const gchar *true_button,
const gchar *false_button,
GObject *object,
const gchar *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback">GimpQueryBooleanCallback</a> callback,
gpointer data);</pre>
<p>
Creates a new <span class="type">GtkDialog</span> that asks the user to do a boolean decision.</p>
<p>
@ -815,9 +815,9 @@ Creates a new <span class="type">GtkDialog</span> that asks the user to do a boo
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634146"></a><h3>
<a name="id2633851"></a><h3>
<a name="GIMP-QUERY-BOX-VBOX:CAPS"></a>GIMP_QUERY_BOX_VBOX()</h3>
<a class="indexterm" name="id2634156"></a><pre class="programlisting">#define GIMP_QUERY_BOX_VBOX(qbox)</pre>
<a class="indexterm" name="id2633862"></a><pre class="programlisting">#define GIMP_QUERY_BOX_VBOX(qbox)</pre>
<p>
A macro to access the <span class="type">GtkVBox</span> in a <span class="type">GimpQueryBox</span>. Useful if you want to add
more widgets.
@ -835,7 +835,7 @@ more widgets.
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2634202"></a><h2>See Also</h2>
<a name="id2633908"></a><h2>See Also</h2>
<p>
GimpSizeEntry
</p>