## GOFontSel GOFontSel |

## Synopsis

                        GOFontSel;
    void                go_font_sel_editable_enters         (GOFontSel *fs,
                                                             GtkWindow *dialog);
    GOFont const *      go_font_sel_get_font                (GOFontSel const *fs);
    GtkWidget *         go_font_sel_new                     (void);
    void                go_font_sel_set_font                (GOFontSel *fs,
                                                             GOFont const *font);
    void                go_font_sel_set_sample_text         (GOFontSel *fs,
                                                             char const *text);
    void                go_font_sel_set_color               (GOFontSel *gfs,
                                                             GOColor c,
                                                             gboolean is_default);
    void                go_font_sel_set_script              (GOFontSel *fs,
                                                             GOFontScript script);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBox
                               +----GOFontSel

## Implemented Interfaces

GOFontSel implements AtkImplementorIface, GtkBuildable, GtkOrientable and GtkFontChooser.

## Properties

      "color-default"            guint                 : Read / Write / Construct Only
      "color-group"              GOColorGroup*         : Read / Write / Construct Only
      "color-unset-text"         gchar*                : Read / Write / Construct Only
      "show-color"               gboolean              : Read / Write / Construct Only
      "show-script"              gboolean              : Read / Write / Construct Only
      "show-strikethrough"       gboolean              : Read / Write / Construct Only
      "show-style"               gboolean              : Read / Write / Construct Only
      "show-underline"           gboolean              : Read / Write / Construct Only
      "underline-picker"         GtkWidget*            : Read / Write / Construct Only

## Signals

      "font-changed"                                   : Run Last

## Description

## Details

### GOFontSel

    typedef struct _GOFontSel GOFontSel;

### go_font_sel_editable_enters ()

    void                go_font_sel_editable_enters         (GOFontSel *fs,
                                                             GtkWindow *dialog);

### go_font_sel_get_font ()

    GOFont const *      go_font_sel_get_font                (GOFontSel const *fs);

### go_font_sel_new ()

    GtkWidget *         go_font_sel_new                     (void);

### go_font_sel_set_font ()

    void                go_font_sel_set_font                (GOFontSel *fs,
                                                             GOFont const *font);

### go_font_sel_set_sample_text ()

    void                go_font_sel_set_sample_text         (GOFontSel *fs,
                                                             char const *text);

### go_font_sel_set_color ()

    void                go_font_sel_set_color               (GOFontSel *gfs,
                                                             GOColor c,
                                                             gboolean is_default);

### go_font_sel_set_script ()

    void                go_font_sel_set_script              (GOFontSel *fs,
                                                             GOFontScript script);

## Property Details

### The `"color-default"` property

      "color-default"            guint                 : Read / Write / Construct Only

The color to show for an unset color.

Default value: 255

### The `"color-group"` property

      "color-group"              GOColorGroup*         : Read / Write / Construct Only

The color group to use for the color picker.

### The `"color-unset-text"` property

      "color-unset-text"         gchar*                : Read / Write / Construct Only

The text to show for selecing no color.

Default value: NULL

### The `"show-color"` property

      "show-color"               gboolean              : Read / Write / Construct Only

Whether color is part of the font being selected.

Default value: FALSE

### The `"show-script"` property

      "show-script"              gboolean              : Read / Write / Construct Only

Whether subscript/superscript is part of the font being selected.

Default value: FALSE

### The `"show-strikethrough"` property

      "show-strikethrough"       gboolean              : Read / Write / Construct Only

Whether strikethrough is part of the font being selected.

Default value: FALSE

### The `"show-style"` property

      "show-style"               gboolean              : Read / Write / Construct Only

Whether style is part of the font being selected.

Default value: FALSE

### The `"show-underline"` property

      "show-underline"           gboolean              : Read / Write / Construct Only

Whether underlining is part of the font being selected.

Default value: FALSE

### The `"underline-picker"` property

      "underline-picker"         GtkWidget*            : Read / Write / Construct Only

The widget to use for picking underline type.

## Signal Details

### The `"font-changed"` signal

    void                user_function                      (GOFontSel *gofontsel,
                                                            gpointer   arg1,
                                                            gpointer   user_data)      : Run Last

`gofontsel` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.