GUIKit`
GUIKit`
"FontChooser"
The functionality provided by GUIKit has been superseded by the interface construction and controls functions native to the built-in Wolfram Language.
Widget["FontChooser"]
provides a panel for making a font selection based on a name, style, and size.
Details
- 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 "selectionModel" to be notified whenever the currently selected font changes.
- The following properties are available:
-
"selectionModel" DefaultFontSelectionModel model that intercedes selection operations between the user interface and the data "font" 12-point plain serif currently selected font "showLogicalFonts" True whether logical font names will display as choices "showPhysicalFonts" True whether physical font names will display as choices "sizes" 8,9,10,11,12,14,16,18,20,24,28,32,36,48,72 font size choices to display "allowAnySize" True whether any size can be entered or only those values present in the list "familyNames" Null font family name choices to display "previewPanel" DefaultPreviewPanel preview panel display widget - The "selectionModel" property allows for binding to its "change" event to know when the selected color changes.