]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows2.py
1586b494d124e4c5a24dd9e57544eadec3476bbd
[wxWidgets.git] / utils / wxPython / src / gtk / windows2.py
1 # This file was created automatically by SWIG.
2 import windows2c
3
4 from misc import *
5
6 from gdi import *
7
8 from windows import *
9
10 from clip_dnd import *
11
12 from controls import *
13
14 from events import *
15 import wx
16 class wxNotebookEventPtr(wxNotifyEventPtr):
17 def __init__(self,this):
18 self.this = this
19 self.thisown = 0
20 def GetSelection(self, *_args, **_kwargs):
21 val = apply(windows2c.wxNotebookEvent_GetSelection,(self,) + _args, _kwargs)
22 return val
23 def GetOldSelection(self, *_args, **_kwargs):
24 val = apply(windows2c.wxNotebookEvent_GetOldSelection,(self,) + _args, _kwargs)
25 return val
26 def SetOldSelection(self, *_args, **_kwargs):
27 val = apply(windows2c.wxNotebookEvent_SetOldSelection,(self,) + _args, _kwargs)
28 return val
29 def SetSelection(self, *_args, **_kwargs):
30 val = apply(windows2c.wxNotebookEvent_SetSelection,(self,) + _args, _kwargs)
31 return val
32 def __repr__(self):
33 return "<C wxNotebookEvent instance at %s>" % (self.this,)
34 class wxNotebookEvent(wxNotebookEventPtr):
35 def __init__(self,this):
36 self.this = this
37
38
39
40
41 class wxNotebookPtr(wxControlPtr):
42 def __init__(self,this):
43 self.this = this
44 self.thisown = 0
45 def GetPageCount(self, *_args, **_kwargs):
46 val = apply(windows2c.wxNotebook_GetPageCount,(self,) + _args, _kwargs)
47 return val
48 def SetSelection(self, *_args, **_kwargs):
49 val = apply(windows2c.wxNotebook_SetSelection,(self,) + _args, _kwargs)
50 return val
51 def AdvanceSelection(self, *_args, **_kwargs):
52 val = apply(windows2c.wxNotebook_AdvanceSelection,(self,) + _args, _kwargs)
53 return val
54 def GetSelection(self, *_args, **_kwargs):
55 val = apply(windows2c.wxNotebook_GetSelection,(self,) + _args, _kwargs)
56 return val
57 def SetPageText(self, *_args, **_kwargs):
58 val = apply(windows2c.wxNotebook_SetPageText,(self,) + _args, _kwargs)
59 return val
60 def GetPageText(self, *_args, **_kwargs):
61 val = apply(windows2c.wxNotebook_GetPageText,(self,) + _args, _kwargs)
62 return val
63 def SetImageList(self, *_args, **_kwargs):
64 val = apply(windows2c.wxNotebook_SetImageList,(self,) + _args, _kwargs)
65 return val
66 def GetImageList(self, *_args, **_kwargs):
67 val = apply(windows2c.wxNotebook_GetImageList,(self,) + _args, _kwargs)
68 if val: val = wxImageListPtr(val)
69 return val
70 def GetPageImage(self, *_args, **_kwargs):
71 val = apply(windows2c.wxNotebook_GetPageImage,(self,) + _args, _kwargs)
72 return val
73 def SetPageImage(self, *_args, **_kwargs):
74 val = apply(windows2c.wxNotebook_SetPageImage,(self,) + _args, _kwargs)
75 return val
76 def GetRowCount(self, *_args, **_kwargs):
77 val = apply(windows2c.wxNotebook_GetRowCount,(self,) + _args, _kwargs)
78 return val
79 def DeletePage(self, *_args, **_kwargs):
80 val = apply(windows2c.wxNotebook_DeletePage,(self,) + _args, _kwargs)
81 return val
82 def RemovePage(self, *_args, **_kwargs):
83 val = apply(windows2c.wxNotebook_RemovePage,(self,) + _args, _kwargs)
84 return val
85 def DeleteAllPages(self, *_args, **_kwargs):
86 val = apply(windows2c.wxNotebook_DeleteAllPages,(self,) + _args, _kwargs)
87 return val
88 def AddPage(self, *_args, **_kwargs):
89 val = apply(windows2c.wxNotebook_AddPage,(self,) + _args, _kwargs)
90 return val
91 def GetPage(self, *_args, **_kwargs):
92 val = apply(windows2c.wxNotebook_GetPage,(self,) + _args, _kwargs)
93 if val: val = wxWindowPtr(val)
94 return val
95 def ResizeChildren(self, *_args, **_kwargs):
96 val = apply(windows2c.wxNotebook_ResizeChildren,(self,) + _args, _kwargs)
97 return val
98 def __repr__(self):
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)
103 self.thisown = 1
104 wx._StdWindowCallbacks(self)
105
106
107
108
109 class wxSplitterEventPtr(wxCommandEventPtr):
110 def __init__(self,this):
111 self.this = this
112 self.thisown = 0
113 def GetSashPosition(self, *_args, **_kwargs):
114 val = apply(windows2c.wxSplitterEvent_GetSashPosition,(self,) + _args, _kwargs)
115 return val
116 def GetX(self, *_args, **_kwargs):
117 val = apply(windows2c.wxSplitterEvent_GetX,(self,) + _args, _kwargs)
118 return val
119 def GetY(self, *_args, **_kwargs):
120 val = apply(windows2c.wxSplitterEvent_GetY,(self,) + _args, _kwargs)
121 return val
122 def GetWindowBeingRemoved(self, *_args, **_kwargs):
123 val = apply(windows2c.wxSplitterEvent_GetWindowBeingRemoved,(self,) + _args, _kwargs)
124 if val: val = wxWindowPtr(val)
125 return val
126 def SetSashPosition(self, *_args, **_kwargs):
127 val = apply(windows2c.wxSplitterEvent_SetSashPosition,(self,) + _args, _kwargs)
128 return val
129 def __repr__(self):
130 return "<C wxSplitterEvent instance at %s>" % (self.this,)
131 class wxSplitterEvent(wxSplitterEventPtr):
132 def __init__(self,this):
133 self.this = this
134
135
136
137
138 class wxSplitterWindowPtr(wxWindowPtr):
139 def __init__(self,this):
140 self.this = this
141 self.thisown = 0
142 def GetBorderSize(self, *_args, **_kwargs):
143 val = apply(windows2c.wxSplitterWindow_GetBorderSize,(self,) + _args, _kwargs)
144 return val
145 def GetMinimumPaneSize(self, *_args, **_kwargs):
146 val = apply(windows2c.wxSplitterWindow_GetMinimumPaneSize,(self,) + _args, _kwargs)
147 return val
148 def GetSashPosition(self, *_args, **_kwargs):
149 val = apply(windows2c.wxSplitterWindow_GetSashPosition,(self,) + _args, _kwargs)
150 return val
151 def GetSashSize(self, *_args, **_kwargs):
152 val = apply(windows2c.wxSplitterWindow_GetSashSize,(self,) + _args, _kwargs)
153 return val
154 def GetSplitMode(self, *_args, **_kwargs):
155 val = apply(windows2c.wxSplitterWindow_GetSplitMode,(self,) + _args, _kwargs)
156 return val
157 def GetWindow1(self, *_args, **_kwargs):
158 val = apply(windows2c.wxSplitterWindow_GetWindow1,(self,) + _args, _kwargs)
159 if val: val = wxWindowPtr(val)
160 return val
161 def GetWindow2(self, *_args, **_kwargs):
162 val = apply(windows2c.wxSplitterWindow_GetWindow2,(self,) + _args, _kwargs)
163 if val: val = wxWindowPtr(val)
164 return val
165 def Initialize(self, *_args, **_kwargs):
166 val = apply(windows2c.wxSplitterWindow_Initialize,(self,) + _args, _kwargs)
167 return val
168 def IsSplit(self, *_args, **_kwargs):
169 val = apply(windows2c.wxSplitterWindow_IsSplit,(self,) + _args, _kwargs)
170 return val
171 def ReplaceWindow(self, *_args, **_kwargs):
172 val = apply(windows2c.wxSplitterWindow_ReplaceWindow,(self,) + _args, _kwargs)
173 return val
174 def SetBorderSize(self, *_args, **_kwargs):
175 val = apply(windows2c.wxSplitterWindow_SetBorderSize,(self,) + _args, _kwargs)
176 return val
177 def SetSashPosition(self, *_args, **_kwargs):
178 val = apply(windows2c.wxSplitterWindow_SetSashPosition,(self,) + _args, _kwargs)
179 return val
180 def SetSashSize(self, *_args, **_kwargs):
181 val = apply(windows2c.wxSplitterWindow_SetSashSize,(self,) + _args, _kwargs)
182 return val
183 def SetMinimumPaneSize(self, *_args, **_kwargs):
184 val = apply(windows2c.wxSplitterWindow_SetMinimumPaneSize,(self,) + _args, _kwargs)
185 return val
186 def SetSplitMode(self, *_args, **_kwargs):
187 val = apply(windows2c.wxSplitterWindow_SetSplitMode,(self,) + _args, _kwargs)
188 return val
189 def SplitHorizontally(self, *_args, **_kwargs):
190 val = apply(windows2c.wxSplitterWindow_SplitHorizontally,(self,) + _args, _kwargs)
191 return val
192 def SplitVertically(self, *_args, **_kwargs):
193 val = apply(windows2c.wxSplitterWindow_SplitVertically,(self,) + _args, _kwargs)
194 return val
195 def Unsplit(self, *_args, **_kwargs):
196 val = apply(windows2c.wxSplitterWindow_Unsplit,(self,) + _args, _kwargs)
197 return val
198 def __repr__(self):
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)
203 self.thisown = 1
204 wx._StdWindowCallbacks(self)
205
206
207
208
209
210
211 #-------------- FUNCTION WRAPPERS ------------------
212
213
214
215 #-------------- VARIABLE WRAPPERS ------------------
216