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="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="#id2597595" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2683217" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2720230" class="shortcut">Description</a>
|
||||
<a href="#id2718741" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#id2617764" class="shortcut">Object Hierarchy</a>
|
||||
<a href="#id2576747" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#id2708135" class="shortcut">Implemented Interfaces</a>
|
||||
<a href="#id2718650" class="shortcut">Implemented Interfaces</a>
|
||||
 | 
|
||||
<a href="#id2708161" class="shortcut">Properties</a>
|
||||
<a href="#id2718676" class="shortcut">Properties</a>
|
||||
 | 
|
||||
<a href="#id2708202" class="shortcut">Signals</a></nobr></td></tr>
|
||||
<a href="#id2718717" 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="id2597595"></a><span class="refentrytitle">GimpFontSelectButton</span>
|
||||
<a name="id2683217"></a><span class="refentrytitle">GimpFontSelectButton</span>
|
||||
</h2>
|
||||
<p>GimpFontSelectButton</p>
|
||||
</td>
|
||||
@ -61,74 +61,110 @@
|
||||
|
||||
|
||||
<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);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a class="link" 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 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);
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *font_name);
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2617764"></a><h2>Object Hierarchy</h2>
|
||||
<a name="id2576747"></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>
|
||||
+----GimpFontSelectButton
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2708135"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="id2718650"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpFontSelectButton implements
|
||||
AtkImplementorIface and GtkBuildable.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2708161"></a><h2>Properties</h2>
|
||||
<a name="id2718676"></a><h2>Properties</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<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
|
||||
"<a class="link" 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 class="link" 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="id2708202"></a><h2>Signals</h2>
|
||||
<a name="id2718717"></a><h2>Signals</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<a class="link" href="GimpFontSelectButton.html#GimpFontSelectButton-font-set">font-set</a>" : Run First
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2720230"></a><h2>Description</h2>
|
||||
<a name="id2718741"></a><h2>Description</h2>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2720245"></a><h2>Details</h2>
|
||||
<a name="id2718756"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2720256"></a><h3>
|
||||
<a name="id2718767"></a><h3>
|
||||
<a name="GimpFontSelectButton-struct"></a>GimpFontSelectButton</h3>
|
||||
<a class="indexterm" name="id2720267"></a><pre class="programlisting">typedef struct _GimpFontSelectButton GimpFontSelectButton;</pre>
|
||||
<a class="indexterm" name="id2718778"></a><pre class="programlisting">typedef struct _GimpFontSelectButton GimpFontSelectButton;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2720283"></a><h3>
|
||||
<a name="id2718794"></a><h3>
|
||||
<a name="gimp-font-select-button-new"></a>gimp_font_select_button_new ()</h3>
|
||||
<a class="indexterm" name="id2720296"></a><pre class="programlisting">GtkWidget* gimp_font_select_button_new (const gchar *title,
|
||||
const gchar *font_name);</pre>
|
||||
<a class="indexterm" name="id2718807"></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><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>
|
||||
@ -149,7 +187,9 @@ plug-in dialog.</p>
|
||||
</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>
|
||||
@ -160,9 +200,11 @@ plug-in dialog.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2720407"></a><h3>
|
||||
<a name="id2720126"></a><h3>
|
||||
<a name="gimp-font-select-button-get-font"></a>gimp_font_select_button_get_font ()</h3>
|
||||
<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>
|
||||
<a class="indexterm" name="id2720139"></a><pre class="programlisting">const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* 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>
|
||||
@ -189,10 +231,12 @@ Retrieves the name of currently selected font.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2710379"></a><h3>
|
||||
<a name="id2720214"></a><h3>
|
||||
<a name="gimp-font-select-button-set-font"></a>gimp_font_select_button_set_font ()</h3>
|
||||
<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>
|
||||
<a class="indexterm" name="id2720227"></a><pre class="programlisting">void gimp_font_select_button_set_font (<a class="link" 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><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></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="id2710486"></a><h2>Property Details</h2>
|
||||
<a name="id2720321"></a><h2>Property Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2710496"></a><h3>
|
||||
<a name="id2720331"></a><h3>
|
||||
<a name="GimpFontSelectButton--font-name"></a>The "<code class="literal">font-name</code>" property</h3>
|
||||
<a class="indexterm" name="id2710510"></a><pre class="programlisting"> "font-name" gchararray : Read / Write</pre>
|
||||
<a class="indexterm" name="id2720345"></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="id2710543"></a><h3>
|
||||
<a name="id2720388"></a><h3>
|
||||
<a name="GimpFontSelectButton--title"></a>The "<code class="literal">title</code>" property</h3>
|
||||
<a class="indexterm" name="id2710557"></a><pre class="programlisting"> "title" gchararray : Read / Write / Construct Only</pre>
|
||||
<a class="indexterm" name="id2720402"></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="id2710592"></a><h2>Signal Details</h2>
|
||||
<a name="id2720438"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2710602"></a><h3>
|
||||
<a name="id2720448"></a><h3>
|
||||
<a name="GimpFontSelectButton-font-set"></a>The "font-set" signal</h3>
|
||||
<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>
|
||||
<a class="indexterm" name="id2720457"></a><pre class="programlisting">void user_function (<a class="link" 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>
|
||||
|
||||
Reference in New Issue
Block a user