since: 3.18

Declaration [src]

const cairo_font_options_t*
gtk_widget_get_font_options (
  GtkWidget* widget

Description [src]

Returns the #cairo_font_options_t used for Pango rendering. When not set, the defaults font options for the GdkScreen will be used.

Available since: 3.18

Return value

Type: cairo_font_options_t

The #cairo_font_options_t or NULL if not set.

The data is owned by the instance.
The return value can be NULL.