Widget.modifyFont

Sets the font to use for a widget.

All other style values are left untouched. See also Widget.modifyStyle.

More...
  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 Widget.modifyFont

Detailed Description

Deprecated: Use Widget.overrideFont instead