1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
12 from controls
import *
16 class wxNotebookEventPtr(wxNotifyEventPtr
):
17 def __init__(self
,this
):
20 def GetSelection(self
, *_args
, **_kwargs
):
21 val
= apply(windows2c
.wxNotebookEvent_GetSelection
,(self
,) + _args
, _kwargs
)
23 def GetOldSelection(self
, *_args
, **_kwargs
):
24 val
= apply(windows2c
.wxNotebookEvent_GetOldSelection
,(self
,) + _args
, _kwargs
)
26 def SetOldSelection(self
, *_args
, **_kwargs
):
27 val
= apply(windows2c
.wxNotebookEvent_SetOldSelection
,(self
,) + _args
, _kwargs
)
29 def SetSelection(self
, *_args
, **_kwargs
):
30 val
= apply(windows2c
.wxNotebookEvent_SetSelection
,(self
,) + _args
, _kwargs
)
33 return "<C wxNotebookEvent instance at %s>" % (self
.this
,)
34 class wxNotebookEvent(wxNotebookEventPtr
):
35 def __init__(self
,*_args
,**_kwargs
):
36 self
.this
= apply(windows2c
.new_wxNotebookEvent
,_args
,_kwargs
)
42 class wxNotebookPtr(wxControlPtr
):
43 def __init__(self
,this
):
46 def Create(self
, *_args
, **_kwargs
):
47 val
= apply(windows2c
.wxNotebook_Create
,(self
,) + _args
, _kwargs
)
49 def GetPageCount(self
, *_args
, **_kwargs
):
50 val
= apply(windows2c
.wxNotebook_GetPageCount
,(self
,) + _args
, _kwargs
)
52 def SetSelection(self
, *_args
, **_kwargs
):
53 val
= apply(windows2c
.wxNotebook_SetSelection
,(self
,) + _args
, _kwargs
)
55 def AdvanceSelection(self
, *_args
, **_kwargs
):
56 val
= apply(windows2c
.wxNotebook_AdvanceSelection
,(self
,) + _args
, _kwargs
)
58 def GetSelection(self
, *_args
, **_kwargs
):
59 val
= apply(windows2c
.wxNotebook_GetSelection
,(self
,) + _args
, _kwargs
)
61 def SetPageText(self
, *_args
, **_kwargs
):
62 val
= apply(windows2c
.wxNotebook_SetPageText
,(self
,) + _args
, _kwargs
)
64 def GetPageText(self
, *_args
, **_kwargs
):
65 val
= apply(windows2c
.wxNotebook_GetPageText
,(self
,) + _args
, _kwargs
)
67 def SetImageList(self
, *_args
, **_kwargs
):
68 val
= apply(windows2c
.wxNotebook_SetImageList
,(self
,) + _args
, _kwargs
)
70 def AssignImageList(self
, *_args
, **_kwargs
):
71 val
= apply(windows2c
.wxNotebook_AssignImageList
,(self
,) + _args
, _kwargs
)
74 def GetImageList(self
, *_args
, **_kwargs
):
75 val
= apply(windows2c
.wxNotebook_GetImageList
,(self
,) + _args
, _kwargs
)
77 def GetPageImage(self
, *_args
, **_kwargs
):
78 val
= apply(windows2c
.wxNotebook_GetPageImage
,(self
,) + _args
, _kwargs
)
80 def SetPageImage(self
, *_args
, **_kwargs
):
81 val
= apply(windows2c
.wxNotebook_SetPageImage
,(self
,) + _args
, _kwargs
)
83 def GetRowCount(self
, *_args
, **_kwargs
):
84 val
= apply(windows2c
.wxNotebook_GetRowCount
,(self
,) + _args
, _kwargs
)
86 def SetPageSize(self
, *_args
, **_kwargs
):
87 val
= apply(windows2c
.wxNotebook_SetPageSize
,(self
,) + _args
, _kwargs
)
89 def SetPadding(self
, *_args
, **_kwargs
):
90 val
= apply(windows2c
.wxNotebook_SetPadding
,(self
,) + _args
, _kwargs
)
92 def DeletePage(self
, *_args
, **_kwargs
):
93 val
= apply(windows2c
.wxNotebook_DeletePage
,(self
,) + _args
, _kwargs
)
95 def RemovePage(self
, *_args
, **_kwargs
):
96 val
= apply(windows2c
.wxNotebook_RemovePage
,(self
,) + _args
, _kwargs
)
98 def DeleteAllPages(self
, *_args
, **_kwargs
):
99 val
= apply(windows2c
.wxNotebook_DeleteAllPages
,(self
,) + _args
, _kwargs
)
101 def AddPage(self
, *_args
, **_kwargs
):
102 val
= apply(windows2c
.wxNotebook_AddPage
,(self
,) + _args
, _kwargs
)
104 def InsertPage(self
, *_args
, **_kwargs
):
105 val
= apply(windows2c
.wxNotebook_InsertPage
,(self
,) + _args
, _kwargs
)
107 def GetPage(self
, *_args
, **_kwargs
):
108 val
= apply(windows2c
.wxNotebook_GetPage
,(self
,) + _args
, _kwargs
)
110 def ResizeChildren(self
, *_args
, **_kwargs
):
111 val
= apply(windows2c
.wxNotebook_ResizeChildren
,(self
,) + _args
, _kwargs
)
114 return "<C wxNotebook instance at %s>" % (self
.this
,)
115 class wxNotebook(wxNotebookPtr
):
116 def __init__(self
,*_args
,**_kwargs
):
117 self
.this
= apply(windows2c
.new_wxNotebook
,_args
,_kwargs
)
122 def wxPreNotebook(*_args
,**_kwargs
):
123 val
= wxNotebookPtr(apply(windows2c
.new_wxPreNotebook
,_args
,_kwargs
))
128 class wxSplitterEventPtr(wxCommandEventPtr
):
129 def __init__(self
,this
):
132 def GetSashPosition(self
, *_args
, **_kwargs
):
133 val
= apply(windows2c
.wxSplitterEvent_GetSashPosition
,(self
,) + _args
, _kwargs
)
135 def GetX(self
, *_args
, **_kwargs
):
136 val
= apply(windows2c
.wxSplitterEvent_GetX
,(self
,) + _args
, _kwargs
)
138 def GetY(self
, *_args
, **_kwargs
):
139 val
= apply(windows2c
.wxSplitterEvent_GetY
,(self
,) + _args
, _kwargs
)
141 def GetWindowBeingRemoved(self
, *_args
, **_kwargs
):
142 val
= apply(windows2c
.wxSplitterEvent_GetWindowBeingRemoved
,(self
,) + _args
, _kwargs
)
144 def SetSashPosition(self
, *_args
, **_kwargs
):
145 val
= apply(windows2c
.wxSplitterEvent_SetSashPosition
,(self
,) + _args
, _kwargs
)
148 return "<C wxSplitterEvent instance at %s>" % (self
.this
,)
149 class wxSplitterEvent(wxSplitterEventPtr
):
150 def __init__(self
,*_args
,**_kwargs
):
151 self
.this
= apply(windows2c
.new_wxSplitterEvent
,_args
,_kwargs
)
157 class wxSplitterWindowPtr(wxWindowPtr
):
158 def __init__(self
,this
):
161 def Create(self
, *_args
, **_kwargs
):
162 val
= apply(windows2c
.wxSplitterWindow_Create
,(self
,) + _args
, _kwargs
)
164 def GetWindow1(self
, *_args
, **_kwargs
):
165 val
= apply(windows2c
.wxSplitterWindow_GetWindow1
,(self
,) + _args
, _kwargs
)
167 def GetWindow2(self
, *_args
, **_kwargs
):
168 val
= apply(windows2c
.wxSplitterWindow_GetWindow2
,(self
,) + _args
, _kwargs
)
170 def SetSplitMode(self
, *_args
, **_kwargs
):
171 val
= apply(windows2c
.wxSplitterWindow_SetSplitMode
,(self
,) + _args
, _kwargs
)
173 def GetSplitMode(self
, *_args
, **_kwargs
):
174 val
= apply(windows2c
.wxSplitterWindow_GetSplitMode
,(self
,) + _args
, _kwargs
)
176 def Initialize(self
, *_args
, **_kwargs
):
177 val
= apply(windows2c
.wxSplitterWindow_Initialize
,(self
,) + _args
, _kwargs
)
179 def SplitVertically(self
, *_args
, **_kwargs
):
180 val
= apply(windows2c
.wxSplitterWindow_SplitVertically
,(self
,) + _args
, _kwargs
)
182 def SplitHorizontally(self
, *_args
, **_kwargs
):
183 val
= apply(windows2c
.wxSplitterWindow_SplitHorizontally
,(self
,) + _args
, _kwargs
)
185 def Unsplit(self
, *_args
, **_kwargs
):
186 val
= apply(windows2c
.wxSplitterWindow_Unsplit
,(self
,) + _args
, _kwargs
)
188 def ReplaceWindow(self
, *_args
, **_kwargs
):
189 val
= apply(windows2c
.wxSplitterWindow_ReplaceWindow
,(self
,) + _args
, _kwargs
)
191 def IsSplit(self
, *_args
, **_kwargs
):
192 val
= apply(windows2c
.wxSplitterWindow_IsSplit
,(self
,) + _args
, _kwargs
)
194 def SetSashSize(self
, *_args
, **_kwargs
):
195 val
= apply(windows2c
.wxSplitterWindow_SetSashSize
,(self
,) + _args
, _kwargs
)
197 def SetBorderSize(self
, *_args
, **_kwargs
):
198 val
= apply(windows2c
.wxSplitterWindow_SetBorderSize
,(self
,) + _args
, _kwargs
)
200 def GetSashSize(self
, *_args
, **_kwargs
):
201 val
= apply(windows2c
.wxSplitterWindow_GetSashSize
,(self
,) + _args
, _kwargs
)
203 def GetBorderSize(self
, *_args
, **_kwargs
):
204 val
= apply(windows2c
.wxSplitterWindow_GetBorderSize
,(self
,) + _args
, _kwargs
)
206 def SetSashPosition(self
, *_args
, **_kwargs
):
207 val
= apply(windows2c
.wxSplitterWindow_SetSashPosition
,(self
,) + _args
, _kwargs
)
209 def GetSashPosition(self
, *_args
, **_kwargs
):
210 val
= apply(windows2c
.wxSplitterWindow_GetSashPosition
,(self
,) + _args
, _kwargs
)
212 def SetMinimumPaneSize(self
, *_args
, **_kwargs
):
213 val
= apply(windows2c
.wxSplitterWindow_SetMinimumPaneSize
,(self
,) + _args
, _kwargs
)
215 def GetMinimumPaneSize(self
, *_args
, **_kwargs
):
216 val
= apply(windows2c
.wxSplitterWindow_GetMinimumPaneSize
,(self
,) + _args
, _kwargs
)
219 return "<C wxSplitterWindow instance at %s>" % (self
.this
,)
220 class wxSplitterWindow(wxSplitterWindowPtr
):
221 def __init__(self
,*_args
,**_kwargs
):
222 self
.this
= apply(windows2c
.new_wxSplitterWindow
,_args
,_kwargs
)
227 def wxPreSplitterWindow(*_args
,**_kwargs
):
228 val
= wxSplitterWindowPtr(apply(windows2c
.new_wxPreSplitterWindow
,_args
,_kwargs
))
235 #-------------- FUNCTION WRAPPERS ------------------
239 #-------------- VARIABLE WRAPPERS ------------------
241 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
= windows2c
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
242 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
= windows2c
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
243 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= windows2c
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
244 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= windows2c
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
245 wxEVT_COMMAND_SPLITTER_UNSPLIT
= windows2c
.wxEVT_COMMAND_SPLITTER_UNSPLIT
246 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= windows2c
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
247 wxSPLIT_HORIZONTAL
= windows2c
.wxSPLIT_HORIZONTAL
248 wxSPLIT_VERTICAL
= windows2c
.wxSPLIT_VERTICAL
249 wxSPLIT_DRAG_NONE
= windows2c
.wxSPLIT_DRAG_NONE
250 wxSPLIT_DRAG_DRAGGING
= windows2c
.wxSPLIT_DRAG_DRAGGING
251 wxSPLIT_DRAG_LEFT_DOWN
= windows2c
.wxSPLIT_DRAG_LEFT_DOWN