Callbacks

  AutogenFunc (autogen, data)
  AutogenOutputFunc (output, data)
  CompletionFilterFunc (item, *user_data)
  CompletionNameFunc (item)
  LauncherOutputCallback (launcher, output_type, chars, *user_data)
  PluginDescriptionLineFunc (df, key, locale, value, data)
  PluginDescriptionSectionFunc (df, name, *user_data)
  PluginValueAdded (plugin, name, value, *user_data)
  PluginValueRemoved (plugin, name, *user_data)
  PreferencesCallback (pr, key, data)
  ProjectNodeForeachFunc (node, *data)
  ProjectNodeTraverseFunc (node, data)
  SavePromptSaveFunc (save_prompt, item, *user_data)
  TokenForeachFunc (token, data)

Details

Anjuta.AutogenFunc(autogen, data)
Parameters:

This function is called when the autogen process is completed.

Anjuta.AutogenOutputFunc(output, data)
Parameters:
  • output (str) – data generated by autogen.
  • data (object or None) – user data passed to the callback.

This function is called each time there is new data from autogen.

Anjuta.CompletionFilterFunc(item, *user_data)
Parameters:
Return type:

bool

Anjuta.CompletionNameFunc(item)
Parameters:item (object or None) –
Return type:str
Anjuta.LauncherOutputCallback(launcher, output_type, chars, *user_data)
Parameters:

This callback is called when new characters arrive from the launcher execution.

Anjuta.PluginDescriptionLineFunc(df, key, locale, value, data)
Parameters:
Anjuta.PluginDescriptionSectionFunc(df, name, *user_data)
Parameters:
Anjuta.PluginValueAdded(plugin, name, value, *user_data)
Parameters:

The callback to pass to Anjuta.Plugin.add_watch(). When a name value is added to shell by another plugin, this callback will be called.

Anjuta.PluginValueRemoved(plugin, name, *user_data)
Parameters:

The callback to pass to Anjuta.Plugin.add_watch(). When the name value is removed from the shell (by the plugin exporting this value), this callback will be called.

Anjuta.PreferencesCallback(pr, key, data)
Parameters:
Return type:

bool

Anjuta.ProjectNodeForeachFunc(node, *data)
Parameters:
Anjuta.ProjectNodeTraverseFunc(node, data)
Parameters:
Return type:

bool

Anjuta.SavePromptSaveFunc(save_prompt, item, *user_data)
Parameters:
Return type:

bool

Anjuta.TokenForeachFunc(token, data)
Parameters: