]>
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 SetAcceleratorTable(self
,arg0
):
56 val
= framesc
.wxFrame_SetAcceleratorTable(self
.this
,arg0
.this
)
58 def SetIcon(self
,arg0
):
59 val
= framesc
.wxFrame_SetIcon(self
.this
,arg0
.this
)
61 def SetMenuBar(self
,arg0
):
62 val
= framesc
.wxFrame_SetMenuBar(self
.this
,arg0
.this
)
64 def SetStatusBar(self
,arg0
):
65 val
= framesc
.wxFrame_SetStatusBar(self
.this
,arg0
.this
)
67 def SetStatusText(self
,arg0
,*args
):
68 val
= apply(framesc
.wxFrame_SetStatusText
,(self
.this
,arg0
,)+args
)
70 def SetStatusWidths(self
,arg0
,*args
):
71 val
= apply(framesc
.wxFrame_SetStatusWidths
,(self
.this
,arg0
,)+args
)
73 def SetTitle(self
,arg0
):
74 val
= framesc
.wxFrame_SetTitle(self
.this
,arg0
)
76 def SetToolBar(self
,arg0
):
77 val
= framesc
.wxFrame_SetToolBar(self
.this
,arg0
.this
)
80 return "<C wxFrame instance>"
81 class wxFrame(wxFramePtr
):
82 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
84 try: argl
[0] = argl
[0].this
86 try: argl
[1] = argl
[1].this
89 self
.this
= apply(framesc
.new_wxFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
91 wx
._StdFrameCallbacks
(self
)
96 class wxMiniFramePtr(wxFramePtr
):
97 def __init__(self
,this
):
101 return "<C wxMiniFrame instance>"
102 class wxMiniFrame(wxMiniFramePtr
):
103 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
104 argl
= map(None,args
)
105 try: argl
[0] = argl
[0].this
107 try: argl
[1] = argl
[1].this
110 self
.this
= apply(framesc
.new_wxMiniFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
112 wx
._StdFrameCallbacks
(self
)
119 #-------------- FUNCTION WRAPPERS ------------------
123 #-------------- VARIABLE WRAPPERS ------------------