Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 1bbf51ece72e40a5f40ad48678e7c5a5 > files > 543

libgnome32-devel-1.4.2-22mdv2009.1.i586.rpm

<refentry id="GnomeFontSelector">
<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>