setFont

open fun setFont(fontname: String)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.FontDialog and class@Gtk.FontDialogButton instead

Sets the currently-selected font.

Parameters

fontname

a font name like “Helvetica 12” or “Times Bold 18”