Imported Upstream version 2.2.14
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>GimpQueryBox</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
|
||||
<link rel="up" href="libgimpwidgets-utils.html" title="Part V. 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.6 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
|
||||
@ -28,21 +28,23 @@
|
||||
<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="#top_of_page" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2615080" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#desc" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2627494" 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><span class="refentrytitle"><a name="top_of_page"></a>GimpQueryBox</span></h2>
|
||||
<h2>
|
||||
<a name="id2615080"></a><span class="refentrytitle">GimpQueryBox</span>
|
||||
</h2>
|
||||
<p>GimpQueryBox — Some simple dialogs to enter a single int, double, string or boolean value.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<a name="synopsis"></a><h2>Synopsis</h2>
|
||||
<h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
|
||||
@ -134,7 +136,7 @@ GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-boolean-box">gi
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="desc"></a><h2>Description</h2>
|
||||
<a name="id2627494"></a><h2>Description</h2>
|
||||
<p>
|
||||
These functions provide simple dialogs for entering a single string,
|
||||
integer, double, boolean or pixel size value.
|
||||
@ -151,11 +153,11 @@ callback function is called and returns the entered value.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<a name="id2627540"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594443"></a><h3>
|
||||
<a name="id2627551"></a><h3>
|
||||
<a name="GimpQueryStringCallback"></a>GimpQueryStringCallback ()</h3>
|
||||
<a class="indexterm" name="id2594454"></a><pre class="programlisting">void (*GimpQueryStringCallback) (GtkWidget *query_box,
|
||||
<a class="indexterm" name="id2627562"></a><pre class="programlisting">void (*GimpQueryStringCallback) (GtkWidget *query_box,
|
||||
const gchar *string,
|
||||
gpointer data);</pre>
|
||||
<p>
|
||||
@ -165,20 +167,17 @@ Note that you have to <code class="function">g_free()</code> the returned string
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>query_box</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>query_box</code></em> :</span></td>
|
||||
<td>The query box.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>string</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>string</code></em> :</span></td>
|
||||
<td>The entered string.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td>The user data.
|
||||
|
||||
|
||||
@ -189,9 +188,9 @@ Note that you have to <code class="function">g_free()</code> the returned string
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594549"></a><h3>
|
||||
<a name="id2627658"></a><h3>
|
||||
<a name="GimpQueryIntCallback"></a>GimpQueryIntCallback ()</h3>
|
||||
<a class="indexterm" name="id2594560"></a><pre class="programlisting">void (*GimpQueryIntCallback) (GtkWidget *query_box,
|
||||
<a class="indexterm" name="id2627669"></a><pre class="programlisting">void (*GimpQueryIntCallback) (GtkWidget *query_box,
|
||||
gint value,
|
||||
gpointer data);</pre>
|
||||
<p>
|
||||
@ -201,20 +200,17 @@ Note that you have to <code class="function">g_free()</code> the returned string
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>query_box</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>query_box</code></em> :</span></td>
|
||||
<td>The query box.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td>The entered integer value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td>The user data.
|
||||
|
||||
|
||||
@ -225,9 +221,9 @@ Note that you have to <code class="function">g_free()</code> the returned string
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599096"></a><h3>
|
||||
<a name="id2632251"></a><h3>
|
||||
<a name="GimpQueryDoubleCallback"></a>GimpQueryDoubleCallback ()</h3>
|
||||
<a class="indexterm" name="id2599106"></a><pre class="programlisting">void (*GimpQueryDoubleCallback) (GtkWidget *query_box,
|
||||
<a class="indexterm" name="id2632261"></a><pre class="programlisting">void (*GimpQueryDoubleCallback) (GtkWidget *query_box,
|
||||
gdouble value,
|
||||
gpointer data);</pre>
|
||||
<p>
|
||||
@ -237,20 +233,17 @@ Note that you have to <code class="function">g_free()</code> the returned string
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>query_box</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>query_box</code></em> :</span></td>
|
||||
<td>The query box.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td>The entered double value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td>The user data.
|
||||
|
||||
|
||||
@ -261,9 +254,9 @@ Note that you have to <code class="function">g_free()</code> the returned string
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599184"></a><h3>
|
||||
<a name="id2632339"></a><h3>
|
||||
<a name="GimpQuerySizeCallback"></a>GimpQuerySizeCallback ()</h3>
|
||||
<a class="indexterm" name="id2599194"></a><pre class="programlisting">void (*GimpQuerySizeCallback) (GtkWidget *query_box,
|
||||
<a class="indexterm" name="id2632349"></a><pre class="programlisting">void (*GimpQuerySizeCallback) (GtkWidget *query_box,
|
||||
gdouble size,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
@ -276,26 +269,22 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>query_box</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>query_box</code></em> :</span></td>
|
||||
<td>The query box.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>size</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>size</code></em> :</span></td>
|
||||
<td>The entered size in pixels.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td>The selected unit from the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td>The user data.
|
||||
|
||||
|
||||
@ -306,9 +295,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599307"></a><h3>
|
||||
<a name="id2632462"></a><h3>
|
||||
<a name="GimpQueryBooleanCallback"></a>GimpQueryBooleanCallback ()</h3>
|
||||
<a class="indexterm" name="id2599318"></a><pre class="programlisting">void (*GimpQueryBooleanCallback) (GtkWidget *query_box,
|
||||
<a class="indexterm" name="id2632473"></a><pre class="programlisting">void (*GimpQueryBooleanCallback) (GtkWidget *query_box,
|
||||
gboolean value,
|
||||
gpointer data);</pre>
|
||||
<p>
|
||||
@ -318,20 +307,17 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>query_box</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>query_box</code></em> :</span></td>
|
||||
<td>The query box.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td>The entered boolean value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td>The user data.
|
||||
|
||||
|
||||
@ -342,9 +328,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599406"></a><h3>
|
||||
<a name="id2632560"></a><h3>
|
||||
<a name="gimp-query-string-box"></a>gimp_query_string_box ()</h3>
|
||||
<a class="indexterm" name="id2599417"></a><pre class="programlisting">GtkWidget* gimp_query_string_box (const gchar *title,
|
||||
<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,
|
||||
@ -363,68 +349,57 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a st
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td> The query box dialog's title.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
|
||||
<td> The dialog's parent widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>help_func</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>help_func</code></em> :</span></td>
|
||||
<td> The help function to show this dialog's help page.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
|
||||
<td> A string identifying this dialog's help page.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>message</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>message</code></em> :</span></td>
|
||||
<td> A string which will be shown above the dialog's entry widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>initial</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>initial</code></em> :</span></td>
|
||||
<td> The initial value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>object</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>object</code></em> :</span></td>
|
||||
<td> The object this query box is associated with.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>signal</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>signal</code></em> :</span></td>
|
||||
<td> The object's signal which will cause the query box to be closed.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td> The function which will be called when the user selects "OK".
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td> The callback's user data.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A pointer to the new <span class="type">GtkDialog</span>.
|
||||
</td>
|
||||
</tr>
|
||||
@ -433,9 +408,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a st
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599686"></a><h3>
|
||||
<a name="id2632816"></a><h3>
|
||||
<a name="gimp-query-int-box"></a>gimp_query_int_box ()</h3>
|
||||
<a class="indexterm" name="id2599698"></a><pre class="programlisting">GtkWidget* gimp_query_int_box (const gchar *title,
|
||||
<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,
|
||||
@ -456,80 +431,67 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for an i
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td> The query box dialog's title.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
|
||||
<td> The dialog's parent widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>help_func</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>help_func</code></em> :</span></td>
|
||||
<td> The help function to show this dialog's help page.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
|
||||
<td> A string identifying this dialog's help page.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>message</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>message</code></em> :</span></td>
|
||||
<td> A string which will be shown above the dialog's entry widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>initial</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>initial</code></em> :</span></td>
|
||||
<td> The initial value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
|
||||
<td> The lower boundary of the range of possible values.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
|
||||
<td> The upper boundray of the range of possible values.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>object</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>object</code></em> :</span></td>
|
||||
<td> The object this query box is associated with.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>signal</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>signal</code></em> :</span></td>
|
||||
<td> The object's signal which will cause the query box to be closed.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td> The function which will be called when the user selects "OK".
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td> The callback's user data.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A pointer to the new <span class="type">GtkDialog</span>.
|
||||
</td>
|
||||
</tr>
|
||||
@ -538,9 +500,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for an i
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2600012"></a><h3>
|
||||
<a name="id2633112"></a><h3>
|
||||
<a name="gimp-query-double-box"></a>gimp_query_double_box ()</h3>
|
||||
<a class="indexterm" name="id2600023"></a><pre class="programlisting">GtkWidget* gimp_query_double_box (const gchar *title,
|
||||
<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,
|
||||
@ -562,86 +524,72 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a do
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td> The query box dialog's title.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
|
||||
<td> The dialog's parent widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>help_func</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>help_func</code></em> :</span></td>
|
||||
<td> The help function to show this dialog's help page.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
|
||||
<td> A string identifying this dialog's help page.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>message</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>message</code></em> :</span></td>
|
||||
<td> A string which will be shown above the dialog's entry widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>initial</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>initial</code></em> :</span></td>
|
||||
<td> The initial value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
|
||||
<td> The lower boundary of the range of possible values.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
|
||||
<td> The upper boundray of the range of possible values.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
|
||||
<td> The number of decimal digits the <span class="type">GtkSpinButton</span> will provide.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>object</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>object</code></em> :</span></td>
|
||||
<td> The object this query box is associated with.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>signal</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>signal</code></em> :</span></td>
|
||||
<td> The object's signal which will cause the query box to be closed.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td> The function which will be called when the user selects "OK".
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td> The callback's user data.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A pointer to the new <span class="type">GtkDialog</span>.
|
||||
</td>
|
||||
</tr>
|
||||
@ -650,9 +598,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a do
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2600366"></a><h3>
|
||||
<a name="id2633435"></a><h3>
|
||||
<a name="gimp-query-size-box"></a>gimp_query_size_box ()</h3>
|
||||
<a class="indexterm" name="id2600378"></a><pre class="programlisting">GtkWidget* gimp_query_size_box (const gchar *title,
|
||||
<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,
|
||||
@ -680,107 +628,90 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a si
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td> The query box dialog's title.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
|
||||
<td> The dialog's parent widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>help_func</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>help_func</code></em> :</span></td>
|
||||
<td> The help function to show this dialog's help page.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
|
||||
<td> A string identifying this dialog's help page.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>message</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>message</code></em> :</span></td>
|
||||
<td> A string which will be shown above the dialog's entry widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>initial</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>initial</code></em> :</span></td>
|
||||
<td> The initial value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
|
||||
<td> The lower boundary of the range of possible values.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
|
||||
<td> The upper boundray of the range of possible values.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
|
||||
<td> The number of decimal digits the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> provide in
|
||||
"pixel" mode.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td> The unit initially shown by the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>resolution</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>resolution</code></em> :</span></td>
|
||||
<td> The resolution (in dpi) which will be used for pixel/unit
|
||||
calculations.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>dot_for_dot</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>dot_for_dot</code></em> :</span></td>
|
||||
<td> <code class="literal">TRUE</code> if the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>'s initial unit should be "pixels".
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>object</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>object</code></em> :</span></td>
|
||||
<td> The object this query box is associated with.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>signal</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>signal</code></em> :</span></td>
|
||||
<td> The object's signal which will cause the query box
|
||||
to be closed.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td> The function which will be called when the user selects "OK".
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td> The callback's user data.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A pointer to the new <span class="type">GtkDialog</span>.
|
||||
</td>
|
||||
</tr>
|
||||
@ -789,9 +720,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a si
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2600819"></a><h3>
|
||||
<a name="id2633846"></a><h3>
|
||||
<a name="gimp-query-boolean-box"></a>gimp_query_boolean_box ()</h3>
|
||||
<a class="indexterm" name="id2600830"></a><pre class="programlisting">GtkWidget* gimp_query_boolean_box (const gchar *title,
|
||||
<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,
|
||||
@ -812,83 +743,70 @@ Creates a new <span class="type">GtkDialog</span> that asks the user to do a boo
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td> The query box dialog's title.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
|
||||
<td> The dialog's parent widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>help_func</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>help_func</code></em> :</span></td>
|
||||
<td> The help function to show this dialog's help page.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
|
||||
<td> A string identifying this dialog's help page.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>stock_id</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></td>
|
||||
<td> A stock_id to specify an icon to appear on the left
|
||||
on the dialog's message.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>message</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>message</code></em> :</span></td>
|
||||
<td> A string which will be shown in the query box.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>true_button</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>true_button</code></em> :</span></td>
|
||||
<td> The string to be shown in the dialog's left button.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>false_button</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>false_button</code></em> :</span></td>
|
||||
<td> The string to be shown in the dialog's right button.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>object</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>object</code></em> :</span></td>
|
||||
<td> The object this query box is associated with.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>signal</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>signal</code></em> :</span></td>
|
||||
<td> The object's signal which will cause the query box
|
||||
to be closed.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td> The function which will be called when the user clicks one
|
||||
of the buttons.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td> The callback's user data.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A pointer to the new <span class="type">GtkDialog</span>.
|
||||
</td>
|
||||
</tr>
|
||||
@ -897,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="id2601116"></a><h3>
|
||||
<a name="id2634146"></a><h3>
|
||||
<a name="GIMP-QUERY-BOX-VBOX:CAPS"></a>GIMP_QUERY_BOX_VBOX()</h3>
|
||||
<a class="indexterm" name="id2601126"></a><pre class="programlisting">#define GIMP_QUERY_BOX_VBOX(qbox)</pre>
|
||||
<a class="indexterm" name="id2634156"></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.
|
||||
@ -907,8 +825,7 @@ more widgets.
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>qbox</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>qbox</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -918,7 +835,7 @@ more widgets.
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2601172"></a><h2>See Also</h2>
|
||||
<a name="id2634202"></a><h2>See Also</h2>
|
||||
<p>
|
||||
GimpSizeEntry
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user