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 DeletePage(self
, *_args
, **_kwargs
):
80 val
= apply(windows2c
.wxNotebook_DeletePage
,(self
,) + _args
, _kwargs
)
82 def RemovePage(self
, *_args
, **_kwargs
):
83 val
= apply(windows2c
.wxNotebook_RemovePage
,(self
,) + _args
, _kwargs
)
85 def DeleteAllPages(self
, *_args
, **_kwargs
):
86 val
= apply(windows2c
.wxNotebook_DeleteAllPages
,(self
,) + _args
, _kwargs
)
88 def AddPage(self
, *_args
, **_kwargs
):
89 val
= apply(windows2c
.wxNotebook_AddPage
,(self
,) + _args
, _kwargs
)
91 def GetPage(self
, *_args
, **_kwargs
):
92 val
= apply(windows2c
.wxNotebook_GetPage
,(self
,) + _args
, _kwargs
)
93 if val
: val
= wxWindowPtr(val
)
95 def ResizeChildren(self
, *_args
, **_kwargs
):
96 val
= apply(windows2c
.wxNotebook_ResizeChildren
,(self
,) + _args
, _kwargs
)
99 return "<C wxNotebook instance at %s>" % (self
.this
,)
100 class wxNotebook(wxNotebookPtr
):
101 def __init__(self
,*_args
,**_kwargs
):
102 self
.this
= apply(windows2c
.new_wxNotebook
,_args
,_kwargs
)
104 wx
._StdWindowCallbacks
(self
)
109 class wxSplitterEventPtr(wxCommandEventPtr
):
110 def __init__(self
,this
):
113 def GetSashPosition(self
, *_args
, **_kwargs
):
114 val
= apply(windows2c
.wxSplitterEvent_GetSashPosition
,(self
,) + _args
, _kwargs
)
116 def GetX(self
, *_args
, **_kwargs
):
117 val
= apply(windows2c
.wxSplitterEvent_GetX
,(self
,) + _args
, _kwargs
)
119 def GetY(self
, *_args
, **_kwargs
):
120 val
= apply(windows2c
.wxSplitterEvent_GetY
,(self
,) + _args
, _kwargs
)
122 def GetWindowBeingRemoved(self
, *_args
, **_kwargs
):
123 val
= apply(windows2c
.wxSplitterEvent_GetWindowBeingRemoved
,(self
,) + _args
, _kwargs
)
124 if val
: val
= wxWindowPtr(val
)
126 def SetSashPosition(self
, *_args
, **_kwargs
):
127 val
= apply(windows2c
.wxSplitterEvent_SetSashPosition
,(self
,) + _args
, _kwargs
)
130 return "<C wxSplitterEvent instance at %s>" % (self
.this
,)
131 class wxSplitterEvent(wxSplitterEventPtr
):
132 def __init__(self
,this
):
138 class wxSplitterWindowPtr(wxWindowPtr
):
139 def __init__(self
,this
):
142 def GetBorderSize(self
, *_args
, **_kwargs
):
143 val
= apply(windows2c
.wxSplitterWindow_GetBorderSize
,(self
,) + _args
, _kwargs
)
145 def GetMinimumPaneSize(self
, *_args
, **_kwargs
):
146 val
= apply(windows2c
.wxSplitterWindow_GetMinimumPaneSize
,(self
,) + _args
, _kwargs
)
148 def GetSashPosition(self
, *_args
, **_kwargs
):
149 val
= apply(windows2c
.wxSplitterWindow_GetSashPosition
,(self
,) + _args
, _kwargs
)
151 def GetSashSize(self
, *_args
, **_kwargs
):
152 val
= apply(windows2c
.wxSplitterWindow_GetSashSize
,(self
,) + _args
, _kwargs
)
154 def GetSplitMode(self
, *_args
, **_kwargs
):
155 val
= apply(windows2c
.wxSplitterWindow_GetSplitMode
,(self
,) + _args
, _kwargs
)
157 def GetWindow1(self
, *_args
, **_kwargs
):
158 val
= apply(windows2c
.wxSplitterWindow_GetWindow1
,(self
,) + _args
, _kwargs
)
159 if val
: val
= wxWindowPtr(val
)
161 def GetWindow2(self
, *_args
, **_kwargs
):
162 val
= apply(windows2c
.wxSplitterWindow_GetWindow2
,(self
,) + _args
, _kwargs
)
163 if val
: val
= wxWindowPtr(val
)
165 def Initialize(self
, *_args
, **_kwargs
):
166 val
= apply(windows2c
.wxSplitterWindow_Initialize
,(self
,) + _args
, _kwargs
)
168 def IsSplit(self
, *_args
, **_kwargs
):
169 val
= apply(windows2c
.wxSplitterWindow_IsSplit
,(self
,) + _args
, _kwargs
)
171 def ReplaceWindow(self
, *_args
, **_kwargs
):
172 val
= apply(windows2c
.wxSplitterWindow_ReplaceWindow
,(self
,) + _args
, _kwargs
)
174 def SetBorderSize(self
, *_args
, **_kwargs
):
175 val
= apply(windows2c
.wxSplitterWindow_SetBorderSize
,(self
,) + _args
, _kwargs
)
177 def SetSashPosition(self
, *_args
, **_kwargs
):
178 val
= apply(windows2c
.wxSplitterWindow_SetSashPosition
,(self
,) + _args
, _kwargs
)
180 def SetSashSize(self
, *_args
, **_kwargs
):
181 val
= apply(windows2c
.wxSplitterWindow_SetSashSize
,(self
,) + _args
, _kwargs
)
183 def SetMinimumPaneSize(self
, *_args
, **_kwargs
):
184 val
= apply(windows2c
.wxSplitterWindow_SetMinimumPaneSize
,(self
,) + _args
, _kwargs
)
186 def SetSplitMode(self
, *_args
, **_kwargs
):
187 val
= apply(windows2c
.wxSplitterWindow_SetSplitMode
,(self
,) + _args
, _kwargs
)
189 def SplitHorizontally(self
, *_args
, **_kwargs
):
190 val
= apply(windows2c
.wxSplitterWindow_SplitHorizontally
,(self
,) + _args
, _kwargs
)
192 def SplitVertically(self
, *_args
, **_kwargs
):
193 val
= apply(windows2c
.wxSplitterWindow_SplitVertically
,(self
,) + _args
, _kwargs
)
195 def Unsplit(self
, *_args
, **_kwargs
):
196 val
= apply(windows2c
.wxSplitterWindow_Unsplit
,(self
,) + _args
, _kwargs
)
199 return "<C wxSplitterWindow instance at %s>" % (self
.this
,)
200 class wxSplitterWindow(wxSplitterWindowPtr
):
201 def __init__(self
,*_args
,**_kwargs
):
202 self
.this
= apply(windows2c
.new_wxSplitterWindow
,_args
,_kwargs
)
204 wx
._StdWindowCallbacks
(self
)
211 #-------------- FUNCTION WRAPPERS ------------------
215 #-------------- VARIABLE WRAPPERS ------------------