]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
1 | # This file was created automatically by SWIG. |
2 | import windows2c | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from gdi import * | |
7 | ||
8 | from windows import * | |
9 | ||
4120ef2b RD |
10 | from clip_dnd import * |
11 | ||
70551f47 RD |
12 | from controls import * |
13 | ||
14 | from events import * | |
105e45b9 | 15 | import wx |
d24a34bb | 16 | class wxNotebookEventPtr(wxNotifyEventPtr): |
70551f47 RD |
17 | def __init__(self,this): |
18 | self.this = this | |
19 | self.thisown = 0 | |
2d091820 RD |
20 | def GetSelection(self, *_args, **_kwargs): |
21 | val = apply(windows2c.wxNotebookEvent_GetSelection,(self,) + _args, _kwargs) | |
70551f47 | 22 | return val |
2d091820 RD |
23 | def GetOldSelection(self, *_args, **_kwargs): |
24 | val = apply(windows2c.wxNotebookEvent_GetOldSelection,(self,) + _args, _kwargs) | |
70551f47 | 25 | return val |
2d091820 RD |
26 | def SetOldSelection(self, *_args, **_kwargs): |
27 | val = apply(windows2c.wxNotebookEvent_SetOldSelection,(self,) + _args, _kwargs) | |
d24a34bb | 28 | return val |
2d091820 RD |
29 | def SetSelection(self, *_args, **_kwargs): |
30 | val = apply(windows2c.wxNotebookEvent_SetSelection,(self,) + _args, _kwargs) | |
d24a34bb | 31 | return val |
70551f47 | 32 | def __repr__(self): |
2d091820 | 33 | return "<C wxNotebookEvent instance at %s>" % (self.this,) |
70551f47 RD |
34 | class wxNotebookEvent(wxNotebookEventPtr): |
35 | def __init__(self,this): | |
36 | self.this = this | |
37 | ||
38 | ||
39 | ||
40 | ||
41 | class wxNotebookPtr(wxControlPtr): | |
42 | def __init__(self,this): | |
43 | self.this = this | |
44 | self.thisown = 0 | |
2d091820 RD |
45 | def GetPageCount(self, *_args, **_kwargs): |
46 | val = apply(windows2c.wxNotebook_GetPageCount,(self,) + _args, _kwargs) | |
70551f47 | 47 | return val |
2d091820 RD |
48 | def SetSelection(self, *_args, **_kwargs): |
49 | val = apply(windows2c.wxNotebook_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 50 | return val |
2d091820 RD |
51 | def AdvanceSelection(self, *_args, **_kwargs): |
52 | val = apply(windows2c.wxNotebook_AdvanceSelection,(self,) + _args, _kwargs) | |
70551f47 | 53 | return val |
2d091820 RD |
54 | def GetSelection(self, *_args, **_kwargs): |
55 | val = apply(windows2c.wxNotebook_GetSelection,(self,) + _args, _kwargs) | |
70551f47 | 56 | return val |
2d091820 RD |
57 | def SetPageText(self, *_args, **_kwargs): |
58 | val = apply(windows2c.wxNotebook_SetPageText,(self,) + _args, _kwargs) | |
70551f47 | 59 | return val |
2d091820 RD |
60 | def GetPageText(self, *_args, **_kwargs): |
61 | val = apply(windows2c.wxNotebook_GetPageText,(self,) + _args, _kwargs) | |
70551f47 | 62 | return val |
2d091820 RD |
63 | def SetImageList(self, *_args, **_kwargs): |
64 | val = apply(windows2c.wxNotebook_SetImageList,(self,) + _args, _kwargs) | |
70551f47 | 65 | return val |
2d091820 RD |
66 | def GetImageList(self, *_args, **_kwargs): |
67 | val = apply(windows2c.wxNotebook_GetImageList,(self,) + _args, _kwargs) | |
68 | if val: val = wxImageListPtr(val) | |
70551f47 | 69 | return val |
2d091820 RD |
70 | def GetPageImage(self, *_args, **_kwargs): |
71 | val = apply(windows2c.wxNotebook_GetPageImage,(self,) + _args, _kwargs) | |
70551f47 | 72 | return val |
2d091820 RD |
73 | def SetPageImage(self, *_args, **_kwargs): |
74 | val = apply(windows2c.wxNotebook_SetPageImage,(self,) + _args, _kwargs) | |
70551f47 | 75 | return val |
2d091820 RD |
76 | def GetRowCount(self, *_args, **_kwargs): |
77 | val = apply(windows2c.wxNotebook_GetRowCount,(self,) + _args, _kwargs) | |
70551f47 | 78 | return val |
2d091820 RD |
79 | def DeletePage(self, *_args, **_kwargs): |
80 | val = apply(windows2c.wxNotebook_DeletePage,(self,) + _args, _kwargs) | |
70551f47 | 81 | return val |
2d091820 RD |
82 | def RemovePage(self, *_args, **_kwargs): |
83 | val = apply(windows2c.wxNotebook_RemovePage,(self,) + _args, _kwargs) | |
ab9bc19b | 84 | return val |
2d091820 RD |
85 | def DeleteAllPages(self, *_args, **_kwargs): |
86 | val = apply(windows2c.wxNotebook_DeleteAllPages,(self,) + _args, _kwargs) | |
70551f47 | 87 | return val |
2d091820 RD |
88 | def AddPage(self, *_args, **_kwargs): |
89 | val = apply(windows2c.wxNotebook_AddPage,(self,) + _args, _kwargs) | |
70551f47 | 90 | return val |
2d091820 RD |
91 | def GetPage(self, *_args, **_kwargs): |
92 | val = apply(windows2c.wxNotebook_GetPage,(self,) + _args, _kwargs) | |
93 | if val: val = wxWindowPtr(val) | |
70551f47 | 94 | return val |
2d091820 RD |
95 | def ResizeChildren(self, *_args, **_kwargs): |
96 | val = apply(windows2c.wxNotebook_ResizeChildren,(self,) + _args, _kwargs) | |
ab9bc19b | 97 | return val |
70551f47 | 98 | def __repr__(self): |
2d091820 | 99 | return "<C wxNotebook instance at %s>" % (self.this,) |
70551f47 | 100 | class wxNotebook(wxNotebookPtr): |
2d091820 RD |
101 | def __init__(self,*_args,**_kwargs): |
102 | self.this = apply(windows2c.new_wxNotebook,_args,_kwargs) | |
70551f47 | 103 | self.thisown = 1 |
105e45b9 | 104 | wx._StdWindowCallbacks(self) |
b26e2dc4 RD |
105 | |
106 | ||
107 | ||
108 | ||
d24a34bb RD |
109 | class wxSplitterEventPtr(wxCommandEventPtr): |
110 | def __init__(self,this): | |
111 | self.this = this | |
112 | self.thisown = 0 | |
2d091820 RD |
113 | def GetSashPosition(self, *_args, **_kwargs): |
114 | val = apply(windows2c.wxSplitterEvent_GetSashPosition,(self,) + _args, _kwargs) | |
d24a34bb | 115 | return val |
2d091820 RD |
116 | def GetX(self, *_args, **_kwargs): |
117 | val = apply(windows2c.wxSplitterEvent_GetX,(self,) + _args, _kwargs) | |
d24a34bb | 118 | return val |
2d091820 RD |
119 | def GetY(self, *_args, **_kwargs): |
120 | val = apply(windows2c.wxSplitterEvent_GetY,(self,) + _args, _kwargs) | |
d24a34bb | 121 | return val |
2d091820 RD |
122 | def GetWindowBeingRemoved(self, *_args, **_kwargs): |
123 | val = apply(windows2c.wxSplitterEvent_GetWindowBeingRemoved,(self,) + _args, _kwargs) | |
124 | if val: val = wxWindowPtr(val) | |
d24a34bb | 125 | return val |
2d091820 RD |
126 | def SetSashPosition(self, *_args, **_kwargs): |
127 | val = apply(windows2c.wxSplitterEvent_SetSashPosition,(self,) + _args, _kwargs) | |
d24a34bb RD |
128 | return val |
129 | def __repr__(self): | |
2d091820 | 130 | return "<C wxSplitterEvent instance at %s>" % (self.this,) |
d24a34bb RD |
131 | class wxSplitterEvent(wxSplitterEventPtr): |
132 | def __init__(self,this): | |
133 | self.this = this | |
134 | ||
135 | ||
136 | ||
137 | ||
b26e2dc4 RD |
138 | class wxSplitterWindowPtr(wxWindowPtr): |
139 | def __init__(self,this): | |
140 | self.this = this | |
141 | self.thisown = 0 | |
2d091820 RD |
142 | def GetBorderSize(self, *_args, **_kwargs): |
143 | val = apply(windows2c.wxSplitterWindow_GetBorderSize,(self,) + _args, _kwargs) | |
105e45b9 | 144 | return val |
2d091820 RD |
145 | def GetMinimumPaneSize(self, *_args, **_kwargs): |
146 | val = apply(windows2c.wxSplitterWindow_GetMinimumPaneSize,(self,) + _args, _kwargs) | |
b26e2dc4 | 147 | return val |
2d091820 RD |
148 | def GetSashPosition(self, *_args, **_kwargs): |
149 | val = apply(windows2c.wxSplitterWindow_GetSashPosition,(self,) + _args, _kwargs) | |
b26e2dc4 | 150 | return val |
2d091820 RD |
151 | def GetSashSize(self, *_args, **_kwargs): |
152 | val = apply(windows2c.wxSplitterWindow_GetSashSize,(self,) + _args, _kwargs) | |
105e45b9 | 153 | return val |
2d091820 RD |
154 | def GetSplitMode(self, *_args, **_kwargs): |
155 | val = apply(windows2c.wxSplitterWindow_GetSplitMode,(self,) + _args, _kwargs) | |
b26e2dc4 | 156 | return val |
2d091820 RD |
157 | def GetWindow1(self, *_args, **_kwargs): |
158 | val = apply(windows2c.wxSplitterWindow_GetWindow1,(self,) + _args, _kwargs) | |
159 | if val: val = wxWindowPtr(val) | |
b26e2dc4 | 160 | return val |
2d091820 RD |
161 | def GetWindow2(self, *_args, **_kwargs): |
162 | val = apply(windows2c.wxSplitterWindow_GetWindow2,(self,) + _args, _kwargs) | |
163 | if val: val = wxWindowPtr(val) | |
b26e2dc4 | 164 | return val |
2d091820 RD |
165 | def Initialize(self, *_args, **_kwargs): |
166 | val = apply(windows2c.wxSplitterWindow_Initialize,(self,) + _args, _kwargs) | |
b26e2dc4 | 167 | return val |
2d091820 RD |
168 | def IsSplit(self, *_args, **_kwargs): |
169 | val = apply(windows2c.wxSplitterWindow_IsSplit,(self,) + _args, _kwargs) | |
b26e2dc4 | 170 | return val |
f078d013 RD |
171 | def ReplaceWindow(self, *_args, **_kwargs): |
172 | val = apply(windows2c.wxSplitterWindow_ReplaceWindow,(self,) + _args, _kwargs) | |
173 | return val | |
2d091820 RD |
174 | def SetBorderSize(self, *_args, **_kwargs): |
175 | val = apply(windows2c.wxSplitterWindow_SetBorderSize,(self,) + _args, _kwargs) | |
105e45b9 | 176 | return val |
2d091820 RD |
177 | def SetSashPosition(self, *_args, **_kwargs): |
178 | val = apply(windows2c.wxSplitterWindow_SetSashPosition,(self,) + _args, _kwargs) | |
b26e2dc4 | 179 | return val |
2d091820 RD |
180 | def SetSashSize(self, *_args, **_kwargs): |
181 | val = apply(windows2c.wxSplitterWindow_SetSashSize,(self,) + _args, _kwargs) | |
105e45b9 | 182 | return val |
2d091820 RD |
183 | def SetMinimumPaneSize(self, *_args, **_kwargs): |
184 | val = apply(windows2c.wxSplitterWindow_SetMinimumPaneSize,(self,) + _args, _kwargs) | |
b26e2dc4 | 185 | return val |
2d091820 RD |
186 | def SetSplitMode(self, *_args, **_kwargs): |
187 | val = apply(windows2c.wxSplitterWindow_SetSplitMode,(self,) + _args, _kwargs) | |
b26e2dc4 | 188 | return val |
2d091820 RD |
189 | def SplitHorizontally(self, *_args, **_kwargs): |
190 | val = apply(windows2c.wxSplitterWindow_SplitHorizontally,(self,) + _args, _kwargs) | |
b26e2dc4 | 191 | return val |
2d091820 RD |
192 | def SplitVertically(self, *_args, **_kwargs): |
193 | val = apply(windows2c.wxSplitterWindow_SplitVertically,(self,) + _args, _kwargs) | |
b26e2dc4 | 194 | return val |
2d091820 RD |
195 | def Unsplit(self, *_args, **_kwargs): |
196 | val = apply(windows2c.wxSplitterWindow_Unsplit,(self,) + _args, _kwargs) | |
b26e2dc4 RD |
197 | return val |
198 | def __repr__(self): | |
2d091820 | 199 | return "<C wxSplitterWindow instance at %s>" % (self.this,) |
b26e2dc4 | 200 | class wxSplitterWindow(wxSplitterWindowPtr): |
2d091820 RD |
201 | def __init__(self,*_args,**_kwargs): |
202 | self.this = apply(windows2c.new_wxSplitterWindow,_args,_kwargs) | |
b26e2dc4 | 203 | self.thisown = 1 |
105e45b9 | 204 | wx._StdWindowCallbacks(self) |
70551f47 RD |
205 | |
206 | ||
207 | ||
208 | ||
209 | ||
210 | ||
211 | #-------------- FUNCTION WRAPPERS ------------------ | |
212 | ||
213 | ||
214 | ||
215 | #-------------- VARIABLE WRAPPERS ------------------ | |
216 |