Imported Upstream version 2.8.6
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GimpPropWidgets</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
||||
<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-utils.html" title="Part V. GIMP Widgets Utilities">
|
||||
<link rel="prev" href="libgimpwidgets-GimpEnumWidgets.html" title="GimpEnumWidgets">
|
||||
@ -194,8 +194,11 @@ boolean property. The combo box will have two entries, one
|
||||
displaying the <em class="parameter"><code>true_text</code></em> label, the other displaying the
|
||||
<em class="parameter"><code>false_text</code></em> label.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -233,8 +236,11 @@ Since GIMP 2.4</td>
|
||||
Creates a pair of radio buttons which function to set and display
|
||||
the specified boolean property.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -274,8 +280,11 @@ Since GIMP 2.4</td>
|
||||
Creates a <span class="type">GtkCheckButton</span> that displays and sets the specified
|
||||
boolean property.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -309,8 +318,11 @@ Since GIMP 2.4</td>
|
||||
Creates a <a class="link" href="GimpColorArea.html" title="GimpColorArea"><span class="type">GimpColorArea</span></a> to set and display the value of an RGB
|
||||
property.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -371,8 +383,11 @@ Creates a <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span
|
||||
properties, which will usually represent X and Y coordinates, and
|
||||
their associated unit property.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -430,8 +445,11 @@ Since GIMP 2.4</td>
|
||||
Creates a <span class="type">GtkEntry</span> to set and display the value of the specified
|
||||
string property.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -467,8 +485,11 @@ property of type Enum. Note that this widget only allows two values
|
||||
for the enum, one corresponding to the "checked" state and the
|
||||
other to the "unchecked" state.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -512,8 +533,11 @@ possibility of restricting the allowed range to a subset of the
|
||||
enum. If the two values are equal (e.g., 0, 0), then the full
|
||||
range of the Enum is used.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -544,8 +568,11 @@ Since GIMP 2.4</td>
|
||||
<a name="gimp-prop-enum-label-new"></a><h3>gimp_prop_enum_label_new ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * gimp_prop_enum_label_new (<em class="parameter"><code><span class="type">GObject</span> *config</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);</pre>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -578,8 +605,11 @@ are equal (e.g., 0, 0), then the full range of the enum will be used.
|
||||
If you want to assign a label to the group of radio buttons, use
|
||||
<a class="link" href="libgimpwidgets-GimpPropWidgets.html#gimp-prop-enum-radio-frame-new" title="gimp_prop_enum_radio_frame_new ()"><code class="function">gimp_prop_enum_radio_frame_new()</code></a> instead of this function.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -619,8 +649,11 @@ the specified enum property. The <em class="parameter"><code>minimum</code></em
|
||||
allow only a subset of the enum to be used. If the two arguments
|
||||
are equal (e.g., 0, 0), then the full range of the enum will be used.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -665,8 +698,11 @@ property. The stock_id for each icon is created by appending the
|
||||
enum_value's nick to the given <em class="parameter"><code>stock_prefix</code></em>. See
|
||||
<a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new" title="gimp_enum_stock_box_new ()"><code class="function">gimp_enum_stock_box_new()</code></a> for more information.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -707,8 +743,11 @@ Creates a <span class="type">GtkExpander</span> controlled by the specified bool
|
||||
A value of <code class="literal">TRUE</code> for the property corresponds to the expanded state
|
||||
for the widget.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -744,8 +783,11 @@ Creates a <span class="type">GtkFileChooserButton</span> to edit the specified p
|
||||
Note that <span class="type">GtkFileChooserButton</span> implements the <span class="type">GtkFileChooser</span>
|
||||
interface; you can use the <span class="type">GtkFileChooser</span> API with it.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -790,8 +832,11 @@ must be a <span class="type">GtkFileChooserDialog</span> (or subclass) and must
|
||||
Note that <span class="type">GtkFileChooserButton</span> implements the <span class="type">GtkFileChooser</span>
|
||||
interface; you can use the <span class="type">GtkFileChooser</span> API with it.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -825,8 +870,11 @@ Since GIMP 2.4</td>
|
||||
Creates a horizontal scale to control the value of the specified
|
||||
integer or double property.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -867,8 +915,11 @@ Creates a <a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox"><s
|
||||
property. The contents of the widget are determined by <em class="parameter"><code>store</code></em>,
|
||||
which should be created using <a class="link" href="GimpIntStore.html#gimp-int-store-new" title="gimp_int_store_new ()"><code class="function">gimp_int_store_new()</code></a>.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -902,8 +953,11 @@ The property should be a string property or at least transformable
|
||||
to a string. If the user should be able to edit the string, use
|
||||
<a class="link" href="libgimpwidgets-GimpPropWidgets.html#gimp-prop-entry-new" title="gimp_prop_entry_new ()"><code class="function">gimp_prop_entry_new()</code></a> instead.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -931,8 +985,11 @@ Creates a <a class="link" href="GimpMemsizeEntry.html" title="GimpMemSizeEntry">
|
||||
and display the value of the specified memsize property. See
|
||||
<a class="link" href="GimpMemsizeEntry.html#gimp-memsize-entry-new" title="gimp_memsize_entry_new ()"><code class="function">gimp_memsize_entry_new()</code></a> for more information.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -965,8 +1022,11 @@ to set and display the value of the specified double property,
|
||||
which should represent an "opacity" variable with range 0 to 100.
|
||||
See <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new" title="gimp_scale_entry_new ()"><code class="function">gimp_scale_entry_new()</code></a> for more information.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -1031,8 +1091,11 @@ Creates a <span class="type">libgimpwidgets-gimpscaleentry</span> (slider and sp
|
||||
to set and display the value of the specified double property. See
|
||||
<a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new" title="gimp_scale_entry_new ()"><code class="function">gimp_scale_entry_new()</code></a> for more information.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -1110,8 +1173,11 @@ function is only suitable for creating a size entry holding a
|
||||
single value. Use <a class="link" href="libgimpwidgets-GimpPropWidgets.html#gimp-prop-coordinates-new" title="gimp_prop_coordinates_new ()"><code class="function">gimp_prop_coordinates_new()</code></a> to create a size
|
||||
entry holding two values.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -1164,8 +1230,11 @@ Since GIMP 2.4</td>
|
||||
Creates a spin button to set and display the value of the
|
||||
specified double property.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -1206,8 +1275,11 @@ Creates a widget to display a stock image representing the value of the
|
||||
specified string property, which should encode a Stock ID.
|
||||
See <code class="function">gtk_image_new_from_stock()</code> for more information.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -1242,8 +1314,11 @@ Creates a <a class="link" href="GimpStringComboBox.html" title="GimpStringComboB
|
||||
specified property. The contents of the widget are determined by
|
||||
<em class="parameter"><code>store</code></em>.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -1291,8 +1366,11 @@ how to insert a text buffer into a visible widget.
|
||||
If <em class="parameter"><code>max_len</code></em> is 0 or negative, the text buffer allows an unlimited
|
||||
number of characters to be entered.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -1323,8 +1401,11 @@ Since GIMP 2.4</td>
|
||||
Creates a <a class="link" href="GimpUnitComboBox.html" title="GimpUnitComboBox"><span class="type">GimpUnitComboBox</span></a> to set and display the value of a Unit
|
||||
property. See <a class="link" href="GimpUnitComboBox.html#gimp-unit-combo-box-new" title="gimp_unit_combo_box_new ()"><code class="function">gimp_unit_combo_box_new()</code></a> for more information.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
@ -1356,8 +1437,11 @@ Since GIMP 2.8</td>
|
||||
Creates a <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> to set and display the value of a Unit
|
||||
property. See <a class="link" href="GimpUnitMenu.html#gimp-unit-menu-new" title="gimp_unit_menu_new ()"><code class="function">gimp_unit_menu_new()</code></a> for more information.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
|
||||
|
||||
Reference in New Issue
Block a user