public abstract void install_static_message_pane (string message, ButtonMode mode = CANCEL)

Attempts to install a pane in the on-screen publishing dialog box that contains static text.

The text appears centered in the publishing dialog box and is drawn in the system font. This is a convenience method only; similar results could be achieved by manually constructing a Gtk.Label widget, wrapping it inside a DialogPane, and installing it manually with a call to install_dialog_pane( ). To provide visual consistency across publishing services, however, always use this convenience method instead of constructing label panes when you need to display static text to the user.

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


message the text to show in the pane
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.