Logo Search packages:      
Sourcecode: hildon-control-panel version File versions  Download package

G_BEGIN_DECLS osso_return_t execute ( osso_context_t *  osso,
gpointer  data,
gboolean  user_activated 

The execute() function of the control panel plugin.

This function will be called by the osso_cp_plugin_execute() function.

ossoThe osso context of the application that executes the plugin.
dataThe GTK toplevel widget. It is needed so that the widgets created by the plugin can be made a child of the main application that utilizes the plugin. Type is gpointer so that the plugin does not need to depend on GTK (in which case it should ignore the parameter).
user_activatedTrue iff plugin was launched by user, False if plugin is launched by the application while restoring its state.
OSSO_OK on success, OSSO_ERR on error.

Generated by  Doxygen 1.6.0   Back to index