summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-obj.page
blob: 89cfd3303a8d53fc69cb68a0d08886a8f15876fd (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
<?xml version="1.0"?>
<page id="Regress.TestObj-sig-with-obj"
      type="topic"
      style="signal"
      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.TestObj" group="signal" type="guide"/>
    <title type="link" role="topic">sig-with-obj</title>
  </info>
  <title>Regress.TestObj::sig-with-obj</title>
  <synopsis><code mime="text/x-gjs">
connect('sig-with-obj', function (testObj, obj: <link href="../GObject-2.0/GObject.Object.page">GObject.Object</link>, ): void);
  </code></synopsis>
  <p>Test transfer none GObject as a param (tests refcounting).
Use with regress_test_obj_emit_sig_with_obj</p>

<terms>
<item>
<title><code>testObj</code></title>
<p>instance of <link xref="Regress.TestObj"/> that is emitting the signal</p>
</item>
<item>
<title><code>obj</code></title>
  <p>A newly created RegressTestObj</p>
</item>
</terms>

</page>