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
,this
):
41 class wxNotebookPtr(wxControlPtr
):
42 def __init__(self
,this
):
45 def GetPageCount(self
, *_args
, **_kwargs
):
46 val
= apply(windows2c
.wxNotebook_GetPageCount
,(self
,) + _args
, _kwargs
)
48 def SetSelection(self
, *_args
, **_kwargs
):
49 val
= apply(windows2c
.wxNotebook_SetSelection
,(self
,) + _args
, _kwargs
)
51 def AdvanceSelection(self
, *_args
, **_kwargs
):
52 val
= apply(windows2c
.wxNotebook_AdvanceSelection
,(self
,) + _args
, _kwargs
)
54 def GetSelection(self
, *_args
, **_kwargs
):
55 val
= apply(windows2c
.wxNotebook_GetSelection
,(self
,) + _args
, _kwargs
)
57 def SetPageText(self
, *_args
, **_kwargs
):
58 val
= apply(windows2c
.wxNotebook_SetPageText
,(self
,) + _args
, _kwargs
)
60 def GetPageText(self
, *_args
, **_kwargs
):
61 val
= apply(windows2c
.wxNotebook_GetPageText
,(self
,) + _args
, _kwargs
)
63 def SetImageList(self
, *_args
, **_kwargs
):
64 val
= apply(windows2c
.wxNotebook_SetImageList
,(self
,) + _args
, _kwargs
)
66 def GetImageList(self
, *_args
, **_kwargs
):
67 val
= apply(windows2c
.wxNotebook_GetImageList
,(self
,) + _args
, _kwargs
)
68 if val
: val
= wxImageListPtr(val
)
70 def GetPageImage(self
, *_args
, **_kwargs
):
71 val
= apply(windows2c
.wxNotebook_GetPageImage
,(self
,) + _args
, _kwargs
)
73 def SetPageImage(self
, *_args
, **_kwargs
):
74 val
= apply(windows2c
.wxNotebook_SetPageImage
,(self
,) + _args
, _kwargs
)
76 def GetRowCount(self
, *_args
, **_kwargs
):
77 val
= apply(windows2c
.wxNotebook_GetRowCount
,(self
,) + _args
, _kwargs
)
79 def SetPageSize(self
, *_args
, **_kwargs
):
80 val
= apply(windows2c
.wxNotebook_SetPageSize
,(self
,) + _args
, _kwargs
)
82 def SetPadding(self
, *_args
, **_kwargs
):
83 val
= apply(windows2c
.wxNotebook_SetPadding
,(self
,) + _args
, _kwargs
)
85 def DeletePage(self
, *_args
, **_kwargs
):
86 val
= apply(windows2c
.wxNotebook_DeletePage
,(self
,) + _args
, _kwargs
)
88 def RemovePage(self
, *_args
, **_kwargs
):
89 val
= apply(windows2c
.wxNotebook_RemovePage
,(self
,) + _args
, _kwargs
)
91 def DeleteAllPages(self
, *_args
, **_kwargs
):
92 val
= apply(windows2c
.wxNotebook_DeleteAllPages
,(self
,) + _args
, _kwargs
)
94 def AddPage(self
, *_args
, **_kwargs
):
95 val
= apply(windows2c
.wxNotebook_AddPage
,(self
,) + _args
, _kwargs
)
97 def InsertPage(self
, *_args
, **_kwargs
):
98 val
= apply(windows2c
.wxNotebook_InsertPage
,(self
,) + _args
, _kwargs
)
100 def GetPage(self
, *_args
, **_kwargs
):
101 val
= apply(windows2c
.wxNotebook_GetPage
,(self
,) + _args
, _kwargs
)
102 if val
: val
= wxWindowPtr(val
)
104 def ResizeChildren(self
, *_args
, **_kwargs
):
105 val
= apply(windows2c
.wxNotebook_ResizeChildren
,(self
,) + _args
, _kwargs
)
108 return "<C wxNotebook instance at %s>" % (self
.this
,)
109 class wxNotebook(wxNotebookPtr
):
110 def __init__(self
,*_args
,**_kwargs
):
111 self
.this
= apply(windows2c
.new_wxNotebook
,_args
,_kwargs
)
113 #wx._StdWindowCallbacks(self)
118 class wxSplitterEventPtr(wxCommandEventPtr
):
119 def __init__(self
,this
):
122 def GetSashPosition(self
, *_args
, **_kwargs
):
123 val
= apply(windows2c
.wxSplitterEvent_GetSashPosition
,(self
,) + _args
, _kwargs
)
125 def GetX(self
, *_args
, **_kwargs
):
126 val
= apply(windows2c
.wxSplitterEvent_GetX
,(self
,) + _args
, _kwargs
)
128 def GetY(self
, *_args
, **_kwargs
):
129 val
= apply(windows2c
.wxSplitterEvent_GetY
,(self
,) + _args
, _kwargs
)
131 def GetWindowBeingRemoved(self
, *_args
, **_kwargs
):
132 val
= apply(windows2c
.wxSplitterEvent_GetWindowBeingRemoved
,(self
,) + _args
, _kwargs
)
133 if val
: val
= wxWindowPtr(val
)
135 def SetSashPosition(self
, *_args
, **_kwargs
):
136 val
= apply(windows2c
.wxSplitterEvent_SetSashPosition
,(self
,) + _args
, _kwargs
)
139 return "<C wxSplitterEvent instance at %s>" % (self
.this
,)
140 class wxSplitterEvent(wxSplitterEventPtr
):
141 def __init__(self
,this
):
147 class wxSplitterWindowPtr(wxWindowPtr
):
148 def __init__(self
,this
):
151 def GetBorderSize(self
, *_args
, **_kwargs
):
152 val
= apply(windows2c
.wxSplitterWindow_GetBorderSize
,(self
,) + _args
, _kwargs
)
154 def GetMinimumPaneSize(self
, *_args
, **_kwargs
):
155 val
= apply(windows2c
.wxSplitterWindow_GetMinimumPaneSize
,(self
,) + _args
, _kwargs
)
157 def GetSashPosition(self
, *_args
, **_kwargs
):
158 val
= apply(windows2c
.wxSplitterWindow_GetSashPosition
,(self
,) + _args
, _kwargs
)
160 def GetSashSize(self
, *_args
, **_kwargs
):
161 val
= apply(windows2c
.wxSplitterWindow_GetSashSize
,(self
,) + _args
, _kwargs
)
163 def GetSplitMode(self
, *_args
, **_kwargs
):
164 val
= apply(windows2c
.wxSplitterWindow_GetSplitMode
,(self
,) + _args
, _kwargs
)
166 def GetWindow1(self
, *_args
, **_kwargs
):
167 val
= apply(windows2c
.wxSplitterWindow_GetWindow1
,(self
,) + _args
, _kwargs
)
168 if val
: val
= wxWindowPtr(val
)
170 def GetWindow2(self
, *_args
, **_kwargs
):
171 val
= apply(windows2c
.wxSplitterWindow_GetWindow2
,(self
,) + _args
, _kwargs
)
172 if val
: val
= wxWindowPtr(val
)
174 def Initialize(self
, *_args
, **_kwargs
):
175 val
= apply(windows2c
.wxSplitterWindow_Initialize
,(self
,) + _args
, _kwargs
)
177 def IsSplit(self
, *_args
, **_kwargs
):
178 val
= apply(windows2c
.wxSplitterWindow_IsSplit
,(self
,) + _args
, _kwargs
)
180 def ReplaceWindow(self
, *_args
, **_kwargs
):
181 val
= apply(windows2c
.wxSplitterWindow_ReplaceWindow
,(self
,) + _args
, _kwargs
)
183 def SetBorderSize(self
, *_args
, **_kwargs
):
184 val
= apply(windows2c
.wxSplitterWindow_SetBorderSize
,(self
,) + _args
, _kwargs
)
186 def SetSashPosition(self
, *_args
, **_kwargs
):
187 val
= apply(windows2c
.wxSplitterWindow_SetSashPosition
,(self
,) + _args
, _kwargs
)
189 def SetSashSize(self
, *_args
, **_kwargs
):
190 val
= apply(windows2c
.wxSplitterWindow_SetSashSize
,(self
,) + _args
, _kwargs
)
192 def SetMinimumPaneSize(self
, *_args
, **_kwargs
):
193 val
= apply(windows2c
.wxSplitterWindow_SetMinimumPaneSize
,(self
,) + _args
, _kwargs
)
195 def SetSplitMode(self
, *_args
, **_kwargs
):
196 val
= apply(windows2c
.wxSplitterWindow_SetSplitMode
,(self
,) + _args
, _kwargs
)
198 def SplitHorizontally(self
, *_args
, **_kwargs
):
199 val
= apply(windows2c
.wxSplitterWindow_SplitHorizontally
,(self
,) + _args
, _kwargs
)
201 def SplitVertically(self
, *_args
, **_kwargs
):
202 val
= apply(windows2c
.wxSplitterWindow_SplitVertically
,(self
,) + _args
, _kwargs
)
204 def Unsplit(self
, *_args
, **_kwargs
):
205 val
= apply(windows2c
.wxSplitterWindow_Unsplit
,(self
,) + _args
, _kwargs
)
208 return "<C wxSplitterWindow instance at %s>" % (self
.this
,)
209 class wxSplitterWindow(wxSplitterWindowPtr
):
210 def __init__(self
,*_args
,**_kwargs
):
211 self
.this
= apply(windows2c
.new_wxSplitterWindow
,_args
,_kwargs
)
213 #wx._StdWindowCallbacks(self)
218 class wxTaskBarIconPtr(wxEvtHandlerPtr
):
219 def __init__(self
,this
):
222 def __del__(self
,windows2c
=windows2c
):
223 if self
.thisown
== 1 :
224 windows2c
.delete_wxTaskBarIcon(self
)
225 def SetIcon(self
, *_args
, **_kwargs
):
226 val
= apply(windows2c
.wxTaskBarIcon_SetIcon
,(self
,) + _args
, _kwargs
)
228 def RemoveIcon(self
, *_args
, **_kwargs
):
229 val
= apply(windows2c
.wxTaskBarIcon_RemoveIcon
,(self
,) + _args
, _kwargs
)
231 def PopupMenu(self
, *_args
, **_kwargs
):
232 val
= apply(windows2c
.wxTaskBarIcon_PopupMenu
,(self
,) + _args
, _kwargs
)
234 def IsIconInstalled(self
, *_args
, **_kwargs
):
235 val
= apply(windows2c
.wxTaskBarIcon_IsIconInstalled
,(self
,) + _args
, _kwargs
)
237 def IsOK(self
, *_args
, **_kwargs
):
238 val
= apply(windows2c
.wxTaskBarIcon_IsOK
,(self
,) + _args
, _kwargs
)
241 return "<C wxTaskBarIcon instance at %s>" % (self
.this
,)
242 class wxTaskBarIcon(wxTaskBarIconPtr
):
243 def __init__(self
,*_args
,**_kwargs
):
244 self
.this
= apply(windows2c
.new_wxTaskBarIcon
,_args
,_kwargs
)
246 wx
._checkForCallback
(self
, 'OnMouseMove', wxEVT_TASKBAR_MOVE
)
247 wx
._checkForCallback
(self
, 'OnLButtonDown', wxEVT_TASKBAR_LEFT_DOWN
)
248 wx
._checkForCallback
(self
, 'OnLButtonUp', wxEVT_TASKBAR_LEFT_UP
)
249 wx
._checkForCallback
(self
, 'OnRButtonDown', wxEVT_TASKBAR_RIGHT_DOWN
)
250 wx
._checkForCallback
(self
, 'OnRButtonUp', wxEVT_TASKBAR_RIGHT_UP
)
251 wx
._checkForCallback
(self
, 'OnLButtonDClick',wxEVT_TASKBAR_LEFT_DCLICK
)
252 wx
._checkForCallback
(self
, 'OnRButtonDClick',wxEVT_TASKBAR_RIGHT_DCLICK
)
259 #-------------- FUNCTION WRAPPERS ------------------
263 #-------------- VARIABLE WRAPPERS ------------------
265 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
= windows2c
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
266 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
= windows2c
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
267 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= windows2c
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
268 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= windows2c
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
269 wxEVT_COMMAND_SPLITTER_UNSPLIT
= windows2c
.wxEVT_COMMAND_SPLITTER_UNSPLIT
270 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= windows2c
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
271 wxSPLIT_HORIZONTAL
= windows2c
.wxSPLIT_HORIZONTAL
272 wxSPLIT_VERTICAL
= windows2c
.wxSPLIT_VERTICAL
273 wxSPLIT_DRAG_NONE
= windows2c
.wxSPLIT_DRAG_NONE
274 wxSPLIT_DRAG_DRAGGING
= windows2c
.wxSPLIT_DRAG_DRAGGING
275 wxSPLIT_DRAG_LEFT_DOWN
= windows2c
.wxSPLIT_DRAG_LEFT_DOWN
276 wxEVT_TASKBAR_MOVE
= windows2c
.wxEVT_TASKBAR_MOVE
277 wxEVT_TASKBAR_LEFT_DOWN
= windows2c
.wxEVT_TASKBAR_LEFT_DOWN
278 wxEVT_TASKBAR_LEFT_UP
= windows2c
.wxEVT_TASKBAR_LEFT_UP
279 wxEVT_TASKBAR_RIGHT_DOWN
= windows2c
.wxEVT_TASKBAR_RIGHT_DOWN
280 wxEVT_TASKBAR_RIGHT_UP
= windows2c
.wxEVT_TASKBAR_RIGHT_UP
281 wxEVT_TASKBAR_LEFT_DCLICK
= windows2c
.wxEVT_TASKBAR_LEFT_DCLICK
282 wxEVT_TASKBAR_RIGHT_DCLICK
= windows2c
.wxEVT_TASKBAR_RIGHT_DCLICK