<HTML
><HEAD
><TITLE
>GnomeFontPicker</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
REL="HOME"
TITLE="Gnome User Interface Library Reference Manual"
HREF="book1.html"><LINK
REL="UP"
TITLE="GNOME Widgets and Objects"
HREF="gnome-objects.html"><LINK
REL="PREVIOUS"
TITLE="GnomeFileEntry"
HREF="gnomefileentry.html"><LINK
REL="NEXT"
TITLE="GnomeFontSelector"
HREF="gnomefontselector.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
BGCOLOR="#000000"
CELLPADDING="1"
CELLSPACING="0"
><TR
><TH
COLSPAN="4"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="5"
>Gnome User Interface Library Reference Manual</FONT
></TH
></TR
><TR
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="left"
><A
HREF="gnomefileentry.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>&#60;&#60;&#60; Previous Page</B
></FONT
></A
></TD
><TD
WIDTH="25%"
BGCOLOR="#0000C0"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="book1.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Home</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#00C000"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="gnome-objects.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Up</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="right"
><A
HREF="gnomefontselector.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Next Page &#62;&#62;&#62;</B
></FONT
></A
></TD
></TR
></TABLE
></DIV
><H1
><A
NAME="GNOMEFONTPICKER"
>GnomeFontPicker</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN17454"
></A
><H2
>Name</H2
>GnomeFontPicker&nbsp;--&nbsp;Button that displays current font; click to select new font.</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN17457"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>&#13;#include &lt;gnome.h&gt;


struct      <A
HREF="gnomefontpicker.html#GNOMEFONTPICKER-STRUCT"
>GnomeFontPicker</A
>;
enum        <A
HREF="gnomefontpicker.html#GNOMEFONTPICKERMODE"
>GnomeFontPickerMode</A
>;
<GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
>*  <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-NEW"
>gnome_font_picker_new</A
>           (void);
void        <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-SET-TITLE"
>gnome_font_picker_set_title</A
>     (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             const <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *title);
<A
HREF="gnomefontpicker.html#GNOMEFONTPICKERMODE"
>GnomeFontPickerMode</A
> <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-GET-MODE"
>gnome_font_picker_get_mode</A
>
                                            (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp);
void        <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-SET-MODE"
>gnome_font_picker_set_mode</A
>      (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             <A
HREF="gnomefontpicker.html#GNOMEFONTPICKERMODE"
>GnomeFontPickerMode</A
> mode);
void        <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-FI-SET-USE-FONT-IN-LABEL"
>gnome_font_picker_fi_set_use_font_in_label</A
>
                                            (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             <GTKDOCLINK
HREF="GBOOLEAN"
>gboolean</GTKDOCLINK
> use_font_in_label,
                                             <GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
> size);
void        <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-FI-SET-SHOW-SIZE"
>gnome_font_picker_fi_set_show_size</A
>
                                            (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             <GTKDOCLINK
HREF="GBOOLEAN"
>gboolean</GTKDOCLINK
> show_size);
void        <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-UW-SET-WIDGET"
>gnome_font_picker_uw_set_widget</A
> (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             <GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
> *widget);
<GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
>*      <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-GET-FONT-NAME"
>gnome_font_picker_get_font_name</A
> (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp);
<GTKDOCLINK
HREF="GDKFONT"
>GdkFont</GTKDOCLINK
>*    <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-GET-FONT"
>gnome_font_picker_get_font</A
>      (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp);
<GTKDOCLINK
HREF="GBOOLEAN"
>gboolean</GTKDOCLINK
>    <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-SET-FONT-NAME"
>gnome_font_picker_set_font_name</A
> (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             const <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *fontname);
<GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
>*      <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-GET-PREVIEW-TEXT"
>gnome_font_picker_get_preview_text</A
>
                                            (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp);
void        <A
HREF="gnomefontpicker.html#GNOME-FONT-PICKER-SET-PREVIEW-TEXT"
>gnome_font_picker_set_preview_text</A
>
                                            (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             const <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *text);&#13;</PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN17499"
></A
><H2
>Object Hierarchy</H2
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>&#13;  <GTKDOCLINK
HREF="GTKOBJECT"
>GtkObject</GTKDOCLINK
>
   +----<GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
