Method

GtkWidgetset_font_options

deprecated: 4.16 

Declaration [src]

void
gtk_widget_set_font_options (
  GtkWidget* widget,
  const cairo_font_options_t* options
)

Description [src]

Sets the cairo_font_options_t used for text rendering in the widget.

When not set, the default font options for the GdkDisplay will be used.

Deprecated since: 4.16

Please do not use it in newly written code.

Parameters

options

Type: cairo_font_options_t

A cairo_font_options_t struct to unset any previously set default font options.

The argument can be NULL.
The data is owned by the caller of the method.