GUIKIT PACKAGE
{}

"FontChooser"

Widget["FontChooser"]
provides a panel for making a font selection based on a name, style, and size.

DetailsDetails

  • To use Widget["FontChooser"], you first need to load GUIKit using Needs["GUIKit`"].
  • An instance of Widget["FontChooser"] can be placed within any user-interface definition, and you can bind to the chooser's to be notified whenever the currently selected font changes.
  • The following properties are available:
  • "selectionModel"DefaultFontSelectionModelmodel that intercedes selection operations between the user interface and the data
    "font"12-point plain serifcurrently selected font
    "showLogicalFonts"Truewhether logical font names will display as choices
    "showPhysicalFonts"Truewhether physical font names will display as choices
    "sizes"8,9,10,11,12,14,16,18,20,24,28,32,36,48,72font size choices to display
    "allowAnySize"Truewhether any size can be entered or only those values present in the list
    "familyNames"Nullfont family name choices to display
    "previewPanel"DefaultPreviewPanelpreview panel display widget
  • The property allows for binding to its event to know when the selected color changes.
New to Mathematica? Find your learning path »
Have a question? Ask support »