summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationNotifyFunc.page
blob: 1e2be6c9480d760200e4ebb5a4c1ed543d73e147 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0"?>
<page id="Regress.AnnotationNotifyFunc"
      type="topic"
      style="callback"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="callback" type="guide"/>
  </info>
  <title>Regress.AnnotationNotifyFunc</title>
  <synopsis><code mime="text/x-python">
@accepts(gpointer)
@returns(none)
def on_AnnotationNotifyFunc(data):
  </code></synopsis>
  <p>This is a callback with a 'closure' argument that is not named
'user_data' and hence has to be annotated.</p>

<terms>
<item>
<title><code>data</code></title>
  <p>The user data</p>
</item>
</terms>

</page>