]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/windows2.py
Added classinfo macros for wxTreeEvent
[wxWidgets.git] / wxPython / src / gtk / windows2.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import windows2c
3
4from misc import *
5
6from gdi import *
7
8from windows import *
9
b1462dfa
RD
10from clip_dnd import *
11
8ab979d7
RD
12from controls import *
13
14from events import *
b8b8dda7 15import wx
bb0054cd 16class wxNotebookEventPtr(wxNotifyEventPtr):
8ab979d7
RD
17 def __init__(self,this):
18 self.this = this
19 self.thisown = 0
1d99702e
RD
20 def GetSelection(self, *_args, **_kwargs):
21 val = apply(windows2c.wxNotebookEvent_GetSelection,(self,) + _args, _kwargs)
8ab979d7 22 return val
1d99702e
RD
23 def GetOldSelection(self, *_args, **_kwargs):
24 val = apply(windows2c.wxNotebookEvent_GetOldSelection,(self,) + _args, _kwargs)
8ab979d7 25 return val
1d99702e
RD
26 def SetOldSelection(self, *_args, **_kwargs):
27 val = apply(windows2c.wxNotebookEvent_SetOldSelection,(self,) + _args, _kwargs)
bb0054cd 28 return val
1d99702e
RD
29 def SetSelection(self, *_args, **_kwargs):
30 val = apply(windows2c.wxNotebookEvent_SetSelection,(self,) + _args, _kwargs)
bb0054cd 31 return val
8ab979d7 32 def __repr__(self):
1d99702e 33 return "<C wxNotebookEvent instance at %s>" % (self.this,)
8ab979d7 34class wxNotebookEvent(wxNotebookEventPtr):
aa2a5b86
RD
35 def __init__(self,*_args,**_kwargs):
36 self.this = apply(windows2c.new_wxNotebookEvent,_args,_kwargs)
37 self.thisown = 1
8ab979d7
RD
38
39
40
41
42class wxNotebookPtr(wxControlPtr):
43 def __init__(self,this):
44 self.this = this
45 self.thisown = 0
aa2a5b86
RD
46 def Create(self, *_args, **_kwargs):
47 val = apply(windows2c.wxNotebook_Create,(self,) + _args, _kwargs)
48 return val
1d99702e
RD
49 def GetPageCount(self, *_args, **_kwargs):
50 val = apply(windows2c.wxNotebook_GetPageCount,(self,) + _args, _kwargs)
8ab979d7 51 return val
1d99702e
RD
52 def SetSelection(self, *_args, **_kwargs):
53 val = apply(windows2c.wxNotebook_SetSelection,(self,) + _args, _kwargs)
8ab979d7 54 return val
1d99702e
RD
55 def AdvanceSelection(self, *_args, **_kwargs):
56 val = apply(windows2c.wxNotebook_AdvanceSelection,(self,) + _args, _kwargs)
8ab979d7 57 return val
1d99702e
RD
58 def GetSelection(self, *_args, **_kwargs):
59 val = apply(windows2c.wxNotebook_GetSelection,(self,) + _args, _kwargs)
8ab979d7 60 return val
1d99702e
RD
61 def SetPageText(self, *_args, **_kwargs):
62 val = apply(windows2c.wxNotebook_SetPageText,(self,) + _args, _kwargs)
8ab979d7 63 return val
1d99702e
RD
64 def GetPageText(self, *_args, **_kwargs):
65 val = apply(windows2c.wxNotebook_GetPageText,(self,) + _args, _kwargs)
8ab979d7 66 return val
1d99702e
RD
67 def SetImageList(self, *_args, **_kwargs):
68 val = apply(windows2c.wxNotebook_SetImageList,(self,) + _args, _kwargs)
8ab979d7 69 return val
1d99702e
RD
70 def GetImageList(self, *_args, **_kwargs):
71 val = apply(windows2c.wxNotebook_GetImageList,(self,) + _args, _kwargs)
8ab979d7 72 return val
1d99702e
RD
73 def GetPageImage(self, *_args, **_kwargs):
74 val = apply(windows2c.wxNotebook_GetPageImage,(self,) + _args, _kwargs)
8ab979d7 75 return val
1d99702e
RD
76 def SetPageImage(self, *_args, **_kwargs):
77 val = apply(windows2c.wxNotebook_SetPageImage,(self,) + _args, _kwargs)
8ab979d7 78 return val
1d99702e
RD
79 def GetRowCount(self, *_args, **_kwargs):
80 val = apply(windows2c.wxNotebook_GetRowCount,(self,) + _args, _kwargs)
8ab979d7 81 return val
c368d904
RD
82 def SetPageSize(self, *_args, **_kwargs):
83 val = apply(windows2c.wxNotebook_SetPageSize,(self,) + _args, _kwargs)
84 return val
85 def SetPadding(self, *_args, **_kwargs):
86 val = apply(windows2c.wxNotebook_SetPadding,(self,) + _args, _kwargs)
87 return val
1d99702e
RD
88 def DeletePage(self, *_args, **_kwargs):
89 val = apply(windows2c.wxNotebook_DeletePage,(self,) + _args, _kwargs)
8ab979d7 90 return val
1d99702e
RD
91 def RemovePage(self, *_args, **_kwargs):
92 val = apply(windows2c.wxNotebook_RemovePage,(self,) + _args, _kwargs)
cf694132 93 return val
1d99702e
RD
94 def DeleteAllPages(self, *_args, **_kwargs):
95 val = apply(windows2c.wxNotebook_DeleteAllPages,(self,) + _args, _kwargs)
8ab979d7 96 return val
1d99702e
RD
97 def AddPage(self, *_args, **_kwargs):
98 val = apply(windows2c.wxNotebook_AddPage,(self,) + _args, _kwargs)
8ab979d7 99 return val
c368d904
RD
100 def InsertPage(self, *_args, **_kwargs):
101 val = apply(windows2c.wxNotebook_InsertPage,(self,) + _args, _kwargs)
102 return val
1d99702e
RD
103 def GetPage(self, *_args, **_kwargs):
104 val = apply(windows2c.wxNotebook_GetPage,(self,) + _args, _kwargs)
8ab979d7 105 return val
1d99702e
RD
106 def ResizeChildren(self, *_args, **_kwargs):
107 val = apply(windows2c.wxNotebook_ResizeChildren,(self,) + _args, _kwargs)
cf694132 108 return val
8ab979d7 109 def __repr__(self):
1d99702e 110 return "<C wxNotebook instance at %s>" % (self.this,)
8ab979d7 111class wxNotebook(wxNotebookPtr):
1d99702e
RD
112 def __init__(self,*_args,**_kwargs):
113 self.this = apply(windows2c.new_wxNotebook,_args,_kwargs)
8ab979d7 114 self.thisown = 1
9c039d08
RD
115
116
117
aa2a5b86
RD
118def wxPreNotebook(*_args,**_kwargs):
119 val = wxNotebookPtr(apply(windows2c.new_wxPreNotebook,_args,_kwargs))
120 val.thisown = 1
121 return val
122
9c039d08 123
bb0054cd
RD
124class wxSplitterEventPtr(wxCommandEventPtr):
125 def __init__(self,this):
126 self.this = this
127 self.thisown = 0
1d99702e
RD
128 def GetSashPosition(self, *_args, **_kwargs):
129 val = apply(windows2c.wxSplitterEvent_GetSashPosition,(self,) + _args, _kwargs)
bb0054cd 130 return val
1d99702e
RD
131 def GetX(self, *_args, **_kwargs):
132 val = apply(windows2c.wxSplitterEvent_GetX,(self,) + _args, _kwargs)
bb0054cd 133 return val
1d99702e
RD
134 def GetY(self, *_args, **_kwargs):
135 val = apply(windows2c.wxSplitterEvent_GetY,(self,) + _args, _kwargs)
bb0054cd 136 return val
1d99702e
RD
137 def GetWindowBeingRemoved(self, *_args, **_kwargs):
138 val = apply(windows2c.wxSplitterEvent_GetWindowBeingRemoved,(self,) + _args, _kwargs)
bb0054cd 139 return val
1d99702e
RD
140 def SetSashPosition(self, *_args, **_kwargs):
141 val = apply(windows2c.wxSplitterEvent_SetSashPosition,(self,) + _args, _kwargs)
bb0054cd
RD
142 return val
143 def __repr__(self):
1d99702e 144 return "<C wxSplitterEvent instance at %s>" % (self.this,)
bb0054cd 145class wxSplitterEvent(wxSplitterEventPtr):
aa2a5b86
RD
146 def __init__(self,*_args,**_kwargs):
147 self.this = apply(windows2c.new_wxSplitterEvent,_args,_kwargs)
148 self.thisown = 1
bb0054cd
RD
149
150
151
152
9c039d08
RD
153class wxSplitterWindowPtr(wxWindowPtr):
154 def __init__(self,this):
155 self.this = this
156 self.thisown = 0
aa2a5b86
RD
157 def Create(self, *_args, **_kwargs):
158 val = apply(windows2c.wxSplitterWindow_Create,(self,) + _args, _kwargs)
9c039d08 159 return val
1d99702e
RD
160 def GetWindow1(self, *_args, **_kwargs):
161 val = apply(windows2c.wxSplitterWindow_GetWindow1,(self,) + _args, _kwargs)
9c039d08 162 return val
1d99702e
RD
163 def GetWindow2(self, *_args, **_kwargs):
164 val = apply(windows2c.wxSplitterWindow_GetWindow2,(self,) + _args, _kwargs)
9c039d08 165 return val
aa2a5b86
RD
166 def SetSplitMode(self, *_args, **_kwargs):
167 val = apply(windows2c.wxSplitterWindow_SetSplitMode,(self,) + _args, _kwargs)
168 return val
169 def GetSplitMode(self, *_args, **_kwargs):
170 val = apply(windows2c.wxSplitterWindow_GetSplitMode,(self,) + _args, _kwargs)
171 return val
1d99702e
RD
172 def Initialize(self, *_args, **_kwargs):
173 val = apply(windows2c.wxSplitterWindow_Initialize,(self,) + _args, _kwargs)
9c039d08 174 return val
aa2a5b86
RD
175 def SplitVertically(self, *_args, **_kwargs):
176 val = apply(windows2c.wxSplitterWindow_SplitVertically,(self,) + _args, _kwargs)
177 return val
178 def SplitHorizontally(self, *_args, **_kwargs):
179 val = apply(windows2c.wxSplitterWindow_SplitHorizontally,(self,) + _args, _kwargs)
180 return val
181 def Unsplit(self, *_args, **_kwargs):
182 val = apply(windows2c.wxSplitterWindow_Unsplit,(self,) + _args, _kwargs)
9c039d08 183 return val
9d8bd15f
RD
184 def ReplaceWindow(self, *_args, **_kwargs):
185 val = apply(windows2c.wxSplitterWindow_ReplaceWindow,(self,) + _args, _kwargs)
186 return val
aa2a5b86
RD
187 def IsSplit(self, *_args, **_kwargs):
188 val = apply(windows2c.wxSplitterWindow_IsSplit,(self,) + _args, _kwargs)
189 return val
190 def SetSashSize(self, *_args, **_kwargs):
191 val = apply(windows2c.wxSplitterWindow_SetSashSize,(self,) + _args, _kwargs)
192 return val
1d99702e
RD
193 def SetBorderSize(self, *_args, **_kwargs):
194 val = apply(windows2c.wxSplitterWindow_SetBorderSize,(self,) + _args, _kwargs)
b639c3c5 195 return val
aa2a5b86
RD
196 def GetSashSize(self, *_args, **_kwargs):
197 val = apply(windows2c.wxSplitterWindow_GetSashSize,(self,) + _args, _kwargs)
198 return val
199 def GetBorderSize(self, *_args, **_kwargs):
200 val = apply(windows2c.wxSplitterWindow_GetBorderSize,(self,) + _args, _kwargs)
201 return val
1d99702e
RD
202 def SetSashPosition(self, *_args, **_kwargs):
203 val = apply(windows2c.wxSplitterWindow_SetSashPosition,(self,) + _args, _kwargs)
9c039d08 204 return val
aa2a5b86
RD
205 def GetSashPosition(self, *_args, **_kwargs):
206 val = apply(windows2c.wxSplitterWindow_GetSashPosition,(self,) + _args, _kwargs)
b639c3c5 207 return val
1d99702e
RD
208 def SetMinimumPaneSize(self, *_args, **_kwargs):
209 val = apply(windows2c.wxSplitterWindow_SetMinimumPaneSize,(self,) + _args, _kwargs)
9c039d08 210 return val
aa2a5b86
RD
211 def GetMinimumPaneSize(self, *_args, **_kwargs):
212 val = apply(windows2c.wxSplitterWindow_GetMinimumPaneSize,(self,) + _args, _kwargs)
9c039d08
RD
213 return val
214 def __repr__(self):
1d99702e 215 return "<C wxSplitterWindow instance at %s>" % (self.this,)
9c039d08 216class wxSplitterWindow(wxSplitterWindowPtr):
1d99702e
RD
217 def __init__(self,*_args,**_kwargs):
218 self.this = apply(windows2c.new_wxSplitterWindow,_args,_kwargs)
9c039d08 219 self.thisown = 1
b639c3c5
RD
220
221
222
aa2a5b86
RD
223def wxPreSplitterWindow(*_args,**_kwargs):
224 val = wxSplitterWindowPtr(apply(windows2c.new_wxPreSplitterWindow,_args,_kwargs))
225 val.thisown = 1
226 return val
227
b639c3c5 228
8ab979d7
RD
229
230
231#-------------- FUNCTION WRAPPERS ------------------
232
233
234
235#-------------- VARIABLE WRAPPERS ------------------
236
9c4165ad
RD
237wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
238wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
239wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
240wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
241wxEVT_COMMAND_SPLITTER_UNSPLIT = windows2c.wxEVT_COMMAND_SPLITTER_UNSPLIT
242wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = windows2c.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
f6bcfd97
BP
243wxSPLIT_HORIZONTAL = windows2c.wxSPLIT_HORIZONTAL
244wxSPLIT_VERTICAL = windows2c.wxSPLIT_VERTICAL
245wxSPLIT_DRAG_NONE = windows2c.wxSPLIT_DRAG_NONE
246wxSPLIT_DRAG_DRAGGING = windows2c.wxSPLIT_DRAG_DRAGGING
247wxSPLIT_DRAG_LEFT_DOWN = windows2c.wxSPLIT_DRAG_LEFT_DOWN