install_welcome_pane


Description:

public abstract void install_welcome_pane (string welcome_message, LoginCallback on_login_clicked)

Attempts to install a pane displaying the text 'welcome_message' above a push button labeled “Login” in the on-screen publishing dialog box, making it visible to the user.

When the user clicks the “Login” button, you’ll be notified of the user’s action through the callback 'on_login_clicked'. Every Publisher should provide a welcome pane to introduce the service and explain service-specific features or restrictions. To provide visual consistency across publishing services and to allow Shotwell to handle internationalization, always use this convenience method; don’t contruct and install welcome panes manually.

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

Parameters:

welcome_message the text to be displayed above a push button labeled “Login” in the on-screen publishing dialog box.
on_login_clicked specifies the callback that is invoked when the user clicks the “Login” button.