Imported Upstream version 1.40.0
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Python-expected / Regress.TestInheritDrawable.get_size.page
1 <?xml version="1.0"?>
2 <page id="Regress.TestInheritDrawable.get_size"
3       type="topic"
4       style="method"
5       xmlns="http://projectmallard.org/1.0/"
6       xmlns:api="http://projectmallard.org/experimental/api/"
7       xmlns:ui="http://projectmallard.org/1.0/ui/">
8   <info>
9     <link xref="Regress.TestInheritDrawable" group="method" type="guide"/>
10     <api:function>
11       <api:returns>
12         <api:type>none</api:type>
13       </api:returns>
14       <api:name>regress_test_inherit_drawable_get_size</api:name>
15       <api:arg>
16         <api:type>Regress.TestInheritDrawable</api:type>
17         <api:name>self</api:name>
18       </api:arg>
19       <api:arg>
20         <api:type>int</api:type>
21         <api:name>width</api:name>
22       </api:arg>
23       <api:arg>
24         <api:type>int</api:type>
25         <api:name>height</api:name>
26       </api:arg>
27     </api:function>
28   </info>
29   <title>Regress.TestInheritDrawable.get_size</title>
30   <synopsis><code mime="text/x-python">
31 @accepts(Regress.TestInheritDrawable, int, int)
32 @returns(none)
33 def get_size(self, width, height):
34     # Python wrapper for regress_test_inherit_drawable_get_size()
35   </code></synopsis>
36
37
38 <terms>
39 <item>
40 <title><code>self</code></title>
41
42 </item>
43 <item>
44 <title><code>width</code></title>
45
46 </item>
47 <item>
48 <title><code>height</code></title>
49
50 </item>
51 </terms>
52
53 </page>