Imported Upstream version 2.6.1
This commit is contained in:
@ -57,23 +57,47 @@
|
||||
<a name="GimpFontSelectButton.synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
<a class="link" href="GimpFontSelectButton.html#GimpFontSelectButton-struct" title="GimpFontSelectButton">GimpFontSelectButton</a>;
|
||||
GtkWidget* <a class="link" href="GimpFontSelectButton.html#gimp-font-select-button-new" title="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" title="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="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a class="link" href="GimpFontSelectButton.html#gimp-font-select-button-new" title="gimp_font_select_button_new ()">gimp_font_select_button_new</a> (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *title,
|
||||
const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *font_name);
|
||||
const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a class="link" href="GimpFontSelectButton.html#gimp-font-select-button-get-font" title="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" title="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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *font_name);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="GimpFontSelectButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
GObject
|
||||
+----GInitiallyUnowned
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkContainer
|
||||
+----GtkBox
|
||||
+----GtkHBox
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
|
||||
>GObject</a>
|
||||
+----<a
|
||||
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
|
||||
>GInitiallyUnowned</a>
|
||||
+----<a
|
||||
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
|
||||
>GtkObject</a>
|
||||
+----<a
|
||||
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
|
||||
>GtkWidget</a>
|
||||
+----<a
|
||||
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
|
||||
>GtkContainer</a>
|
||||
+----<a
|
||||
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
|
||||
>GtkBox</a>
|
||||
+----<a
|
||||
href="/usr/share/gtk-doc/html/gtk/GtkHBox.html"
|
||||
>GtkHBox</a>
|
||||
+----<a class="link" href="GimpSelectButton.html" title="GimpSelectButton">GimpSelectButton</a>
|
||||
+----GimpFontSelectButton
|
||||
</pre>
|
||||
@ -82,13 +106,19 @@ void <a class="link" href="GimpFontSelectButton.html#gimp-font-se
|
||||
<a name="GimpFontSelectButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpFontSelectButton implements
|
||||
AtkImplementorIface and GtkBuildable.</p>
|
||||
AtkImplementorIface and <a
|
||||
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
|
||||
>GtkBuildable</a>.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="GimpFontSelectButton.properties"></a><h2>Properties</h2>
|
||||
<pre class="synopsis">
|
||||
"<a class="link" href="GimpFontSelectButton.html#GimpFontSelectButton--font-name" title='The "font-name" property'>font-name</a>" gchar* : Read / Write
|
||||
"<a class="link" href="GimpFontSelectButton.html#GimpFontSelectButton--title" title='The "title" property'>title</a>" gchar* : Read / Write / Construct Only
|
||||
"<a class="link" href="GimpFontSelectButton.html#GimpFontSelectButton--font-name" title='The "font-name" property'>font-name</a>" <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* : Read / Write
|
||||
"<a class="link" href="GimpFontSelectButton.html#GimpFontSelectButton--title" title='The "title" property'>title</a>" <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* : Read / Write / Construct Only
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
@ -115,10 +145,18 @@ GimpFontSelectButton implements
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-font-select-button-new"></a><h3>gimp_font_select_button_new ()</h3>
|
||||
<pre class="programlisting">GtkWidget* gimp_font_select_button_new (const gchar *title,
|
||||
const gchar *font_name);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_font_select_button_new (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *title,
|
||||
const <a
|
||||
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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>
|
||||
@ -129,7 +167,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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
|
||||
><code class="literal">NULL</code></a> to use the default title.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -139,7 +179,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="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
|
||||
><span class="type">GtkWidget</span></a> that you can use in your UI.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@ -151,7 +193,9 @@ plug-in dialog.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-font-select-button-get-font"></a><h3>gimp_font_select_button_get_font ()</h3>
|
||||
<pre class="programlisting">const gchar* gimp_font_select_button_get_font (<a class="link" href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button);</pre>
|
||||
<pre class="programlisting">const <a
|
||||
href="/usr/share/gtk-doc/html/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>
|
||||
@ -180,7 +224,9 @@ Retrieves the name of currently selected font.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-font-select-button-set-font"></a><h3>gimp_font_select_button_set_font ()</h3>
|
||||
<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>
|
||||
const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *font_name);</pre>
|
||||
<p>
|
||||
Sets the current font for the font select button.</p>
|
||||
<p>
|
||||
@ -196,7 +242,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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
|
||||
><code class="literal">NULL</code></a> means no change.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -209,7 +257,9 @@ Sets the current font for the font select button.</p>
|
||||
<a name="GimpFontSelectButton.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="GimpFontSelectButton--font-name"></a><h3>The <code class="literal">"font-name"</code> property</h3>
|
||||
<pre class="programlisting"> "font-name" gchar* : Read / Write</pre>
|
||||
<pre class="programlisting"> "font-name" <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* : Read / Write</pre>
|
||||
<p>
|
||||
The name of the currently selected font.</p>
|
||||
<p>
|
||||
@ -222,7 +272,9 @@ The name of the currently selected font.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="GimpFontSelectButton--title"></a><h3>The <code class="literal">"title"</code> property</h3>
|
||||
<pre class="programlisting"> "title" gchar* : Read / Write / Construct Only</pre>
|
||||
<pre class="programlisting"> "title" <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* : Read / Write / Construct Only</pre>
|
||||
<p>
|
||||
The title to be used for the font selection popup dialog.</p>
|
||||
<p>
|
||||
@ -238,9 +290,15 @@ The title to be used for the font selection popup dialog.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="GimpFontSelectButton-font-set"></a><h3>The <code class="literal">"font-set"</code> signal</h3>
|
||||
<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
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *font_name,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> dialog_closing,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/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