Terminal.setFont

Sets the font used for rendering all text displayed by the terminal, overriding any fonts set using gtk_widget_modify_font(). The terminal will immediately attempt to load the desired font, retrieve its metrics, and attempt to resize itself to keep the same number of rows and columns.

class Terminal
void
setFont

Parameters

fontDesc PgFontDescription

a PangoFontDescription for the desired font, or NULL. [allow-none]

Meta