<refentry id="GnomeFontSelector" revision="6 May 2000">
<refmeta>
<refentrytitle>GnomeFontSelector</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GNOMEUI Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GnomeFontSelector</refname><refpurpose>
Deprecated, use GtkFontSelection in a GnomeDialog or GnomeFontPicker</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>
<synopsis>

#include &lt;gnome.h&gt;


struct      <link linkend="GnomeFontSelector-struct">GnomeFontSelector</link>;
struct      <link linkend="FontInfo">FontInfo</link>;
<link linkend="GtkWidget">GtkWidget</link>*  <link linkend="gnome-font-selector-new">gnome_font_selector_new</link>         (void);
<link linkend="gchar">gchar</link>*      <link linkend="gnome-font-selector-get-selected">gnome_font_selector_get_selected</link>
                                            (<link linkend="GnomeFontSelector">GnomeFontSelector</link> *text_tool);
<link linkend="gchar">gchar</link>*      <link linkend="gnome-font-select">gnome_font_select</link>               (void);
<link linkend="gchar">gchar</link>*      <link linkend="gnome-font-select-with-default">gnome_font_select_with_default</link>  (const <link linkend="gchar">gchar</link>*);

</synopsis>
</refsynopsisdiv>

<refsect1>
<title>Object Hierarchy</title>
<synopsis>

  <link linkend="GtkObject">GtkObject</link>
   +----<link linkend="GtkWidget">GtkWidget</link>
         +----<link linkend="GtkContainer">GtkContainer</link>
               +----<link linkend="GtkBin">GtkBin</link>
                     +----<link linkend="GtkWindow">GtkWindow</link>
                           +----<link linkend="GtkDialog">GtkDialog</link>
                                 +----GnomeFontSelector
</synopsis>

</refsect1>




<refsect1>
<title>Description</title>
<para>
Deprecated, use GtkFontSelection in a GnomeDialog or GnomeFontPicker
</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="GnomeFontSelector-struct">struct GnomeFontSelector</title>
<programlisting>struct GnomeFontSelector;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="FontInfo">struct FontInfo</title>
<programlisting>struct FontInfo;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-font-selector-new">gnome_font_selector_new ()</title>
<programlisting><link linkend="GtkWidget">GtkWidget</link>*  gnome_font_selector_new         (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> a newly created font selector widget
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-font-selector-get-selected">gnome_font_selector_get_selected ()</title>
<programlisting><link linkend="gchar">gchar</link>*      gnome_font_selector_get_selected
                                            (<link linkend="GnomeFontSelector">GnomeFontSelector</link> *text_tool);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>text_tool</parameter>&nbsp;:</entry>
<entry> a font selector
</entry></row>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>the name of the font currently selected.  The value returned
is allocated with g_malloc.  The font name is in the format expected
by Gdk.
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-font-select">gnome_font_select ()</title>
<programlisting><link linkend="gchar">gchar</link>*      gnome_font_select               (void);</programlisting>
<para>
Pops up a font selector and lets the user choose the font.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> A <link linkend="g-malloc">g_malloc</link>()ed string with the X font name that was selected
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-font-select-with-default">gnome_font_select_with_default ()</title>
<programlisting><link linkend="gchar">gchar</link>*      gnome_font_select_with_default  (const <link linkend="gchar">gchar</link>*);</programlisting>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>Param1</parameter>&nbsp;:</entry>
<entry></entry></row>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>

</refsect1>




</refentry>
