1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
12 from stattool
import *
14 from controls
import *
18 class wxFramePtr(wxWindowPtr
):
19 def __init__(self
,this
):
22 def Centre(self
, *_args
, **_kwargs
):
23 val
= apply(framesc
.wxFrame_Centre
,(self
,) + _args
, _kwargs
)
25 def Command(self
, *_args
, **_kwargs
):
26 val
= apply(framesc
.wxFrame_Command
,(self
,) + _args
, _kwargs
)
28 def CreateStatusBar(self
, *_args
, **_kwargs
):
29 val
= apply(framesc
.wxFrame_CreateStatusBar
,(self
,) + _args
, _kwargs
)
30 if val
: val
= wxStatusBarPtr(val
)
32 def CreateToolBar(self
, *_args
, **_kwargs
):
33 val
= apply(framesc
.wxFrame_CreateToolBar
,(self
,) + _args
, _kwargs
)
34 if val
: val
= wxToolBarPtr(val
)
36 def GetMenuBar(self
, *_args
, **_kwargs
):
37 val
= apply(framesc
.wxFrame_GetMenuBar
,(self
,) + _args
, _kwargs
)
38 if val
: val
= wxMenuBarPtr(val
)
40 def GetStatusBar(self
, *_args
, **_kwargs
):
41 val
= apply(framesc
.wxFrame_GetStatusBar
,(self
,) + _args
, _kwargs
)
42 if val
: val
= wxStatusBarPtr(val
)
44 def GetTitle(self
, *_args
, **_kwargs
):
45 val
= apply(framesc
.wxFrame_GetTitle
,(self
,) + _args
, _kwargs
)
47 def GetToolBar(self
, *_args
, **_kwargs
):
48 val
= apply(framesc
.wxFrame_GetToolBar
,(self
,) + _args
, _kwargs
)
49 if val
: val
= wxToolBarPtr(val
)
51 def Iconize(self
, *_args
, **_kwargs
):
52 val
= apply(framesc
.wxFrame_Iconize
,(self
,) + _args
, _kwargs
)
54 def IsIconized(self
, *_args
, **_kwargs
):
55 val
= apply(framesc
.wxFrame_IsIconized
,(self
,) + _args
, _kwargs
)
57 def Maximize(self
, *_args
, **_kwargs
):
58 val
= apply(framesc
.wxFrame_Maximize
,(self
,) + _args
, _kwargs
)
60 def SetAcceleratorTable(self
, *_args
, **_kwargs
):
61 val
= apply(framesc
.wxFrame_SetAcceleratorTable
,(self
,) + _args
, _kwargs
)
63 def SetIcon(self
, *_args
, **_kwargs
):
64 val
= apply(framesc
.wxFrame_SetIcon
,(self
,) + _args
, _kwargs
)
66 def SetMenuBar(self
, *_args
, **_kwargs
):
67 val
= apply(framesc
.wxFrame_SetMenuBar
,(self
,) + _args
, _kwargs
)
69 def SetStatusBar(self
, *_args
, **_kwargs
):
70 val
= apply(framesc
.wxFrame_SetStatusBar
,(self
,) + _args
, _kwargs
)
72 def SetStatusText(self
, *_args
, **_kwargs
):
73 val
= apply(framesc
.wxFrame_SetStatusText
,(self
,) + _args
, _kwargs
)
75 def SetStatusWidths(self
, *_args
, **_kwargs
):
76 val
= apply(framesc
.wxFrame_SetStatusWidths
,(self
,) + _args
, _kwargs
)
78 def SetTitle(self
, *_args
, **_kwargs
):
79 val
= apply(framesc
.wxFrame_SetTitle
,(self
,) + _args
, _kwargs
)
81 def SetToolBar(self
, *_args
, **_kwargs
):
82 val
= apply(framesc
.wxFrame_SetToolBar
,(self
,) + _args
, _kwargs
)
85 return "<C wxFrame instance at %s>" % (self
.this
,)
86 class wxFrame(wxFramePtr
):
87 def __init__(self
,*_args
,**_kwargs
):
88 self
.this
= apply(framesc
.new_wxFrame
,_args
,_kwargs
)
90 wx
._StdFrameCallbacks
(self
)
95 class wxMiniFramePtr(wxFramePtr
):
96 def __init__(self
,this
):
100 return "<C wxMiniFrame instance at %s>" % (self
.this
,)
101 class wxMiniFrame(wxMiniFramePtr
):
102 def __init__(self
,*_args
,**_kwargs
):
103 self
.this
= apply(framesc
.new_wxMiniFrame
,_args
,_kwargs
)
105 wx
._StdFrameCallbacks
(self
)
112 #-------------- FUNCTION WRAPPERS ------------------
116 #-------------- VARIABLE WRAPPERS ------------------