Instance Method


Returns the menu that’s hooked up to the font conversion system, optionally creating it if necessary.


func fontMenu(_ create: Bool) -> NSMenu?



If true, the menu object is created if necessary; if false, it is not.

Return Value

The font conversion system menu.

See Also

Managing the Font Panel and Font Menu

var isEnabled: Bool

A Boolean value that indicates if the font conversion system’s user interface items (the Font panel and Font menu items) are enabled.

func fontManager(Any, willIncludeFont: String) -> Bool

Requests permission from the Font panel delegate to display the given font name in the Font panel.

func fontPanel(Bool) -> NSFontPanel?

Returns the application’s shared Font panel object, optionally creating it if necessary.

func setFontMenu(NSMenu)

Records the given menu as the application’s Font menu.