summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.new.page
blob: 392f67ae247e0d6c06ae486d42af6402f16f6734 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0"?>
<page id="Regress.FooRectangle.new"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    
    <link type="guide" xref="Regress.FooRectangle" group="function"/>
    <api:function>
      <api:returns>
        <api:type>Regress.FooRectangle</api:type>
      </api:returns>
      <api:name>regress_foo_rectangle_new</api:name>
      <api:arg>
        <api:type>int</api:type>
        <api:name>x</api:name>
      </api:arg>
      <api:arg>
        <api:type>int</api:type>
        <api:name>y</api:name>
      </api:arg>
      <api:arg>
        <api:type>int</api:type>
        <api:name>width</api:name>
      </api:arg>
      <api:arg>
        <api:type>int</api:type>
        <api:name>height</api:name>
      </api:arg>
    </api:function>

  </info>
  <title>FooRectangle.new</title>
  
<synopsis><code mime="text/x-python">
@accepts(int, int, int, int)
@returns(Regress.FooRectangle)
def new(x, y, width, height):
    # Python wrapper for regress_foo_rectangle_new()
</code></synopsis>

  
    <p>This is a C convenience constructor; we have to (skip)
it because it's not a boxed type.</p>
  
  
  
  
<dl>
<dt><p>x :</p></dt>
<dd></dd>
<dt><p>y :</p></dt>
<dd></dd>
<dt><p>width :</p></dt>
<dd></dd>
<dt><p>height :</p></dt>
<dd></dd>
<dt><p>Returns :</p></dt>
<dd></dd>
</dl>

  
  
</page>