Add new fontchooser api to the docs

We have docs.
This commit is contained in:
Matthias Clasen 2018-06-05 13:01:55 -04:00
parent 8500b1209a
commit f6a0dfeb4d
2 changed files with 15 additions and 0 deletions

View File

@ -1665,6 +1665,11 @@ GtkFontFilterFunc
gtk_font_chooser_set_filter_func gtk_font_chooser_set_filter_func
gtk_font_chooser_set_font_map gtk_font_chooser_set_font_map
gtk_font_chooser_get_font_map gtk_font_chooser_get_font_map
gtk_font_chooser_set_level
gtk_font_chooser_get_level
gtk_font_chooser_get_font_features
gtk_font_chooser_set_language
gtk_font_chooser_get_language
<SUBSECTION Standard> <SUBSECTION Standard>
GtkFontChooserIface GtkFontChooserIface

View File

@ -539,6 +539,8 @@ gtk_font_chooser_get_font_map (GtkFontChooser *fontchooser)
* @level: the desired level of granularity * @level: the desired level of granularity
* *
* Sets the desired level of granularity for selecting fonts. * Sets the desired level of granularity for selecting fonts.
*
* Since: 3.24
*/ */
void void
gtk_font_chooser_set_level (GtkFontChooser *fontchooser, gtk_font_chooser_set_level (GtkFontChooser *fontchooser,
@ -556,6 +558,8 @@ gtk_font_chooser_set_level (GtkFontChooser *fontchooser,
* Returns the current level of granularity for selecting fonts. * Returns the current level of granularity for selecting fonts.
* *
* Returns: the current granularity level * Returns: the current granularity level
*
* Since: 3.24
*/ */
GtkFontChooserLevel GtkFontChooserLevel
gtk_font_chooser_get_level (GtkFontChooser *fontchooser) gtk_font_chooser_get_level (GtkFontChooser *fontchooser)
@ -576,6 +580,8 @@ gtk_font_chooser_get_level (GtkFontChooser *fontchooser)
* Gets the currently-selected font features. * Gets the currently-selected font features.
* *
* Returns: the currently selected font features * Returns: the currently selected font features
*
* Since: 3.24
*/ */
char * char *
gtk_font_chooser_get_font_features (GtkFontChooser *fontchooser) gtk_font_chooser_get_font_features (GtkFontChooser *fontchooser)
@ -596,6 +602,8 @@ gtk_font_chooser_get_font_features (GtkFontChooser *fontchooser)
* Gets the language that is used for font features. * Gets the language that is used for font features.
* *
* Returns: the currently selected language * Returns: the currently selected language
*
* Since: 3.24
*/ */
char * char *
gtk_font_chooser_get_language (GtkFontChooser *fontchooser) gtk_font_chooser_get_language (GtkFontChooser *fontchooser)
@ -615,6 +623,8 @@ gtk_font_chooser_get_language (GtkFontChooser *fontchooser)
* @language: a language * @language: a language
* *
* Sets the language to use for font features. * Sets the language to use for font features.
*
* Since: 3.24
*/ */
void void
gtk_font_chooser_set_language (GtkFontChooser *fontchooser, gtk_font_chooser_set_language (GtkFontChooser *fontchooser,