${node.name} ${namespace.name}.${node.parent.name}::${node.name} def callback(${formatter.to_underscores(node.parent.name).lower()}, \ % for arg, ix in zip(node.parameters, range(len(node.parameters))): ${arg.argname}, \ % endfor user_param1, ...) ${formatter.format(node.doc)} % for arg, ix in zip(node.parameters, range(len(node.parameters))): % endfor % if node.retval and \ node.retval.type.ctype != 'void' and \ node.retval.type.ctype is not None: % endif

${formatter.to_underscores(node.parent.name).lower()} :

instance of ${namespace.name}.${node.parent.name} that is emitting the signal

${arg.argname} :

${formatter.format(arg.doc)}

user_param1 :

first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

Returns :

${node.retval.type.ctype} ${formatter.format(node.retval.doc)}
% if node.version:

Since ${node.version}

% endif