Widget.modifyFont

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