Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / XS / Constraint.xs
1 #############################################################################
2 ## Name:        XS/Constraint.xs
3 ## Purpose:     XS for Wx::LayoutConstraints
4 ## Author:      Mattia Barbon
5 ## Modified by:
6 ## Created:     31/10/2000
7 ## RCS-ID:      $Id: Constraint.xs 2057 2007-06-18 23:03:00Z mbarbon $
8 ## Copyright:   (c) 2000-2001, 2006 Mattia Barbon
9 ## Licence:     This program is free software; you can redistribute it and/or
10 ##              modify it under the same terms as Perl itself
11 #############################################################################
12
13 #include <wx/layout.h>
14
15 MODULE=Wx PACKAGE=Wx::IndividualLayoutConstraint
16
17 void
18 wxIndividualLayoutConstraint::Above( otherWin, margin = 0 )
19     wxWindow* otherWin
20     int margin
21
22 void
23 wxIndividualLayoutConstraint::Absolute( value )
24     int value
25
26 void
27 wxIndividualLayoutConstraint::AsIs()
28
29 void
30 wxIndividualLayoutConstraint::Below( otherWin, margin = 0 )
31     wxWindow* otherWin
32     int margin
33
34 void
35 wxIndividualLayoutConstraint::Unconstrained()
36
37 void
38 wxIndividualLayoutConstraint::LeftOf( otherWin, margin = 0 )
39     wxWindow* otherWin
40     int margin
41
42 void
43 wxIndividualLayoutConstraint::PercentOf( otherWin, edge, per )
44     wxWindow* otherWin
45     wxEdge edge
46     int per
47
48 void
49 wxIndividualLayoutConstraint::RightOf( otherWin, margin = 0 )
50     wxWindow* otherWin
51     int margin
52
53 void
54 wxIndividualLayoutConstraint::SameAs( otherWin, edge, margin = 0 )
55     wxWindow* otherWin
56     wxEdge edge
57     int margin
58
59 void
60 wxIndividualLayoutConstraint::Set( rel, otherWin, otherEdge, value = 0, margin = 0 )
61     wxRelationship rel
62     wxWindow* otherWin
63     wxEdge otherEdge
64     int value
65     int margin
66
67 MODULE=Wx PACKAGE=Wx::LayoutConstraints
68
69 wxLayoutConstraints*
70 wxLayoutConstraints::new()
71
72 wxIndividualLayoutConstraint*
73 wxLayoutConstraints::bottom()
74   CODE:
75     RETVAL = &THIS->bottom;
76   OUTPUT:
77     RETVAL
78
79 wxIndividualLayoutConstraint*
80 wxLayoutConstraints::centreX()
81   CODE:
82     RETVAL = &THIS->centreX;
83   OUTPUT:
84     RETVAL
85
86 wxIndividualLayoutConstraint*
87 wxLayoutConstraints::centreY()
88   CODE:
89     RETVAL = &THIS->centreY;
90   OUTPUT:
91     RETVAL
92
93 wxIndividualLayoutConstraint*
94 wxLayoutConstraints::height()
95   CODE:
96     RETVAL = &THIS->height;
97   OUTPUT:
98     RETVAL
99
100 wxIndividualLayoutConstraint*
101 wxLayoutConstraints::left()
102   CODE:
103     RETVAL = &THIS->left;
104   OUTPUT:
105     RETVAL
106
107 wxIndividualLayoutConstraint*
108 wxLayoutConstraints::right()
109   CODE:
110     RETVAL = &THIS->right;
111   OUTPUT:
112     RETVAL
113
114 wxIndividualLayoutConstraint*
115 wxLayoutConstraints::top()
116   CODE:
117     RETVAL = &THIS->top;
118   OUTPUT:
119     RETVAL
120
121 wxIndividualLayoutConstraint*
122 wxLayoutConstraints::width()
123   CODE:
124     RETVAL = &THIS->width;
125   OUTPUT:
126     RETVAL