Method

GtkWidgetmodify_font

deprecated: 3.0 

Declaration [src]

void
gtk_widget_modify_font (
  GtkWidget* widget,
  PangoFontDescription* font_desc
)

Description [src]

Sets the font to use for a widget.

All other style values are left untouched. See also gtk_widget_modify_style().

Deprecated since: 3.0

Use gtk_widget_override_font() instead.

Parameters

font_desc

Type: PangoFontDescription

The font description to use, or NULL to undo the effect of previous calls to gtk_widget_modify_font().

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