Imported Upstream version 2.4.0~rc2

This commit is contained in:
Ari Pollak
2010-08-11 01:22:44 -04:00
parent d884b2912c
commit 4be5597e32
576 changed files with 70261 additions and 80724 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpFontSelectButton</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
<link rel="prev" href="GimpBrushSelectButton.html" title="GimpBrushSelectButton">
@ -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="#id2642102" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2597595" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2694636" class="shortcut">Description</a>
<a href="#id2720230" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2597530" class="shortcut">Object Hierarchy</a>
<a href="#id2617764" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2694552" class="shortcut">Implemented Interfaces</a>
<a href="#id2708135" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2694572" class="shortcut">Properties</a>
<a href="#id2708161" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2694613" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2708202" 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="id2642102"></a><span class="refentrytitle">GimpFontSelectButton</span>
<a name="id2597595"></a><span class="refentrytitle">GimpFontSelectButton</span>
</h2>
<p>GimpFontSelectButton</p>
</td>
@ -60,111 +60,75 @@
<a href="GimpFontSelectButton.html#GimpFontSelectButton-struct">GimpFontSelectButton</a>;
<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 <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *font_name);
<a class="link" href="GimpFontSelectButton.html#GimpFontSelectButton-struct">GimpFontSelectButton</a>;
GtkWidget* <a class="link" href="GimpFontSelectButton.html#gimp-font-select-button-new">gimp_font_select_button_new</a> (const gchar *title,
const gchar *font_name);
const gchar* <a class="link" href="GimpFontSelectButton.html#gimp-font-select-button-get-font">gimp_font_select_button_get_font</a> (<a class="link" href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button);
void <a class="link" href="GimpFontSelectButton.html#gimp-font-select-button-set-font">gimp_font_select_button_set_font</a> (<a class="link" href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button,
const gchar *font_name);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2597530"></a><h2>Object Hierarchy</h2>
<a name="id2617764"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<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>
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkHBox
+----<a class="link" href="GimpSelectButton.html" title="GimpSelectButton">GimpSelectButton</a>
+----GimpFontSelectButton
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2694552"></a><h2>Implemented Interfaces</h2>
<a name="id2708135"></a><h2>Implemented Interfaces</h2>
<p>
GimpFontSelectButton implements
AtkImplementorIface.</p>
AtkImplementorIface and GtkBuildable.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2694572"></a><h2>Properties</h2>
<a name="id2708161"></a><h2>Properties</h2>
<pre class="synopsis">
"<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
"<a class="link" href="GimpFontSelectButton.html#GimpFontSelectButton--font-name">font-name</a>" gchararray : Read / Write
"<a class="link" href="GimpFontSelectButton.html#GimpFontSelectButton--title">title</a>" gchararray : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2694613"></a><h2>Signals</h2>
<a name="id2708202"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpFontSelectButton.html#GimpFontSelectButton-font-set">font-set</a>" : Run First
"<a class="link" href="GimpFontSelectButton.html#GimpFontSelectButton-font-set">font-set</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2694636"></a><h2>Description</h2>
<a name="id2720230"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2700912"></a><h2>Details</h2>
<a name="id2720245"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2700922"></a><h3>
<a name="id2720256"></a><h3>
<a name="GimpFontSelectButton-struct"></a>GimpFontSelectButton</h3>
<a class="indexterm" name="id2700933"></a><pre class="programlisting">typedef struct _GimpFontSelectButton GimpFontSelectButton;</pre>
<a class="indexterm" name="id2720267"></a><pre class="programlisting">typedef struct _GimpFontSelectButton GimpFontSelectButton;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2700949"></a><h3>
<a name="id2720283"></a><h3>
<a name="gimp-font-select-button-new"></a>gimp_font_select_button_new ()</h3>
<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>
<a class="indexterm" name="id2720296"></a><pre class="programlisting">GtkWidget* gimp_font_select_button_new (const gchar *title,
const gchar *font_name);</pre>
<p>
Creates a new <a
href="../gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> that completely controls the selection of
Creates a new <span class="type">GtkWidget</span> that completely controls the selection of
a font. This widget is suitable for placement in a table in a
plug-in dialog.</p>
<p>
@ -174,22 +138,18 @@ plug-in dialog.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
<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><p><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></p></td>
<td> Title of the dialog to use or <code class="literal">NULL</code> to use the default title.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></p></td>
<td> Initial font name.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A <a
href="../gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> that you can use in your UI.
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> A <span class="type">GtkWidget</span> that you can use in your UI.
</td>
</tr>
@ -200,11 +160,9 @@ href="../gtk/GtkWidget.html"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2703105"></a><h3>
<a name="id2720407"></a><h3>
<a name="gimp-font-select-button-get-font"></a>gimp_font_select_button_get_font ()</h3>
<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>
<a class="indexterm" name="id2720421"></a><pre class="programlisting">const gchar* gimp_font_select_button_get_font (<a class="link" href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button);</pre>
<p>
Retrieves the name of currently selected font.</p>
<p>
@ -214,12 +172,12 @@ Retrieves the name of currently selected font.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></td>
<td> A <a href="GimpFontSelectButton.html" title="GimpFontSelectButton"><span class="type">GimpFontSelectButton</span></a>
<td><p><span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></p></td>
<td> A <a class="link" href="GimpFontSelectButton.html" title="GimpFontSelectButton"><span class="type">GimpFontSelectButton</span></a>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> an internal copy of the font name which must not be freed.
</td>
@ -231,12 +189,10 @@ Retrieves the name of currently selected font.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2703194"></a><h3>
<a name="id2710379"></a><h3>
<a name="gimp-font-select-button-set-font"></a>gimp_font_select_button_set_font ()</h3>
<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>
<a class="indexterm" name="id2710392"></a><pre class="programlisting">void gimp_font_select_button_set_font (<a class="link" href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button,
const gchar *font_name);</pre>
<p>
Sets the current font for the font select button.</p>
<p>
@ -246,15 +202,13 @@ Sets the current font for the font select button.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></td>
<td> A <a href="GimpFontSelectButton.html" title="GimpFontSelectButton"><span class="type">GimpFontSelectButton</span></a>
<td><p><span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></p></td>
<td> A <a class="link" href="GimpFontSelectButton.html" title="GimpFontSelectButton"><span class="type">GimpFontSelectButton</span></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
<td> Font name to set; <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> means no change.
<td><p><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></p></td>
<td> Font name to set; <code class="literal">NULL</code> means no change.
</td>
</tr>
</tbody>
@ -264,13 +218,11 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2703301"></a><h2>Property Details</h2>
<a name="id2710486"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2703310"></a><h3>
<a name="id2710496"></a><h3>
<a name="GimpFontSelectButton--font-name"></a>The "<code class="literal">font-name</code>" property</h3>
<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>
<a class="indexterm" name="id2710510"></a><pre class="programlisting"> "font-name" gchararray : Read / Write</pre>
<p>
The name of the currently selected font.</p>
<p>
@ -282,11 +234,9 @@ The name of the currently selected font.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2690514"></a><h3>
<a name="id2710543"></a><h3>
<a name="GimpFontSelectButton--title"></a>The "<code class="literal">title</code>" property</h3>
<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>
<a class="indexterm" name="id2710557"></a><pre class="programlisting"> "title" gchararray : Read / Write / Construct Only</pre>
<p>
The title to be used for the font selection popup dialog.</p>
<p>
@ -298,20 +248,14 @@ The title to be used for the font selection popup dialog.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2690562"></a><h2>Signal Details</h2>
<a name="id2710592"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2690572"></a><h3>
<a name="id2710602"></a><h3>
<a name="GimpFontSelectButton-font-set"></a>The "font-set" signal</h3>
<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>
<a class="indexterm" name="id2710610"></a><pre class="programlisting">void user_function (<a class="link" href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *widget,
gchar *font_name,
gboolean dialog_closing,
gpointer user_data) : Run First</pre>
<p>
The ::font-set signal is emitted when the user selects a font.</p>
<p>
@ -321,22 +265,22 @@ The ::font-set signal is emitted when the user selects a font.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></p></td>
<td> the object which received the signal.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></p></td>
<td> the name of the currently selected font.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>dialog_closing</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>dialog_closing</code></em>&#160;:</span></p></td>
<td> whether the dialog was closed or not.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>