FontButton.newWithFont

gtk.font_button.FontButton newWithFont(string fontname)

Creates a new font picker widget showing the given font.

Parameters

fontnameName of font to display in font chooser dialog

Returns

a new font picker widget.

Deprecated

Use [gtk.font_dialog_button.FontDialogButton] instead