diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore index d33890a96d..4b829a2eeb 100644 --- a/docs/reference/gtk/tmpl/.gitignore +++ b/docs/reference/gtk/tmpl/.gitignore @@ -31,6 +31,7 @@ gtkexpander.sgml gtkfeatures.sgml gtkfixed.sgml gtkfilefilter.sgml +gtkfontbutton.sgml gtkhbox.sgml gtkhpaned.sgml gtkiconview.sgml diff --git a/docs/reference/gtk/tmpl/gtkfontbutton.sgml b/docs/reference/gtk/tmpl/gtkfontbutton.sgml deleted file mode 100644 index ca8253d7cf..0000000000 --- a/docs/reference/gtk/tmpl/gtkfontbutton.sgml +++ /dev/null @@ -1,194 +0,0 @@ - -GtkFontButton - - -A button to launch a font selection dialog - - - -The #GtkFontButton is a button which displays the currently selected font an allows to open a font selection -dialog to change the font. It is suitable widget for selecting a font in a preference dialog. - - - - -#GtkFontSelectionDialog, #GtkColorButton. - - - - - - - - - - -The GtkFontButton struct has only private members and should not be used -directly. - - - - - - - - -@fontbutton: the object which received the signal. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@void: -@Returns: - - - - - - - -@fontname: -@Returns: - - - - - - - -@font_button: -@fontname: -@Returns: - - - - - - - -@font_button: -@Returns: - - - - - - - -@font_button: -@show_style: - - - - - - - -@font_button: -@Returns: - - - - - - - -@font_button: -@show_size: - - - - - - - -@font_button: -@Returns: - - - - - - - -@font_button: -@use_font: - - - - - - - -@font_button: -@Returns: - - - - - - - -@font_button: -@use_size: - - - - - - - -@font_button: -@Returns: - - - - - - - -@font_button: -@title: - - - - - - - -@font_button: -@Returns: - - diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index 1f6c7b1b42..0cd08f4521 100644 --- a/gtk/gtkfontbutton.c +++ b/gtk/gtkfontbutton.c @@ -45,6 +45,18 @@ #include +/** + * SECTION:gtkfontbutton + * @Short_description: A button to launch a font selection dialog + * @Title: GtkFontButton + * @See_also: #GtkFontSelectionDialog, #GtkColorButton. + * + * The #GtkFontButton is a button which displays the currently selected + * font an allows to open a font selection dialog to change the font. + * It is suitable widget for selecting a font in a preference dialog. + */ + + struct _GtkFontButtonPrivate { gchar *title;