1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
12 from stattool
import *
14 from controls
import *
18 class wxTopLevelWindowPtr(wxWindowPtr
):
19 def __init__(self
,this
):
22 def Create(self
, *_args
, **_kwargs
):
23 val
= apply(framesc
.wxTopLevelWindow_Create
,(self
,) + _args
, _kwargs
)
25 def Maximize(self
, *_args
, **_kwargs
):
26 val
= apply(framesc
.wxTopLevelWindow_Maximize
,(self
,) + _args
, _kwargs
)
28 def Restore(self
, *_args
, **_kwargs
):
29 val
= apply(framesc
.wxTopLevelWindow_Restore
,(self
,) + _args
, _kwargs
)
31 def Iconize(self
, *_args
, **_kwargs
):
32 val
= apply(framesc
.wxTopLevelWindow_Iconize
,(self
,) + _args
, _kwargs
)
34 def IsMaximized(self
, *_args
, **_kwargs
):
35 val
= apply(framesc
.wxTopLevelWindow_IsMaximized
,(self
,) + _args
, _kwargs
)
37 def IsIconized(self
, *_args
, **_kwargs
):
38 val
= apply(framesc
.wxTopLevelWindow_IsIconized
,(self
,) + _args
, _kwargs
)
40 def GetIcon(self
, *_args
, **_kwargs
):
41 val
= apply(framesc
.wxTopLevelWindow_GetIcon
,(self
,) + _args
, _kwargs
)
42 if val
: val
= wxIconPtr(val
)
44 def SetIcon(self
, *_args
, **_kwargs
):
45 val
= apply(framesc
.wxTopLevelWindow_SetIcon
,(self
,) + _args
, _kwargs
)
47 def ShowFullScreen(self
, *_args
, **_kwargs
):
48 val
= apply(framesc
.wxTopLevelWindow_ShowFullScreen
,(self
,) + _args
, _kwargs
)
50 def IsFullScreen(self
, *_args
, **_kwargs
):
51 val
= apply(framesc
.wxTopLevelWindow_IsFullScreen
,(self
,) + _args
, _kwargs
)
53 def SetTitle(self
, *_args
, **_kwargs
):
54 val
= apply(framesc
.wxTopLevelWindow_SetTitle
,(self
,) + _args
, _kwargs
)
56 def GetTitle(self
, *_args
, **_kwargs
):
57 val
= apply(framesc
.wxTopLevelWindow_GetTitle
,(self
,) + _args
, _kwargs
)
60 return "<C wxTopLevelWindow instance at %s>" % (self
.this
,)
61 class wxTopLevelWindow(wxTopLevelWindowPtr
):
62 def __init__(self
,*_args
,**_kwargs
):
63 self
.this
= apply(framesc
.new_wxTopLevelWindow
,_args
,_kwargs
)
65 self
._setOORInfo
(self
)
69 def wxPreTopLevelWindow(*_args
,**_kwargs
):
70 val
= wxTopLevelWindowPtr(apply(framesc
.new_wxPreTopLevelWindow
,_args
,_kwargs
))
76 class wxFramePtr(wxTopLevelWindowPtr
):
77 def __init__(self
,this
):
80 def Create(self
, *_args
, **_kwargs
):
81 val
= apply(framesc
.wxFrame_Create
,(self
,) + _args
, _kwargs
)
83 def GetClientAreaOrigin(self
, *_args
, **_kwargs
):
84 val
= apply(framesc
.wxFrame_GetClientAreaOrigin
,(self
,) + _args
, _kwargs
)
85 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
87 def SetMenuBar(self
, *_args
, **_kwargs
):
88 val
= apply(framesc
.wxFrame_SetMenuBar
,(self
,) + _args
, _kwargs
)
90 def GetMenuBar(self
, *_args
, **_kwargs
):
91 val
= apply(framesc
.wxFrame_GetMenuBar
,(self
,) + _args
, _kwargs
)
93 def Command(self
, *_args
, **_kwargs
):
94 val
= apply(framesc
.wxFrame_Command
,(self
,) + _args
, _kwargs
)
96 def ProcessCommand(self
, *_args
, **_kwargs
):
97 val
= apply(framesc
.wxFrame_ProcessCommand
,(self
,) + _args
, _kwargs
)
99 def CreateStatusBar(self
, *_args
, **_kwargs
):
100 val
= apply(framesc
.wxFrame_CreateStatusBar
,(self
,) + _args
, _kwargs
)
102 def GetStatusBar(self
, *_args
, **_kwargs
):
103 val
= apply(framesc
.wxFrame_GetStatusBar
,(self
,) + _args
, _kwargs
)
105 def SetStatusBar(self
, *_args
, **_kwargs
):
106 val
= apply(framesc
.wxFrame_SetStatusBar
,(self
,) + _args
, _kwargs
)
108 def SetStatusText(self
, *_args
, **_kwargs
):
109 val
= apply(framesc
.wxFrame_SetStatusText
,(self
,) + _args
, _kwargs
)
111 def SetStatusWidths(self
, *_args
, **_kwargs
):
112 val
= apply(framesc
.wxFrame_SetStatusWidths
,(self
,) + _args
, _kwargs
)
114 def CreateToolBar(self
, *_args
, **_kwargs
):
115 val
= apply(framesc
.wxFrame_CreateToolBar
,(self
,) + _args
, _kwargs
)
117 def GetToolBar(self
, *_args
, **_kwargs
):
118 val
= apply(framesc
.wxFrame_GetToolBar
,(self
,) + _args
, _kwargs
)
120 def SetToolBar(self
, *_args
, **_kwargs
):
121 val
= apply(framesc
.wxFrame_SetToolBar
,(self
,) + _args
, _kwargs
)
124 return "<C wxFrame instance at %s>" % (self
.this
,)
125 class wxFrame(wxFramePtr
):
126 def __init__(self
,*_args
,**_kwargs
):
127 self
.this
= apply(framesc
.new_wxFrame
,_args
,_kwargs
)
129 self
._setOORInfo
(self
)
133 def wxPreFrame(*_args
,**_kwargs
):
134 val
= wxFramePtr(apply(framesc
.new_wxPreFrame
,_args
,_kwargs
))
140 class wxDialogPtr(wxTopLevelWindowPtr
):
141 def __init__(self
,this
):
144 def Create(self
, *_args
, **_kwargs
):
145 val
= apply(framesc
.wxDialog_Create
,(self
,) + _args
, _kwargs
)
147 def Centre(self
, *_args
, **_kwargs
):
148 val
= apply(framesc
.wxDialog_Centre
,(self
,) + _args
, _kwargs
)
150 def EndModal(self
, *_args
, **_kwargs
):
151 val
= apply(framesc
.wxDialog_EndModal
,(self
,) + _args
, _kwargs
)
153 def SetModal(self
, *_args
, **_kwargs
):
154 val
= apply(framesc
.wxDialog_SetModal
,(self
,) + _args
, _kwargs
)
156 def IsModal(self
, *_args
, **_kwargs
):
157 val
= apply(framesc
.wxDialog_IsModal
,(self
,) + _args
, _kwargs
)
159 def ShowModal(self
, *_args
, **_kwargs
):
160 val
= apply(framesc
.wxDialog_ShowModal
,(self
,) + _args
, _kwargs
)
162 def GetReturnCode(self
, *_args
, **_kwargs
):
163 val
= apply(framesc
.wxDialog_GetReturnCode
,(self
,) + _args
, _kwargs
)
165 def SetReturnCode(self
, *_args
, **_kwargs
):
166 val
= apply(framesc
.wxDialog_SetReturnCode
,(self
,) + _args
, _kwargs
)
168 def CreateTextSizer(self
, *_args
, **_kwargs
):
169 val
= apply(framesc
.wxDialog_CreateTextSizer
,(self
,) + _args
, _kwargs
)
171 def CreateButtonSizer(self
, *_args
, **_kwargs
):
172 val
= apply(framesc
.wxDialog_CreateButtonSizer
,(self
,) + _args
, _kwargs
)
175 return "<C wxDialog instance at %s>" % (self
.this
,)
176 class wxDialog(wxDialogPtr
):
177 def __init__(self
,*_args
,**_kwargs
):
178 self
.this
= apply(framesc
.new_wxDialog
,_args
,_kwargs
)
180 self
._setOORInfo
(self
)
184 def wxPreDialog(*_args
,**_kwargs
):
185 val
= wxDialogPtr(apply(framesc
.new_wxPreDialog
,_args
,_kwargs
))
191 class wxMiniFramePtr(wxFramePtr
):
192 def __init__(self
,this
):
195 def Create(self
, *_args
, **_kwargs
):
196 val
= apply(framesc
.wxMiniFrame_Create
,(self
,) + _args
, _kwargs
)
199 return "<C wxMiniFrame instance at %s>" % (self
.this
,)
200 class wxMiniFrame(wxMiniFramePtr
):
201 def __init__(self
,*_args
,**_kwargs
):
202 self
.this
= apply(framesc
.new_wxMiniFrame
,_args
,_kwargs
)
204 self
._setOORInfo
(self
)
208 def wxPreMiniFrame(*_args
,**_kwargs
):
209 val
= wxMiniFramePtr(apply(framesc
.new_wxPreMiniFrame
,_args
,_kwargs
))
215 class wxTipWindowPtr(wxFramePtr
):
216 def __init__(self
,this
):
220 return "<C wxTipWindow instance at %s>" % (self
.this
,)
221 class wxTipWindow(wxTipWindowPtr
):
222 def __init__(self
,*_args
,**_kwargs
):
223 self
.this
= apply(framesc
.new_wxTipWindow
,_args
,_kwargs
)
225 self
._setOORInfo
(self
)
232 #-------------- FUNCTION WRAPPERS ------------------
236 #-------------- VARIABLE WRAPPERS ------------------
238 wxFULLSCREEN_NOMENUBAR
= framesc
.wxFULLSCREEN_NOMENUBAR
239 wxFULLSCREEN_NOTOOLBAR
= framesc
.wxFULLSCREEN_NOTOOLBAR
240 wxFULLSCREEN_NOSTATUSBAR
= framesc
.wxFULLSCREEN_NOSTATUSBAR
241 wxFULLSCREEN_NOBORDER
= framesc
.wxFULLSCREEN_NOBORDER
242 wxFULLSCREEN_NOCAPTION
= framesc
.wxFULLSCREEN_NOCAPTION
243 wxFULLSCREEN_ALL
= framesc
.wxFULLSCREEN_ALL
244 wxTOPLEVEL_EX_DIALOG
= framesc
.wxTOPLEVEL_EX_DIALOG