class PtFontSel PtContainer { font_display; // short (Pt_ARG_FONT_DISPLAY) font_flags; // flag (Pt_ARG_FONT_FLAGS) font_name; // string (Pt_ARG_FONT_NAME) font_sample; // PtWidget (Pt_ARG_FONT_SAMPLE) font_symbol; // long (Pt_ARG_FONT_SYMBOL) }
This widget is a dialog box that lets you choose a font, edit the size, and make it bold, italic, or anti-aliased. It also has a display for a sample text string of the selected font.
![]() | For detailed information, please refer to PtFontSel in the Photon documentation. |
This instance variable controls the categories of fonts offered, and may have one of the following values:
This instance variable controls characteristics of the widget, and may be a combination of zero or more of the following flags:
A string specifying the initial and/or currently selected font. Default is "helv12".
A string specifying the sample to be displayed if the Pt_FONTSEL_SAMPLE flag is set. Default is "AaBbCcXxYyZz".
A character specifying the font family to include in the selection dialog. 'A', the default, specifies Latin fonts.