Imported Upstream version 2.4.0~rc2
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpfontmenu</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="libgimpui.html" title="Part II. GIMP User Interface Library">
|
||||
<link rel="prev" href="libgimp-gimpbrushmenu.html" title="gimpbrushmenu">
|
||||
@ -31,16 +31,16 @@
|
||||
<th width="100%" align="center">GIMP Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimp-gimpgradientmenu.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="#id2586939" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2574154" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2703529" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2729503" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimpfontmenu"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2586939"></a><span class="refentrytitle">gimpfontmenu</span>
|
||||
<a name="id2574154"></a><span class="refentrytitle">gimpfontmenu</span>
|
||||
</h2>
|
||||
<p>gimpfontmenu — A widget for selecting fonts.</p>
|
||||
</td>
|
||||
@ -52,60 +52,36 @@
|
||||
|
||||
|
||||
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="libgimp-gimpfontmenu.html#gimp-font-select-widget-new">gimp_font_select_widget_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,
|
||||
<a href="libgimp-gimpfontselect.html#GimpRunFontCallback">GimpRunFontCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> data);
|
||||
void <a href="libgimp-gimpfontmenu.html#gimp-font-select-widget-close">gimp_font_select_widget_close</a> (<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> *widget);
|
||||
void <a href="libgimp-gimpfontmenu.html#gimp-font-select-widget-set">gimp_font_select_widget_set</a> (<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> *widget,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *font_name);
|
||||
GtkWidget* <a class="link" href="libgimp-gimpfontmenu.html#gimp-font-select-widget-new">gimp_font_select_widget_new</a> (const gchar *title,
|
||||
const gchar *font_name,
|
||||
<a class="link" href="libgimp-gimpfontselect.html#GimpRunFontCallback">GimpRunFontCallback</a> callback,
|
||||
gpointer data);
|
||||
void <a class="link" href="libgimp-gimpfontmenu.html#gimp-font-select-widget-close">gimp_font_select_widget_close</a> (GtkWidget *widget);
|
||||
void <a class="link" href="libgimp-gimpfontmenu.html#gimp-font-select-widget-set">gimp_font_select_widget_set</a> (GtkWidget *widget,
|
||||
const gchar *font_name);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2703529"></a><h2>Description</h2>
|
||||
<a name="id2729503"></a><h2>Description</h2>
|
||||
<p>
|
||||
A widget for selecting fonts.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2721718"></a><h2>Details</h2>
|
||||
<a name="id2738298"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2721728"></a><h3>
|
||||
<a name="id2738306"></a><h3>
|
||||
<a name="gimp-font-select-widget-new"></a>gimp_font_select_widget_new ()</h3>
|
||||
<a class="indexterm" name="id2721742"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_font_select_widget_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,
|
||||
<a href="libgimp-gimpfontselect.html#GimpRunFontCallback">GimpRunFontCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> data);</pre>
|
||||
<a class="indexterm" name="id2738318"></a><pre class="programlisting">GtkWidget* gimp_font_select_widget_new (const gchar *title,
|
||||
const gchar *font_name,
|
||||
<a class="link" href="libgimp-gimpfontselect.html#GimpRunFontCallback">GimpRunFontCallback</a> callback,
|
||||
gpointer data);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_font_select_widget_new</code> is deprecated and should not be used in newly-written code.</p>
|
||||
</div>
|
||||
<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>
|
||||
@ -115,32 +91,28 @@ plug-in dialog.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>title</code></em> :</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> :</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> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
|
||||
<td> Initial font name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
||||
<td> A function to call when the selected font changes.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
||||
<td> A pointer to arbitary data to be used in the call to <em class="parameter"><code>callback</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</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> :</span></p></td>
|
||||
<td> A <span class="type">GtkWidget</span> that you can use in your UI.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -148,11 +120,9 @@ href="../gtk/GtkWidget.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2715891"></a><h3>
|
||||
<a name="id2738485"></a><h3>
|
||||
<a name="gimp-font-select-widget-close"></a>gimp_font_select_widget_close ()</h3>
|
||||
<a class="indexterm" name="id2715904"></a><pre class="programlisting">void gimp_font_select_widget_close (<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> *widget);</pre>
|
||||
<a class="indexterm" name="id2738499"></a><pre class="programlisting">void gimp_font_select_widget_close (GtkWidget *widget);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_font_select_widget_close</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -165,7 +135,7 @@ Closes the popup window associated with <em class="parameter"><code>widget</code
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
||||
<td> A font select widget.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -173,14 +143,10 @@ Closes the popup window associated with <em class="parameter"><code>widget</code
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2715971"></a><h3>
|
||||
<a name="id2736401"></a><h3>
|
||||
<a name="gimp-font-select-widget-set"></a>gimp_font_select_widget_set ()</h3>
|
||||
<a class="indexterm" name="id2719964"></a><pre class="programlisting">void gimp_font_select_widget_set (<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> *widget,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *font_name);</pre>
|
||||
<a class="indexterm" name="id2736415"></a><pre class="programlisting">void gimp_font_select_widget_set (GtkWidget *widget,
|
||||
const gchar *font_name);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_font_select_widget_set</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -188,7 +154,7 @@ href="../glib/glib-Basic-Types.html#gchar"
|
||||
<p>
|
||||
Sets the current font for the font select widget. Calls the
|
||||
callback function if one was supplied in the call to
|
||||
<a href="libgimp-gimpfontmenu.html#gimp-font-select-widget-new"><code class="function">gimp_font_select_widget_new()</code></a>.</p>
|
||||
<a class="link" href="libgimp-gimpfontmenu.html#gimp-font-select-widget-new"><code class="function">gimp_font_select_widget_new()</code></a>.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -196,15 +162,13 @@ callback function if one was supplied in the call to
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
||||
<td> A font select widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>font_name</code></em> :</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> :</span></p></td>
|
||||
<td> Font name to set; <code class="literal">NULL</code> means no change.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
Reference in New Issue
Block a user