Remove tests
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / XS / SashWindow.xs
1 #############################################################################
2 ## Name:        XS/SashWindow.xs
3 ## Purpose:     XS for Wx::SashWindow
4 ## Author:      Mattia Barbon
5 ## Modified by:
6 ## Created:     03/02/2001
7 ## RCS-ID:      $Id: SashWindow.xs 2057 2007-06-18 23:03:00Z mbarbon $
8 ## Copyright:   (c) 2001-2003, 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/sashwin.h>
14
15 MODULE=Wx_Evt PACKAGE=Wx::SashEvent
16
17 wxSashEvent*
18 wxSashEvent::new( id = 0, edge = wxSASH_NONE )
19     int id
20     wxSashEdgePosition edge
21
22 wxSashEdgePosition
23 wxSashEvent::GetEdge()
24
25 wxRect*
26 wxSashEvent::GetDragRect()
27   CODE:
28     RETVAL = new wxRect( THIS->GetDragRect() );
29   OUTPUT:
30     RETVAL
31
32 wxSashDragStatus
33 wxSashEvent::GetDragStatus()
34
35 MODULE=Wx PACKAGE=Wx::SashWindow
36
37 void
38 new( ... )
39   PPCODE:
40     BEGIN_OVERLOAD()
41         MATCH_VOIDM_REDISP( newDefault )
42         MATCH_ANY_REDISP( newFull )
43     END_OVERLOAD( "Wx::SashWindow::new" )
44
45 wxSashWindow*
46 newDefault( CLASS )
47     PlClassName CLASS
48   CODE:
49     RETVAL = new wxSashWindow();
50     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
51   OUTPUT: RETVAL
52
53 wxSashWindow*
54 newFull( CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLIP_CHILDREN|wxSW_3D, name = wxT("sashWindow") )
55     PlClassName CLASS
56     wxWindow* parent
57     wxWindowID id
58     wxPoint pos
59     wxSize size
60     long style
61     wxString name
62   CODE:
63     RETVAL = new wxSashWindow( parent, id, pos, size, style, name );
64     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
65   OUTPUT:
66     RETVAL
67
68 bool
69 wxSashWindow::Create( parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLIP_CHILDREN|wxSW_3D, name = wxT("sashWindow") )
70     wxWindow* parent
71     wxWindowID id
72     wxPoint pos
73     wxSize size
74     long style
75     wxString name
76
77 bool
78 wxSashWindow::GetSashVisible( edge )
79     wxSashEdgePosition edge
80
81 int
82 wxSashWindow::GetMaximumSizeX()
83
84 int
85 wxSashWindow::GetMaximumSizeY()
86
87 int
88 wxSashWindow::GetMinimumSizeX()
89
90 int
91 wxSashWindow::GetMinimumSizeY()
92
93 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
94
95 bool
96 wxSashWindow::HasBorder( edge )
97     wxSashEdgePosition edge
98
99 #endif
100
101 void
102 wxSashWindow::SetMaximumSizeX( max )
103     int max
104
105 void
106 wxSashWindow::SetMaximumSizeY( max )
107     int max
108
109 void
110 wxSashWindow::SetMinimumSizeX( min )
111     int min
112
113 void
114 wxSashWindow::SetMinimumSizeY( min )
115     int min
116
117 void
118 wxSashWindow::SetSashVisible( edge, visible )
119     wxSashEdgePosition edge
120     bool visible
121
122 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
123
124 void
125 wxSashWindow::SetSashBorder( edge, border )
126     wxSashEdgePosition edge
127     bool border
128
129 #endif