CTFontManagerSetAutoActivationSetting

Function CTFontManagerSetAutoActivationSetting 

Source
pub unsafe extern "C-unwind" fn CTFontManagerSetAutoActivationSetting(
    bundle_identifier: Option<&CFString>,
    setting: CTFontManagerAutoActivationSetting,
)
Available on crate feature CTFontManager only.
Expand description

Sets the auto-activation for the specified bundle identifier.

Parameter bundleIdentifier: The bundle identifier. Used to specify a particular application bundle. If NULL, the current application bundle will be used. If kCTFontManagerBundleIdentifier is specified, will set the global auto-activation settings.

Parameter setting: The new setting.

Function will apply the setting to the appropriate preferences location.