1 #############################################################################
2 ## Name: XS/Constraint.xs
3 ## Purpose: XS for Wx::LayoutConstraints
4 ## Author: Mattia Barbon
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 #############################################################################
13 #include <wx/layout.h>
15 MODULE=Wx PACKAGE=Wx::IndividualLayoutConstraint
18 wxIndividualLayoutConstraint::Above( otherWin, margin = 0 )
23 wxIndividualLayoutConstraint::Absolute( value )
27 wxIndividualLayoutConstraint::AsIs()
30 wxIndividualLayoutConstraint::Below( otherWin, margin = 0 )
35 wxIndividualLayoutConstraint::Unconstrained()
38 wxIndividualLayoutConstraint::LeftOf( otherWin, margin = 0 )
43 wxIndividualLayoutConstraint::PercentOf( otherWin, edge, per )
49 wxIndividualLayoutConstraint::RightOf( otherWin, margin = 0 )
54 wxIndividualLayoutConstraint::SameAs( otherWin, edge, margin = 0 )
60 wxIndividualLayoutConstraint::Set( rel, otherWin, otherEdge, value = 0, margin = 0 )
67 MODULE=Wx PACKAGE=Wx::LayoutConstraints
70 wxLayoutConstraints::new()
72 wxIndividualLayoutConstraint*
73 wxLayoutConstraints::bottom()
75 RETVAL = &THIS->bottom;
79 wxIndividualLayoutConstraint*
80 wxLayoutConstraints::centreX()
82 RETVAL = &THIS->centreX;
86 wxIndividualLayoutConstraint*
87 wxLayoutConstraints::centreY()
89 RETVAL = &THIS->centreY;
93 wxIndividualLayoutConstraint*
94 wxLayoutConstraints::height()
96 RETVAL = &THIS->height;
100 wxIndividualLayoutConstraint*
101 wxLayoutConstraints::left()
103 RETVAL = &THIS->left;
107 wxIndividualLayoutConstraint*
108 wxLayoutConstraints::right()
110 RETVAL = &THIS->right;
114 wxIndividualLayoutConstraint*
115 wxLayoutConstraints::top()
121 wxIndividualLayoutConstraint*
122 wxLayoutConstraints::width()
124 RETVAL = &THIS->width;