install_dialog_pane


Description:

public abstract void install_dialog_pane (DialogPane pane, ButtonMode mode = CANCEL)

Attempts to install a pane in the on-screen publishing dialog box, making the pane visible and allowing it to interact with the user.

If an error has posted, the PluginHost will not honor this request.

Parameters:

pane the pane to install
mode allows you to set the text displayed on the close/cancel button in the lower-right-hand corner of the on-screen publishing dialog box when pane is installed. If mode is ButtonMode.CLOSE, the button will have the title "Close." If mode is ButtonMode.CANCEL, the button will be titled "Cancel." You should set mode depending on whether a cancellable action is in progress. For example, if your publisher is in the middle of uploading 3 of 8 videos, then mode should be ButtonMode.CANCEL. However, if the publishing operation has completed and the success pane is displayed, then mode should be ButtonMode.CLOSE, because all cancellable publishing actions have already occurred.