Callbacks

ActionActivateFunc (instance, action_name, param)

ExtensionSetForeachFunc (set, plugin_info, extension, *user_data)

ListModelMapFunc (item, *user_data)

OnTypeDiagnosticsForeachFunc (diagnostic, *user_data)

ProcessLauncherHandler (process_launcher, argv, env, cwd, unix_fd_map, *user_data)

ServiceAction (self, action_name, param)

TextBufferCommitNotify (buffer, flags, position, length, *user_data)

VcsLineChangesForeach (line, change, *user_data)

Details

Foundry.ActionActivateFunc(instance, action_name, param)
Parameters:
Foundry.ExtensionSetForeachFunc(set, plugin_info, extension, *user_data)
Parameters:
Foundry.ListModelMapFunc(item, *user_data)
Parameters:
Return type:

object or None

Foundry.OnTypeDiagnosticsForeachFunc(diagnostic, *user_data)
Parameters:
Foundry.ProcessLauncherHandler(process_launcher, argv, env, cwd, unix_fd_map, *user_data)
Parameters:
Returns:

True if successful; otherwise False and error must be set.

Return type:

bool

Foundry.ServiceAction(self, action_name, param)
Parameters:
Foundry.TextBufferCommitNotify(buffer, flags, position, length, *user_data)
Parameters:
  • buffer (Foundry.TextBuffer) – the text buffer being notified

  • flags (Foundry.TextBufferNotifyFlags) – the type of commit notification

  • position (int) – the position of the text operation

  • length (int) – the length of the text operation in characters

  • user_data (object or None) – user data passed to the callback

This callback maps to the same semantics as in GTK.

New in version 1.1.

Foundry.VcsLineChangesForeach(line, change, *user_data)
Parameters: