OOF2: The Manual

Name

OOF.Settings.Fonts.Widgets — Set the font to use for labels, menus, buttons, etc. in the graphical user interface.

Synopsis

OOF.Settings.Fonts.Widgets(fontname)

Details

  • Parent Menu: OOF.Settings.Fonts
  • Callback: function setFont in module ooflib.common.IO.mainmenu
  • Parameters:

    fontname
    The name of a font. Type: A character string.

Description

This command sets the font to be used in most of the GUI. It applies to all labels, pull-down menus, buttons, etc. It does not apply to textual displays, like the Console window.

The font name can be any font recognized by the Pango library. In GUI mode, this command brings up a font selection dialog, so the user doesn't have to know the names of the fonts installed on the system.

To automatically set the font for all OOF2 sessions, put this command in the file .oof2rc in your home directory, for example:

    OOF.Settings.Font.Widgets(fontname="Trebuchet MS 12")