>
         +----<GTKDOCLINK
HREF="GTKCONTAINER"
>GtkContainer</GTKDOCLINK
>
               +----<GTKDOCLINK
HREF="GTKBIN"
>GtkBin</GTKDOCLINK
>
                     +----<GTKDOCLINK
HREF="GTKBUTTON"
>GtkButton</GTKDOCLINK
>
                           +----GnomeFontPicker</PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN17507"
></A
><H2
>Description</H2
><P
></P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN17510"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN17512"
></A
><H3
><A
NAME="GNOMEFONTPICKER-STRUCT"
></A
>struct GnomeFontPicker</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>struct GnomeFontPicker;</PRE
></TD
></TR
></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17517"
></A
><H3
><A
NAME="GNOMEFONTPICKERMODE"
></A
>enum GnomeFontPickerMode</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>typedef enum {
    GNOME_FONT_PICKER_MODE_PIXMAP,
    GNOME_FONT_PICKER_MODE_FONT_INFO,
    GNOME_FONT_PICKER_MODE_USER_WIDGET,
    GNOME_FONT_PICKER_MODE_UNKNOWN
} GnomeFontPickerMode;</PRE
></TD
></TR
></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17522"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-NEW"
></A
>gnome_font_picker_new ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
>*  gnome_font_picker_new           (void);</PRE
></TD
></TR
></TABLE
><P
>Create new font picker widget.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>Pointer to new font picker widget.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17538"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-SET-TITLE"
></A
>gnome_font_picker_set_title ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_font_picker_set_title     (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             const <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *title);</PRE
></TD
></TR
></TABLE
><P
>Sets the title for the font selection dialog.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>title</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> String containing font selection dialog title.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17559"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-GET-MODE"
></A
>gnome_font_picker_get_mode ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><A
HREF="gnomefontpicker.html#GNOMEFONTPICKERMODE"
>GnomeFontPickerMode</A
> gnome_font_picker_get_mode
                                            (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp);</PRE
