WindowContext

public protocol WindowContext : LuaWrapper, UserDataHolder

Window context.

  • Cocoa window instance.

    Declaration

    Swift

    var window: NSWindow { get }
  • Disposable container.

    Declaration

    Swift

    var disposable: DisposableContainer { get }
  • Runs an action.

    Declaration

    Swift

    func runAction(_ action: Action)

    Parameters

    action

    an action to run.

  • Runs an action using the specified action context.

    Declaration

    Swift

    func runAction(_ action: Action, context: ActionContext)

    Parameters

    action

    an action to run.

    context

    custom action context.

  • Runs an action, using the given pane context as an active pane.

    Declaration

    Swift

    func runAction(_ action: Action, pane: PaneContext)

    Parameters

    action

    an action to run.

    pane

    active pane context.

  • Initiate (but not open) the progress dialog.

    Declaration

    Swift

    func makeProgressDialog(title: String) -> IProgressDialog
  • True if the window is enabled.

    Declaration

    Swift

    var isEnabled: Bool { get }
  • Pane manager.

    Declaration

    Swift

    var panes: PaneManager { get }
  • Search bar manager.

    Declaration

    Swift

    var searchBar: SearchBarManager { get }