Imported Upstream version 2.4.0~rc3
This commit is contained in:
@ -31,24 +31,24 @@
|
||||
<th width="100%" align="center">GIMP Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimp-gimpbrushselect.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="#id2578252" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2605867" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2719969" class="shortcut">Description</a>
|
||||
<a href="#id2724122" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#id2591212" class="shortcut">Object Hierarchy</a>
|
||||
<a href="#id2591093" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#id2718798" class="shortcut">Implemented Interfaces</a>
|
||||
<a href="#id2724032" class="shortcut">Implemented Interfaces</a>
|
||||
 | 
|
||||
<a href="#id2718823" class="shortcut">Properties</a>
|
||||
<a href="#id2724058" class="shortcut">Properties</a>
|
||||
 | 
|
||||
<a href="#id2718864" class="shortcut">Signals</a></nobr></td></tr>
|
||||
<a href="#id2724098" class="shortcut">Signals</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="GimpPatternSelectButton"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2578252"></a><span class="refentrytitle">GimpPatternSelectButton</span>
|
||||
<a name="id2605867"></a><span class="refentrytitle">GimpPatternSelectButton</span>
|
||||
</h2>
|
||||
<p>GimpPatternSelectButton</p>
|
||||
</td>
|
||||
@ -61,76 +61,112 @@
|
||||
|
||||
|
||||
<a class="link" href="GimpPatternSelectButton.html#GimpPatternSelectButton-struct">GimpPatternSelectButton</a>;
|
||||
GtkWidget* <a class="link" href="GimpPatternSelectButton.html#gimp-pattern-select-button-new">gimp_pattern_select_button_new</a> (const gchar *title,
|
||||
const gchar *pattern_name);
|
||||
const gchar* <a class="link" href="GimpPatternSelectButton.html#gimp-pattern-select-button-get-pattern">gimp_pattern_select_button_get_pattern</a>
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a class="link" href="GimpPatternSelectButton.html#gimp-pattern-select-button-new">gimp_pattern_select_button_new</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *title,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *pattern_name);
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a class="link" href="GimpPatternSelectButton.html#gimp-pattern-select-button-get-pattern">gimp_pattern_select_button_get_pattern</a>
|
||||
(<a class="link" href="GimpPatternSelectButton.html" title="GimpPatternSelectButton">GimpPatternSelectButton</a> *button);
|
||||
void <a class="link" href="GimpPatternSelectButton.html#gimp-pattern-select-button-set-pattern">gimp_pattern_select_button_set_pattern</a>
|
||||
(<a class="link" href="GimpPatternSelectButton.html" title="GimpPatternSelectButton">GimpPatternSelectButton</a> *button,
|
||||
const gchar *pattern_name);
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *pattern_name);
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2591212"></a><h2>Object Hierarchy</h2>
|
||||
<a name="id2591093"></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>
|
||||
+----<a class="link" href="GimpSelectButton.html" title="GimpSelectButton">GimpSelectButton</a>
|
||||
+----GimpPatternSelectButton
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2718798"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="id2724032"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpPatternSelectButton implements
|
||||
AtkImplementorIface and GtkBuildable.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2718823"></a><h2>Properties</h2>
|
||||
<a name="id2724058"></a><h2>Properties</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<a class="link" href="GimpPatternSelectButton.html#GimpPatternSelectButton--pattern-name">pattern-name</a>" gchararray : Read / Write
|
||||
"<a class="link" href="GimpPatternSelectButton.html#GimpPatternSelectButton--title">title</a>" gchararray : Read / Write / Construct Only
|
||||
"<a class="link" href="GimpPatternSelectButton.html#GimpPatternSelectButton--pattern-name">pattern-name</a>" <a
|
||||
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
|
||||
>gchararray</a> : Read / Write
|
||||
"<a class="link" href="GimpPatternSelectButton.html#GimpPatternSelectButton--title">title</a>" <a
|
||||
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
|
||||
>gchararray</a> : Read / Write / Construct Only
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2718864"></a><h2>Signals</h2>
|
||||
<a name="id2724098"></a><h2>Signals</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<a class="link" href="GimpPatternSelectButton.html#GimpPatternSelectButton-pattern-set">pattern-set</a>" : Run First
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2719969"></a><h2>Description</h2>
|
||||
<a name="id2724122"></a><h2>Description</h2>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2719984"></a><h2>Details</h2>
|
||||
<a name="id2724138"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2719995"></a><h3>
|
||||
<a name="id2724148"></a><h3>
|
||||
<a name="GimpPatternSelectButton-struct"></a>GimpPatternSelectButton</h3>
|
||||
<a class="indexterm" name="id2720006"></a><pre class="programlisting">typedef struct _GimpPatternSelectButton GimpPatternSelectButton;</pre>
|
||||
<a class="indexterm" name="id2724159"></a><pre class="programlisting">typedef struct _GimpPatternSelectButton GimpPatternSelectButton;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2720022"></a><h3>
|
||||
<a name="id2724175"></a><h3>
|
||||
<a name="gimp-pattern-select-button-new"></a>gimp_pattern_select_button_new ()</h3>
|
||||
<a class="indexterm" name="id2720035"></a><pre class="programlisting">GtkWidget* gimp_pattern_select_button_new (const gchar *title,
|
||||
const gchar *pattern_name);</pre>
|
||||
<a class="indexterm" name="id2724188"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_pattern_select_button_new (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *title,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *pattern_name);</pre>
|
||||
<p>
|
||||
Creates a new <span class="type">GtkWidget</span> that completely controls the selection of
|
||||
Creates a new <a
|
||||
href="../gtk/GtkWidget.html"
|
||||
><span class="type">GtkWidget</span></a> that completely controls the selection of
|
||||
a pattern. This widget is suitable for placement in a table in a
|
||||
plug-in dialog.</p>
|
||||
<p>
|
||||
@ -141,17 +177,23 @@ plug-in dialog.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
|
||||
<td> Title of the dialog to use or <code class="literal">NULL</code> to use the default title.
|
||||
<td> Title of the dialog to use or <a
|
||||
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
|
||||
><code class="literal">NULL</code></a> to use the default title.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>pattern_name</code></em> :</span></p></td>
|
||||
<td> Initial pattern name or <code class="literal">NULL</code> to use current selection.
|
||||
<td> Initial pattern name or <a
|
||||
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
|
||||
><code class="literal">NULL</code></a> to use current selection.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> A <span class="type">GtkWidget</span> that you can use in your UI.
|
||||
<td> A <a
|
||||
href="../gtk/GtkWidget.html"
|
||||
><span class="type">GtkWidget</span></a> that you can use in your UI.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@ -162,9 +204,11 @@ plug-in dialog.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2722122"></a><h3>
|
||||
<a name="id2719591"></a><h3>
|
||||
<a name="gimp-pattern-select-button-get-pattern"></a>gimp_pattern_select_button_get_pattern ()</h3>
|
||||
<a class="indexterm" name="id2722136"></a><pre class="programlisting">const gchar* gimp_pattern_select_button_get_pattern
|
||||
<a class="indexterm" name="id2719604"></a><pre class="programlisting">const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_pattern_select_button_get_pattern
|
||||
(<a class="link" href="GimpPatternSelectButton.html" title="GimpPatternSelectButton">GimpPatternSelectButton</a> *button);</pre>
|
||||
<p>
|
||||
Retrieves the name of currently selected pattern.</p>
|
||||
@ -192,11 +236,13 @@ Retrieves the name of currently selected pattern.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2722212"></a><h3>
|
||||
<a name="id2719680"></a><h3>
|
||||
<a name="gimp-pattern-select-button-set-pattern"></a>gimp_pattern_select_button_set_pattern ()</h3>
|
||||
<a class="indexterm" name="id2722227"></a><pre class="programlisting">void gimp_pattern_select_button_set_pattern
|
||||
<a class="indexterm" name="id2719696"></a><pre class="programlisting">void gimp_pattern_select_button_set_pattern
|
||||
(<a class="link" href="GimpPatternSelectButton.html" title="GimpPatternSelectButton">GimpPatternSelectButton</a> *button,
|
||||
const gchar *pattern_name);</pre>
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *pattern_name);</pre>
|
||||
<p>
|
||||
Sets the current pattern for the pattern select button.</p>
|
||||
<p>
|
||||
@ -212,7 +258,9 @@ Sets the current pattern for the pattern select button.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>pattern_name</code></em> :</span></p></td>
|
||||
<td> Pattern name to set; <code class="literal">NULL</code> means no change.
|
||||
<td> Pattern name to set; <a
|
||||
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
|
||||
><code class="literal">NULL</code></a> means no change.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -222,11 +270,13 @@ Sets the current pattern for the pattern select button.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2722322"></a><h2>Property Details</h2>
|
||||
<a name="id2710586"></a><h2>Property Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2722332"></a><h3>
|
||||
<a name="id2710596"></a><h3>
|
||||
<a name="GimpPatternSelectButton--pattern-name"></a>The "<code class="literal">pattern-name</code>" property</h3>
|
||||
<a class="indexterm" name="id2718340"></a><pre class="programlisting"> "pattern-name" gchararray : Read / Write</pre>
|
||||
<a class="indexterm" name="id2710612"></a><pre class="programlisting"> "pattern-name" <a
|
||||
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
|
||||
>gchararray</a> : Read / Write</pre>
|
||||
<p>
|
||||
The name of the currently selected pattern.</p>
|
||||
<p>
|
||||
@ -238,9 +288,11 @@ The name of the currently selected pattern.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2718374"></a><h3>
|
||||
<a name="id2710646"></a><h3>
|
||||
<a name="GimpPatternSelectButton--title"></a>The "<code class="literal">title</code>" property</h3>
|
||||
<a class="indexterm" name="id2718387"></a><pre class="programlisting"> "title" gchararray : Read / Write / Construct Only</pre>
|
||||
<a class="indexterm" name="id2710660"></a><pre class="programlisting"> "title" <a
|
||||
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
|
||||
>gchararray</a> : Read / Write / Construct Only</pre>
|
||||
<p>
|
||||
The title to be used for the pattern selection popup dialog.</p>
|
||||
<p>
|
||||
@ -252,18 +304,32 @@ The title to be used for the pattern selection popup dialog.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2718424"></a><h2>Signal Details</h2>
|
||||
<a name="id2710696"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2718434"></a><h3>
|
||||
<a name="id2710706"></a><h3>
|
||||
<a name="GimpPatternSelectButton-pattern-set"></a>The "pattern-set" signal</h3>
|
||||
<a class="indexterm" name="id2718442"></a><pre class="programlisting">void user_function (<a class="link" href="GimpPatternSelectButton.html" title="GimpPatternSelectButton">GimpPatternSelectButton</a> *widget,
|
||||
gchar *pattern_name,
|
||||
gint width,
|
||||
gint height,
|
||||
gint bpp,
|
||||
gpointer mask_data,
|
||||
gboolean dialog_closing,
|
||||
gpointer user_data) : Run First</pre>
|
||||
<a class="indexterm" name="id2710714"></a><pre class="programlisting">void user_function (<a class="link" href="GimpPatternSelectButton.html" title="GimpPatternSelectButton">GimpPatternSelectButton</a> *widget,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *pattern_name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> width,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> height,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> bpp,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> mask_data,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> dialog_closing,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> user_data) : Run First</pre>
|
||||
<p>
|
||||
The ::pattern-set signal is emitted when the user selects a pattern.</p>
|
||||
<p>
|
||||
|
Reference in New Issue
Block a user