></TD
></TR
></TABLE
><P
>Returns current font picker button mode (or what to show).  Possible
values include <TT
CLASS="LITERAL"
>GNOME_FONT_PICKER_MODE_PIXMAP</TT
>,
<TT
CLASS="LITERAL"
>GNOME_FONT_PICKER_MODE_FONT_INFO</TT
>, and 
<TT
CLASS="LITERAL"
>GNOME_FONT_PICKER_MODE_USER_WIDGET</TT
>.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>Button mode currently set in font picker widget, or 
<TT
CLASS="LITERAL"
>GNOME_FONT_PICKER_MODE_UNKNOWN</TT
> on error.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17584"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-SET-MODE"
></A
>gnome_font_picker_set_mode ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_font_picker_set_mode      (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             <A
HREF="gnomefontpicker.html#GNOMEFONTPICKERMODE"
>GnomeFontPickerMode</A
> mode);</PRE
></TD
></TR
></TABLE
><P
>Set value of subsequent font picker button mode (or what to show).</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mode</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Value of subsequent font picker button mode (or what to show)</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17605"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-FI-SET-USE-FONT-IN-LABEL"
></A
>gnome_font_picker_fi_set_use_font_in_label ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_font_picker_fi_set_use_font_in_label
                                            (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             <GTKDOCLINK
HREF="GBOOLEAN"
>gboolean</GTKDOCLINK
> use_font_in_label,
                                             <GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
> size);</PRE
></TD
></TR
></TABLE
><P
>If <TT
CLASS="PARAMETER"
><I
>use_font_in_label</I
></TT
> is <TT
CLASS="LITERAL"
>TRUE</TT
>, font name will be written using font chosen
by user and using <TT
CLASS="PARAMETER"
><I
>size</I
></TT
> passed to this function.  This only applies if
current button mode is <TT
CLASS="LITERAL"
>GNOME_FONT_PICKER_MODE_FONT_INFO</TT
>.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>use_font_in_label</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> If <TT
CLASS="LITERAL"
>TRUE</TT
>, font name will be written using font chosen.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>size</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Display font using this point size.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17636"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-FI-SET-SHOW-SIZE"
></A
>gnome_font_picker_fi_set_show_size ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_font_picker_fi_set_show_size
                                            (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             <GTKDOCLINK
HREF="GBOOLEAN"
>gboolean</GTKDOCLINK
> show_size);</PRE
></TD
></TR
></TABLE
><P
>If <TT
CLASS="PARAMETER"
><I
>show_size</I
></TT
> is <TT
CLASS="LITERAL"
>TRUE</TT
>, font size will be displayed along with font chosen
by user.  This only applies if current button mode is
<TT
CLASS="LITERAL"
>GNOME_FONT_PICKER_MODE_FONT_INFO</TT
>.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>show_size</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> <TT
CLASS="LITERAL"
>TRUE</TT
> if font size should be displayed in dialog.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17661"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-UW-SET-WIDGET"
></A
>gnome_font_picker_uw_set_widget ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_font_picker_uw_set_widget (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             <GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
> *widget);</PRE
></TD
></TR
></TABLE
><P
>Set the user-supplied <TT
CLASS="PARAMETER"
><I
>widget</I
></TT
> as the inside of the font picker.
This only applies with GNOME_FONT_PICKER_MODE_USER_WIDGET.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>widget</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> User widget to display for inside of font picker.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17683"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-GET-FONT-NAME"
></A
>gnome_font_picker_get_font_name ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
>*      gnome_font_picker_get_font_name (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp);</PRE
></TD
></TR
></TABLE
><P
>Retrieve name of font from font selection dialog.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>Pointer to an internal copy of the font name.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17704"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-GET-FONT"
></A
>gnome_font_picker_get_font ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GDKFONT"
>GdkFont</GTKDOCLINK
>*    gnome_font_picker_get_font      (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp);</PRE
></TD
></TR
></TABLE
><P
>Retrieve font info from font selection dialog.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>Return value of gtk_font_selection_dialog_get_font, or <TT
CLASS="LITERAL"
>NULL</TT
> if
font dialog is not being displayed.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17726"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-SET-FONT-NAME"
></A
>gnome_font_picker_set_font_name ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GBOOLEAN"
>gboolean</GTKDOCLINK
>    gnome_font_picker_set_font_name (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             const <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *fontname);</PRE
></TD
></TR
></TABLE
><P
>Set or update currently-displayed font in font picker dialog.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>fontname</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Name of font to display in font selection dialog</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>Return value of gtk_font_selection_dialog_set_font_name if the
font selection dialog exists, otherwise <TT
CLASS="LITERAL"
>FALSE</TT
>.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17753"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-GET-PREVIEW-TEXT"
></A
>gnome_font_picker_get_preview_text ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
>*      gnome_font_picker_get_preview_text
                                            (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp);</PRE
></TD
></TR
></TABLE
><P
>Retrieve preview text from font selection dialog if available.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>Reference to internal copy of preview text string, or <TT
CLASS="LITERAL"
>NULL</TT
> if no
font dialog is being displayed.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17775"
></A
><H3
><A
NAME="GNOME-FONT-PICKER-SET-PREVIEW-TEXT"
></A
>gnome_font_picker_set_preview_text ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_font_picker_set_preview_text
                                            (<A
HREF="gnomefontpicker.html"
>GnomeFontPicker</A
> *gfp,
                                             const <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *text);</PRE
></TD
></TR
></TABLE
><P
>Set preview text in font picker, and in font selection dialog if one
is being displayed.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>gfp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to GNOME font picker widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>text</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> New preview text</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><BR
CLEAR="all"><BR><TABLE
WIDTH="100%"
BORDER="0"
BGCOLOR="#000000"
CELLPADDING="1"
CELLSPACING="0"
><TR
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="left"
><A
HREF="gnomefileentry.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>&#60;&#60;&#60; Previous Page</B
></FONT
></A
></TD
><TD
WIDTH="25%"
BGCOLOR="#0000C0"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="book1.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Home</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#00C000"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="gnome-objects.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Up</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="right"
><A
HREF="gnomefontselector.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Next Page &#62;&#62;&#62;</B
></FONT
></A
></TD
></TR
><TR
><TD
COLSPAN="2"
ALIGN="left"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>GnomeFileEntry</B
></FONT
></TD
><TD
COLSPAN="2"
ALIGN="right"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>GnomeFontSelector</B
></FONT
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>