]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/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 CreateStatusBar(self
,*args
):
24 val
= apply(framesc
.wxFrame_CreateStatusBar
,(self
.this
,)+args
)
25 val
= wxStatusBarPtr(val
)
27 def CreateToolBar(self
,*args
):
28 val
= apply(framesc
.wxFrame_CreateToolBar
,(self
.this
,)+args
)
29 val
= wxToolBarPtr(val
)
32 val
= framesc
.wxFrame_GetMenuBar(self
.this
)
33 val
= wxMenuBarPtr(val
)
35 def GetStatusBar(self
):
36 val
= framesc
.wxFrame_GetStatusBar(self
.this
)
37 val
= wxStatusBarPtr(val
)
40 val
= framesc
.wxFrame_GetTitle(self
.this
)
43 val
= framesc
.wxFrame_GetToolBar(self
.this
)
44 val
= wxToolBarPtr(val
)
46 def Iconize(self
,arg0
):
47 val
= framesc
.wxFrame_Iconize(self
.this
,arg0
)
50 val
= framesc
.wxFrame_IsIconized(self
.this
)
52 def Maximize(self
,arg0
):
53 val
= framesc
.wxFrame_Maximize(self
.this
,arg0
)
55 def SetIcon(self
,arg0
):
56 val
= framesc
.wxFrame_SetIcon(self
.this
,arg0
.this
)
58 def SetMenuBar(self
,arg0
):
59 val
= framesc
.wxFrame_SetMenuBar(self
.this
,arg0
.this
)
61 def SetStatusBar(self
,arg0
):
62 val
= framesc
.wxFrame_SetStatusBar(self
.this
,arg0
.this
)
64 def SetStatusText(self
,arg0
,*args
):
65 val
= apply(framesc
.wxFrame_SetStatusText
,(self
.this
,arg0
,)+args
)
67 def SetStatusWidths(self
,arg0
,*args
):
68 val
= apply(framesc
.wxFrame_SetStatusWidths
,(self
.this
,arg0
,)+args
)
70 def SetTitle(self
,arg0
):
71 val
= framesc
.wxFrame_SetTitle(self
.this
,arg0
)
73 def SetToolBar(self
,arg0
):
74 val
= framesc
.wxFrame_SetToolBar(self
.this
,arg0
.this
)
77 return "<C wxFrame instance>"
78 class wxFrame(wxFramePtr
):
79 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
81 try: argl
[0] = argl
[0].this
83 try: argl
[1] = argl
[1].this
86 self
.this
= apply(framesc
.new_wxFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
88 wxp
._StdFrameCallbacks
(self
)
95 #-------------- FUNCTION WRAPPERS ------------------
99 #-------------- VARIABLE WRAPPERS ------------------