]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/frames.py
1 # This file was created automatically by SWIG.
10 from stattool
import *
12 from controls
import *
16 class wxFramePtr(wxWindowPtr
):
17 def __init__(self
,this
):
20 def Centre(self
,*args
):
21 val
= apply(framesc
.wxFrame_Centre
,(self
.this
,)+args
)
23 def Command(self
,arg0
):
24 val
= framesc
.wxFrame_Command(self
.this
,arg0
)
26 def CreateStatusBar(self
,*args
):
27 val
= apply(framesc
.wxFrame_CreateStatusBar
,(self
.this
,)+args
)
28 val
= wxStatusBarPtr(val
)
30 def CreateToolBar(self
,*args
):
31 val
= apply(framesc
.wxFrame_CreateToolBar
,(self
.this
,)+args
)
32 val
= wxToolBarPtr(val
)
35 val
= framesc
.wxFrame_GetMenuBar(self
.this
)
36 val
= wxMenuBarPtr(val
)
38 def GetStatusBar(self
):
39 val
= framesc
.wxFrame_GetStatusBar(self
.this
)
40 val
= wxStatusBarPtr(val
)
43 val
= framesc
.wxFrame_GetTitle(self
.this
)
46 val
= framesc
.wxFrame_GetToolBar(self
.this
)
47 val
= wxToolBarPtr(val
)
49 def Iconize(self
,arg0
):
50 val
= framesc
.wxFrame_Iconize(self
.this
,arg0
)
53 val
= framesc
.wxFrame_IsIconized(self
.this
)
55 def Maximize(self
,arg0
):
56 val
= framesc
.wxFrame_Maximize(self
.this
,arg0
)
58 def SetAcceleratorTable(self
,arg0
):
59 val
= framesc
.wxFrame_SetAcceleratorTable(self
.this
,arg0
.this
)
61 def SetIcon(self
,arg0
):
62 val
= framesc
.wxFrame_SetIcon(self
.this
,arg0
.this
)
64 def SetMenuBar(self
,arg0
):
65 val
= framesc
.wxFrame_SetMenuBar(self
.this
,arg0
.this
)
67 def SetStatusBar(self
,arg0
):
68 val
= framesc
.wxFrame_SetStatusBar(self
.this
,arg0
.this
)
70 def SetStatusText(self
,arg0
,*args
):
71 val
= apply(framesc
.wxFrame_SetStatusText
,(self
.this
,arg0
,)+args
)
73 def SetStatusWidths(self
,arg0
,*args
):
74 val
= apply(framesc
.wxFrame_SetStatusWidths
,(self
.this
,arg0
,)+args
)
76 def SetTitle(self
,arg0
):
77 val
= framesc
.wxFrame_SetTitle(self
.this
,arg0
)
79 def SetToolBar(self
,arg0
):
80 val
= framesc
.wxFrame_SetToolBar(self
.this
,arg0
.this
)
83 return "<C wxFrame instance>"
84 class wxFrame(wxFramePtr
):
85 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
87 try: argl
[0] = argl
[0].this
89 try: argl
[1] = argl
[1].this
92 self
.this
= apply(framesc
.new_wxFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
94 wx
._StdFrameCallbacks
(self
)
99 class wxMiniFramePtr(wxFramePtr
):
100 def __init__(self
,this
):
104 return "<C wxMiniFrame instance>"
105 class wxMiniFrame(wxMiniFramePtr
):
106 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
107 argl
= map(None,args
)
108 try: argl
[0] = argl
[0].this
110 try: argl
[1] = argl
[1].this
113 self
.this
= apply(framesc
.new_wxMiniFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
115 wx
._StdFrameCallbacks
(self
)
122 #-------------- FUNCTION WRAPPERS ------------------
126 #-------------- VARIABLE WRAPPERS ------------------