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. |
| Constant | Description |
|---|---|
| Pt_FONTSEL_SCALABLE | Include scalable fonts. |
| Pt_FONTSEL_BITMAP | Include bitmap fonts. |
| Pt_FONTSEL_PROP | Include proportional fonts. |
| Pt_FONTSEL_FIXED | Include fixed fonts. |
| Pt_FONTSEL_ALL_FONTS | Include all fonts. |
| Constant | Description |
|---|---|
| Pt_FONTSEL_AA_CHECK | Restricts the use of anti-aliasing button to scalable fonts. |
| Pt_FONTSEL_SAMPLE | Displays sample text using the current font. |
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.