win32ui.CreateFont

PyCFont = CreateFont(properties)

Creates a PyCFont object.

Parameters

properties : dict

A dictionary containing the font properties. Valid dictionary keys are:
name
width
height
weight
italic
underline
pitch and family
charset

Comments

The code for the PyCFont was contributed by Dave Brennan (Last known address is brennan@hal.com, but I hear he is now at Microsoft) args contains a dict of font properties