]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/windows2.py
Added ability to use xml resource files. Still need to add ability to
[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
RD
34class wxNotebookEvent(wxNotebookEventPtr):
35 def __init__(self,this):
36 self.this = this
37
38
39
40
41class wxNotebookPtr(wxControlPtr):
42 def __init__(self,this):
43 self.this = this
44 self.thisown = 0
1d99702e
RD
45 def GetPageCount(self, *_args, **_kwargs):
46 val = apply(windows2c.wxNotebook_GetPageCount,(self,) + _args, _kwargs)
8ab979d7 47 return val
1d99702e
RD
48 def SetSelection(self, *_args, **_kwargs):
49 val = apply(windows2c.wxNotebook_SetSelection,(self,) + _args, _kwargs)
8ab979d7 50 return val
1d99702e
RD
51 def AdvanceSelection(self, *_args, **_kwargs):
52 val = apply(windows2c.wxNotebook_AdvanceSelection,(self,) + _args, _kwargs)
8ab979d7 53 return val
1d99702e
RD
54 def GetSelection(self, *_args, **_kwargs):
55 val = apply(windows2c.wxNotebook_GetSelection,(self,) + _args, _kwargs)
8ab979d7 56 return val
1d99702e
RD
57 def SetPageText(self, *_args, **_kwargs):
58 val = apply(windows2c.wxNotebook_SetPageText,(self,) + _args, _kwargs)
8ab979d7 59 return val
1d99702e
RD
60 def GetPageText(self, *_args, **_kwargs):
61 val = apply(windows2c.wxNotebook_GetPageText,(self,) + _args, _kwargs)
8ab979d7 62 return val
1d99702e
RD
63 def SetImageList(self, *_args, **_kwargs):
64 val = apply(windows2c.wxNotebook_SetImageList,(self,) + _args, _kwargs)
8ab979d7 65 return val
1d99702e
RD
66 def GetImageList(self, *_args, **_kwargs):
67 val = apply(windows2c.wxNotebook_GetImageList,(self,) + _args, _kwargs)
8ab979d7 68 return val
1d99702e
RD
69 def GetPageImage(self, *_args, **_kwargs):
70 val = apply(windows2c.wxNotebook_GetPageImage,(self,) + _args, _kwargs)
8ab979d7 71 return val
1d99702e
RD
72 def SetPageImage(self, *_args, **_kwargs):
73 val = apply(windows2c.wxNotebook_SetPageImage,(self,) + _args, _kwargs)
8ab979d7 74 return val
1d99702e
RD
75 def GetRowCount(self, *_args, **_kwargs):
76 val = apply(windows2c.wxNotebook_GetRowCount,(self,) + _args, _kwargs)
8ab979d7 77 return val
c368d904
RD
78 def SetPageSize(self, *_args, **_kwargs):
79 val = apply(windows2c.wxNotebook_SetPageSize,(self,) + _args, _kwargs)
80 return val
81 def SetPadding(self, *_args, **_kwargs):
82 val = apply(windows2c.wxNotebook_SetPadding,(self,) + _args, _kwargs)
83 return val
1d99702e
RD
84 def DeletePage(self, *_args, **_kwargs):
85 val = apply(windows2c.wxNotebook_DeletePage,(self,) + _args, _kwargs)
8ab979d7 86 return val
1d99702e
RD
87 def RemovePage(self, *_args, **_kwargs):
88 val = apply(windows2c.wxNotebook_RemovePage,(self,) + _args, _kwargs)
cf694132 89 return val
1d99702e
RD
90 def DeleteAllPages(self, *_args, **_kwargs):
91 val = apply(windows2c.wxNotebook_DeleteAllPages,(self,) + _args, _kwargs)
8ab979d7 92 return val
1d99702e
RD
93 def AddPage(self, *_args, **_kwargs):
94 val = apply(windows2c.wxNotebook_AddPage,(self,) + _args, _kwargs)
8ab979d7 95 return val
c368d904
RD
96 def InsertPage(self, *_args, **_kwargs):
97 val = apply(windows2c.wxNotebook_InsertPage,(self,) + _args, _kwargs)
98 return val
1d99702e
RD
99 def GetPage(self, *_args, **_kwargs):
100 val = apply(windows2c.wxNotebook_GetPage,(self,) + _args, _kwargs)
8ab979d7 101 return val
1d99702e
RD
102 def ResizeChildren(self, *_args, **_kwargs):
103 val = apply(windows2c.wxNotebook_ResizeChildren,(self,) + _args, _kwargs)
cf694132 104 return val
8ab979d7 105 def __repr__(self):
1d99702e 106 return "<C wxNotebook instance at %s>" % (self.this,)
8ab979d7 107class wxNotebook(wxNotebookPtr):
1d99702e
RD
108 def __init__(self,*_args,**_kwargs):
109 self.this = apply(windows2c.new_wxNotebook,_args,_kwargs)
8ab979d7 110 self.thisown = 1
f6bcfd97 111 #wx._StdWindowCallbacks(self)
9c039d08
RD
112
113
114
115
bb0054cd
RD
116class wxSplitterEventPtr(wxCommandEventPtr):
117 def __init__(self,this):
118 self.this = this
119 self.thisown = 0
1d99702e
RD
120 def GetSashPosition(self, *_args, **_kwargs):
121 val = apply(windows2c.wxSplitterEvent_GetSashPosition,(self,) + _args, _kwargs)
bb0054cd 122 return val
1d99702e
RD
123 def GetX(self, *_args, **_kwargs):
124 val = apply(windows2c.wxSplitterEvent_GetX,(self,) + _args, _kwargs)
bb0054cd 125 return val
1d99702e
RD
126 def GetY(self, *_args, **_kwargs):
127 val = apply(windows2c.wxSplitterEvent_GetY,(self,) + _args, _kwargs)
bb0054cd 128 return val
1d99702e
RD
129 def GetWindowBeingRemoved(self, *_args, **_kwargs):
130 val = apply(windows2c.wxSplitterEvent_GetWindowBeingRemoved,(self,) + _args, _kwargs)
bb0054cd 131 return val
1d99702e
RD
132 def SetSashPosition(self, *_args, **_kwargs):
133 val = apply(windows2c.wxSplitterEvent_SetSashPosition,(self,) + _args, _kwargs)
bb0054cd
RD
134 return val
135 def __repr__(self):
1d99702e 136 return "<C wxSplitterEvent instance at %s>" % (self.this,)
bb0054cd
RD
137class wxSplitterEvent(wxSplitterEventPtr):
138 def __init__(self,this):
139 self.this = this
140
141
142
143
9c039d08
RD
144class wxSplitterWindowPtr(wxWindowPtr):
145 def __init__(self,this):
146 self.this = this
147 self.thisown = 0
1d99702e
RD
148 def GetBorderSize(self, *_args, **_kwargs):
149 val = apply(windows2c.wxSplitterWindow_GetBorderSize,(self,) + _args, _kwargs)
b639c3c5 150 return val
1d99702e
RD
151 def GetMinimumPaneSize(self, *_args, **_kwargs):
152 val = apply(windows2c.wxSplitterWindow_GetMinimumPaneSize,(self,) + _args, _kwargs)
9c039d08 153 return val
1d99702e
RD
154 def GetSashPosition(self, *_args, **_kwargs):
155 val = apply(windows2c.wxSplitterWindow_GetSashPosition,(self,) + _args, _kwargs)
9c039d08 156 return val
1d99702e
RD
157 def GetSashSize(self, *_args, **_kwargs):
158 val = apply(windows2c.wxSplitterWindow_GetSashSize,(self,) + _args, _kwargs)
b639c3c5 159 return val
1d99702e
RD
160 def GetSplitMode(self, *_args, **_kwargs):
161 val = apply(windows2c.wxSplitterWindow_GetSplitMode,(self,) + _args, _kwargs)
9c039d08 162 return val
1d99702e
RD
163 def GetWindow1(self, *_args, **_kwargs):
164 val = apply(windows2c.wxSplitterWindow_GetWindow1,(self,) + _args, _kwargs)
9c039d08 165 return val
1d99702e
RD
166 def GetWindow2(self, *_args, **_kwargs):
167 val = apply(windows2c.wxSplitterWindow_GetWindow2,(self,) + _args, _kwargs)
9c039d08 168 return val
1d99702e
RD
169 def Initialize(self, *_args, **_kwargs):
170 val = apply(windows2c.wxSplitterWindow_Initialize,(self,) + _args, _kwargs)
9c039d08 171 return val
1d99702e
RD
172 def IsSplit(self, *_args, **_kwargs):
173 val = apply(windows2c.wxSplitterWindow_IsSplit,(self,) + _args, _kwargs)
9c039d08 174 return val
9d8bd15f
RD
175 def ReplaceWindow(self, *_args, **_kwargs):
176 val = apply(windows2c.wxSplitterWindow_ReplaceWindow,(self,) + _args, _kwargs)
177 return val
1d99702e
RD
178 def SetBorderSize(self, *_args, **_kwargs):
179 val = apply(windows2c.wxSplitterWindow_SetBorderSize,(self,) + _args, _kwargs)
b639c3c5 180 return val
1d99702e
RD
181 def SetSashPosition(self, *_args, **_kwargs):
182 val = apply(windows2c.wxSplitterWindow_SetSashPosition,(self,) + _args, _kwargs)
9c039d08 183 return val
1d99702e
RD
184 def SetSashSize(self, *_args, **_kwargs):
185 val = apply(windows2c.wxSplitterWindow_SetSashSize,(self,) + _args, _kwargs)
b639c3c5 186 return val
1d99702e
RD
187 def SetMinimumPaneSize(self, *_args, **_kwargs):
188 val = apply(windows2c.wxSplitterWindow_SetMinimumPaneSize,(self,) + _args, _kwargs)
9c039d08 189 return val
1d99702e
RD
190 def SetSplitMode(self, *_args, **_kwargs):
191 val = apply(windows2c.wxSplitterWindow_SetSplitMode,(self,) + _args, _kwargs)
9c039d08 192 return val
1d99702e
RD
193 def SplitHorizontally(self, *_args, **_kwargs):
194 val = apply(windows2c.wxSplitterWindow_SplitHorizontally,(self,) + _args, _kwargs)
9c039d08 195 return val
1d99702e
RD
196 def SplitVertically(self, *_args, **_kwargs):
197 val = apply(windows2c.wxSplitterWindow_SplitVertically,(self,) + _args, _kwargs)
9c039d08 198 return val
1d99702e
RD
199 def Unsplit(self, *_args, **_kwargs):
200 val = apply(windows2c.wxSplitterWindow_Unsplit,(self,) + _args, _kwargs)
9c039d08
RD
201 return val
202 def __repr__(self):
1d99702e 203 return "<C wxSplitterWindow instance at %s>" % (self.this,)
9c039d08 204class wxSplitterWindow(wxSplitterWindowPtr):
1d99702e
RD
205 def __init__(self,*_args,**_kwargs):
206 self.this = apply(windows2c.new_wxSplitterWindow,_args,_kwargs)
9c039d08 207 self.thisown = 1
f6bcfd97 208 #wx._StdWindowCallbacks(self)
b639c3c5
RD
209
210
211
212
8ab979d7
RD
213
214
215#-------------- FUNCTION WRAPPERS ------------------
216
217
218
219#-------------- VARIABLE WRAPPERS ------------------
220
9c4165ad
RD
221wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
222wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
223wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
224wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
225wxEVT_COMMAND_SPLITTER_UNSPLIT = windows2c.wxEVT_COMMAND_SPLITTER_UNSPLIT
226wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = windows2c.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
f6bcfd97
BP
227wxSPLIT_HORIZONTAL = windows2c.wxSPLIT_HORIZONTAL
228wxSPLIT_VERTICAL = windows2c.wxSPLIT_VERTICAL
229wxSPLIT_DRAG_NONE = windows2c.wxSPLIT_DRAG_NONE
230wxSPLIT_DRAG_DRAGGING = windows2c.wxSPLIT_DRAG_DRAGGING
231wxSPLIT_DRAG_LEFT_DOWN = windows2c.wxSPLIT_DRAG_LEFT_DOWN