summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch.page
blob: 70963d41cc4374953423db50e21e9a07f658d027 (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
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<page id="Regress.AnnotationObject.watch"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Regress.AnnotationObject" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>void</api:type>
      </api:returns>
      <api:name>regress_annotation_object_watch_full</api:name>
      <api:arg>
        <api:type>Regress.AnnotationForeachFunc</api:type>
        <api:name>func</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Regress.AnnotationObject.prototype.watch</title>
  <synopsis><code mime="text/x-gjs">
function watch(func: <link xref="Regress.AnnotationForeachFunc">Regress.AnnotationForeachFunc</link>): void {
    // Gjs wrapper for regress_annotation_object_watch_full()
}
  </code></synopsis>
  <p>Test overriding via the "Rename To" annotation.</p>

<terms>
<item>
<title><code>func</code></title>
  <p>The callback</p>
</item>
</terms>

</page>