Platforms to show: All Mac Windows Linux Cross-Platform

NSFontPanelMBS class

Super class: NSPanelMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa MBS MacCocoa Plugin 9.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The NSFontPanel class implements the Font panel—a user interface object that displays a list of available fonts, letting the user preview them and change the font used to display text.
The actual changes are made through conversion messages sent to the shared NSFontManager instance. There's only one Font panel for each application.
Subclass of the NSPanelMBS class.

Mode Constants

Constant Value Description
NSFontPanelAllEffectsModeMask &hFFF00 Display all the effects user interface items.
NSFontPanelAllModesMask &hFFFFFFFF Display all the available adornments.
NSFontPanelCollectionModeMask 4 Display the font collections column.
NSFontPanelDocumentColorEffectModeMask 2048 Display the document color button.
NSFontPanelFaceModeMask 1 Display the typeface column.
NSFontPanelShadowEffectModeMask 4096 Display the shadow effects button.
NSFontPanelSizeModeMask 2 Display the font size column.
NSFontPanelStandardModesMask &hFFFF Display the standard default font panel—that is, including the collections, typeface, and size columns.
NSFontPanelStrikethroughEffectModeMask 512 Display the strike-through popup menu.
NSFontPanelTextColorEffectModeMask 1024 Display the text color button.
NSFontPanelUnderlineEffectModeMask 256 Display the underline popup menu.

Super class NSPanelMBS

Super class NSWindowMBS

Super class NSResponderMBS

This class has no sub classes.

Some examples using this class:

Blog Entries

The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacCocoa Plugin.

NSFontMBS   -   NSGraphicsMBS

Feedback: Report problem or ask question.

The biggest plugin in space...

Start Chat