Method

PlumaViewset_font

Declaration [src]

void
pluma_view_set_font (
  PlumaView* view,
  gboolean def,
  const gchar* font_name
)

Description [src]

If def is TRUE, resets the font of the view to the default font otherwise sets it to font_name.

Parameters

def

Type: gboolean

Whether to reset the default font.

font_name

Type: const gchar*

The name of the font to use.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.