addControlToContainer(_:control:)

    Adds a custom control to a container (see CustomControlContainer). There are many locations where custom controls can be added in the editor UI.

    EditorPlugin.swift:346
    final func addControlToContainer(_ container: EditorPlugin.CustomControlContainer, control: Control?)

    Please remember that you have to manage the visibility of your custom controls yourself (and likely hide it after adding it).

    When your plugin is deactivated, make sure to remove your custom control with removeControlFromContainer(_:control:) and free it with queueFree.

    Other members in extension

    Types

    Type members

    Instance members

    Show implementation details (24)

    Hide implementation details