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 CreateStatusBar(self
, *_args
, **_kwargs
):
26 val
= apply(framesc
.wxFrame_CreateStatusBar
,(self
,) + _args
, _kwargs
)
28 def CreateToolBar(self
, *_args
, **_kwargs
):
29 val
= apply(framesc
.wxFrame_CreateToolBar
,(self
,) + _args
, _kwargs
)
31 def GetIcon(self
, *_args
, **_kwargs
):
32 val
= apply(framesc
.wxFrame_GetIcon
,(self
,) + _args
, _kwargs
)
33 if val
: val
= wxIconPtr(val
)
35 def GetMenuBar(self
, *_args
, **_kwargs
):
36 val
= apply(framesc
.wxFrame_GetMenuBar
,(self
,) + _args
, _kwargs
)
38 def GetStatusBar(self
, *_args
, **_kwargs
):
39 val
= apply(framesc
.wxFrame_GetStatusBar
,(self
,) + _args
, _kwargs
)
41 def GetTitle(self
, *_args
, **_kwargs
):
42 val
= apply(framesc
.wxFrame_GetTitle
,(self
,) + _args
, _kwargs
)
44 def GetToolBar(self
, *_args
, **_kwargs
):
45 val
= apply(framesc
.wxFrame_GetToolBar
,(self
,) + _args
, _kwargs
)
47 def Iconize(self
, *_args
, **_kwargs
):
48 val
= apply(framesc
.wxFrame_Iconize
,(self
,) + _args
, _kwargs
)
50 def IsIconized(self
, *_args
, **_kwargs
):
51 val
= apply(framesc
.wxFrame_IsIconized
,(self
,) + _args
, _kwargs
)
53 def Maximize(self
, *_args
, **_kwargs
):
54 val
= apply(framesc
.wxFrame_Maximize
,(self
,) + _args
, _kwargs
)
56 def IsMaximized(self
, *_args
, **_kwargs
):
57 val
= apply(framesc
.wxFrame_IsMaximized
,(self
,) + _args
, _kwargs
)
59 def Restore(self
, *_args
, **_kwargs
):
60 val
= apply(framesc
.wxFrame_Restore
,(self
,) + _args
, _kwargs
)
62 def SetAcceleratorTable(self
, *_args
, **_kwargs
):
63 val
= apply(framesc
.wxFrame_SetAcceleratorTable
,(self
,) + _args
, _kwargs
)
65 def SetIcon(self
, *_args
, **_kwargs
):
66 val
= apply(framesc
.wxFrame_SetIcon
,(self
,) + _args
, _kwargs
)
68 def SetMenuBar(self
, *_args
, **_kwargs
):
69 val
= apply(framesc
.wxFrame_SetMenuBar
,(self
,) + _args
, _kwargs
)
71 def SetStatusBar(self
, *_args
, **_kwargs
):
72 val
= apply(framesc
.wxFrame_SetStatusBar
,(self
,) + _args
, _kwargs
)
74 def SetStatusText(self
, *_args
, **_kwargs
):
75 val
= apply(framesc
.wxFrame_SetStatusText
,(self
,) + _args
, _kwargs
)
77 def SetStatusWidths(self
, *_args
, **_kwargs
):
78 val
= apply(framesc
.wxFrame_SetStatusWidths
,(self
,) + _args
, _kwargs
)
80 def SetTitle(self
, *_args
, **_kwargs
):
81 val
= apply(framesc
.wxFrame_SetTitle
,(self
,) + _args
, _kwargs
)
83 def SetToolBar(self
, *_args
, **_kwargs
):
84 val
= apply(framesc
.wxFrame_SetToolBar
,(self
,) + _args
, _kwargs
)
86 def MakeModal(self
, *_args
, **_kwargs
):
87 val
= apply(framesc
.wxFrame_MakeModal
,(self
,) + _args
, _kwargs
)
89 def GetClientAreaOrigin(self
, *_args
, **_kwargs
):
90 val
= apply(framesc
.wxFrame_GetClientAreaOrigin
,(self
,) + _args
, _kwargs
)
91 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
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 ShowFullScreen(self
, *_args
, **_kwargs
):
100 val
= apply(framesc
.wxFrame_ShowFullScreen
,(self
,) + _args
, _kwargs
)
103 return "<C wxFrame instance at %s>" % (self
.this
,)
104 class wxFrame(wxFramePtr
):
105 def __init__(self
,*_args
,**_kwargs
):
106 self
.this
= apply(framesc
.new_wxFrame
,_args
,_kwargs
)
108 #wx._StdFrameCallbacks(self)
113 class wxMiniFramePtr(wxFramePtr
):
114 def __init__(self
,this
):
118 return "<C wxMiniFrame instance at %s>" % (self
.this
,)
119 class wxMiniFrame(wxMiniFramePtr
):
120 def __init__(self
,*_args
,**_kwargs
):
121 self
.this
= apply(framesc
.new_wxMiniFrame
,_args
,_kwargs
)
123 #wx._StdFrameCallbacks(self)
130 #-------------- FUNCTION WRAPPERS ------------------
134 #-------------- VARIABLE WRAPPERS ------------------
136 wxFULLSCREEN_NOMENUBAR
= framesc
.wxFULLSCREEN_NOMENUBAR
137 wxFULLSCREEN_NOTOOLBAR
= framesc
.wxFULLSCREEN_NOTOOLBAR
138 wxFULLSCREEN_NOSTATUSBAR
= framesc
.wxFULLSCREEN_NOSTATUSBAR
139 wxFULLSCREEN_NOBORDER
= framesc
.wxFULLSCREEN_NOBORDER
140 wxFULLSCREEN_NOCAPTION
= framesc
.wxFULLSCREEN_NOCAPTION
141 wxFULLSCREEN_ALL
= framesc
.wxFULLSCREEN_ALL