Protocol

FxWindowAPI

The FxWindowAPI protocol defines a set of methods a host application implements that allows plug-in to create and destroy a window.

Declaration

@protocol FxWindowAPI

Overview

If a plug-in needs to create or destroy a window, it should do so using this API. This will allow the host application to create windows which match the host applications look and feel, and to track resource usage.

Topics

Creating and Destroying Windows

- createWindowWithContentRect:

Tells the host application to create a new window with the given size.

Required.

- destroyWindow:

Tells the host application to release the resources used by the window.

Required.