Widget.modifyFont

Warning gtk_widget_modify_font has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_widget_override_font() instead Sets the font to use for a widget. All other style values are left untouched. See also gtk_widget_modify_style().

  1. void modifyFont(string family, int size)
  2. void modifyFont(PgFontDescription fontDesc)
    class Widget
    void
    modifyFont

Parameters

fontDesc PgFontDescription

the font description to use, or NULL to undo the effect of previous calls to gtk_widget_modify_font(). [allow-none]

Meta