Imported Upstream version 2.4.0~rc1

This commit is contained in:
Ari Pollak
2010-08-11 01:22:21 -04:00
parent 5516c26b4b
commit d884b2912c
672 changed files with 122964 additions and 82169 deletions

View File

@ -31,24 +31,24 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="GimpGradientSelectButton.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="#id2588767" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2642102" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2693298" class="shortcut">Description</a>
<a href="#id2694636" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2670409" class="shortcut">Object Hierarchy</a>
<a href="#id2597530" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2693213" class="shortcut">Implemented Interfaces</a>
<a href="#id2694552" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2693234" class="shortcut">Properties</a>
<a href="#id2694572" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2693274" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2694613" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpFontSelectButton"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2588767"></a><span class="refentrytitle">GimpFontSelectButton</span>
<a name="id2642102"></a><span class="refentrytitle">GimpFontSelectButton</span>
</h2>
<p>GimpFontSelectButton</p>
</td>
@ -61,74 +61,110 @@
<a href="GimpFontSelectButton.html#GimpFontSelectButton-struct">GimpFontSelectButton</a>;
GtkWidget* <a href="GimpFontSelectButton.html#gimp-font-select-button-new">gimp_font_select_button_new</a> (const gchar *title,
const gchar *font_name);
const gchar* <a href="GimpFontSelectButton.html#gimp-font-select-button-get-font">gimp_font_select_button_get_font</a> (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpFontSelectButton.html#gimp-font-select-button-new">gimp_font_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> *font_name);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GimpFontSelectButton.html#gimp-font-select-button-get-font">gimp_font_select_button_get_font</a> (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button);
void <a href="GimpFontSelectButton.html#gimp-font-select-button-set-font">gimp_font_select_button_set_font</a> (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button,
const gchar *font_name);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *font_name);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2670409"></a><h2>Object Hierarchy</h2>
<a name="id2597530"></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 href="GimpSelectButton.html" title="GimpSelectButton">GimpSelectButton</a>
+----GimpFontSelectButton
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2693213"></a><h2>Implemented Interfaces</h2>
<a name="id2694552"></a><h2>Implemented Interfaces</h2>
<p>
GimpFontSelectButton implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2693234"></a><h2>Properties</h2>
<a name="id2694572"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpFontSelectButton.html#GimpFontSelectButton--font-name">font-name</a>" gchararray : Read / Write
"<a href="GimpFontSelectButton.html#GimpFontSelectButton--title">title</a>" gchararray : Read / Write / Construct Only
"<a href="GimpFontSelectButton.html#GimpFontSelectButton--font-name">font-name</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write
"<a href="GimpFontSelectButton.html#GimpFontSelectButton--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="id2693274"></a><h2>Signals</h2>
<a name="id2694613"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpFontSelectButton.html#GimpFontSelectButton-font-set">font-set</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2693298"></a><h2>Description</h2>
<a name="id2694636"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2691325"></a><h2>Details</h2>
<a name="id2700912"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2691336"></a><h3>
<a name="id2700922"></a><h3>
<a name="GimpFontSelectButton-struct"></a>GimpFontSelectButton</h3>
<a class="indexterm" name="id2691347"></a><pre class="programlisting">typedef struct _GimpFontSelectButton GimpFontSelectButton;</pre>
<a class="indexterm" name="id2700933"></a><pre class="programlisting">typedef struct _GimpFontSelectButton GimpFontSelectButton;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2691362"></a><h3>
<a name="id2700949"></a><h3>
<a name="gimp-font-select-button-new"></a>gimp_font_select_button_new ()</h3>
<a class="indexterm" name="id2691376"></a><pre class="programlisting">GtkWidget* gimp_font_select_button_new (const gchar *title,
const gchar *font_name);</pre>
<a class="indexterm" name="id2700962"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_font_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> *font_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 font. This widget is suitable for placement in a table in a
plug-in dialog.</p>
<p>
@ -139,7 +175,9 @@ plug-in dialog.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></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>
@ -149,7 +187,9 @@ plug-in dialog.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></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>
@ -160,9 +200,11 @@ plug-in dialog.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2702868"></a><h3>
<a name="id2703105"></a><h3>
<a name="gimp-font-select-button-get-font"></a>gimp_font_select_button_get_font ()</h3>
<a class="indexterm" name="id2702882"></a><pre class="programlisting">const gchar* gimp_font_select_button_get_font (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button);</pre>
<a class="indexterm" name="id2703119"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_font_select_button_get_font (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button);</pre>
<p>
Retrieves the name of currently selected font.</p>
<p>
@ -189,10 +231,12 @@ Retrieves the name of currently selected font.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2702957"></a><h3>
<a name="id2703194"></a><h3>
<a name="gimp-font-select-button-set-font"></a>gimp_font_select_button_set_font ()</h3>
<a class="indexterm" name="id2702970"></a><pre class="programlisting">void gimp_font_select_button_set_font (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button,
const gchar *font_name);</pre>
<a class="indexterm" name="id2703207"></a><pre class="programlisting">void gimp_font_select_button_set_font (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *font_name);</pre>
<p>
Sets the current font for the font select button.</p>
<p>
@ -208,7 +252,9 @@ Sets the current font for the font select button.</p>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
<td> Font name to set; <code class="literal">NULL</code> means no change.
<td> Font name to set; <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> means no change.
</td>
</tr>
</tbody>
@ -218,11 +264,13 @@ Sets the current font for the font select button.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2703064"></a><h2>Property Details</h2>
<a name="id2703301"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2703074"></a><h3>
<a name="id2703310"></a><h3>
<a name="GimpFontSelectButton--font-name"></a>The "<code class="literal">font-name</code>" property</h3>
<a class="indexterm" name="id2703087"></a><pre class="programlisting"> "font-name" gchararray : Read / Write</pre>
<a class="indexterm" name="id2703324"></a><pre class="programlisting"> "font-name" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write</pre>
<p>
The name of the currently selected font.</p>
<p>
@ -234,9 +282,11 @@ The name of the currently selected font.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2702080"></a><h3>
<a name="id2690514"></a><h3>
<a name="GimpFontSelectButton--title"></a>The "<code class="literal">title</code>" property</h3>
<a class="indexterm" name="id2702094"></a><pre class="programlisting"> "title" gchararray : Read / Write / Construct Only</pre>
<a class="indexterm" name="id2690527"></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 font selection popup dialog.</p>
<p>
@ -248,14 +298,20 @@ The title to be used for the font selection popup dialog.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2702129"></a><h2>Signal Details</h2>
<a name="id2690562"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2702139"></a><h3>
<a name="id2690572"></a><h3>
<a name="GimpFontSelectButton-font-set"></a>The "font-set" signal</h3>
<a class="indexterm" name="id2702147"></a><pre class="programlisting">void user_function (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *widget,
gchar *font_name,
gboolean dialog_closing,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2690580"></a><pre class="programlisting">void user_function (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *font_name,
<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 ::font-set signal is emitted when the user selects a font.</p>
<p>