]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/frames.py
Additions for wxTreeCtrl
[wxWidgets.git] / utils / wxPython / src / gtk / frames.py
1 # This file was created automatically by SWIG.
2 import framesc
3
4 from misc import *
5
6 from gdi import *
7
8 from windows import *
9
10 from stattool import *
11
12 from controls import *
13
14 from events import *
15 import wxp
16 class wxFramePtr(wxWindowPtr):
17 def __init__(self,this):
18 self.this = this
19 self.thisown = 0
20 def Centre(self,*args):
21 val = apply(framesc.wxFrame_Centre,(self.this,)+args)
22 return val
23 def CreateStatusBar(self,*args):
24 val = apply(framesc.wxFrame_CreateStatusBar,(self.this,)+args)
25 val = wxStatusBarPtr(val)
26 return val
27 def CreateToolBar(self,*args):
28 val = apply(framesc.wxFrame_CreateToolBar,(self.this,)+args)
29 val = wxToolBarPtr(val)
30 return val
31 def GetMenuBar(self):
32 val = framesc.wxFrame_GetMenuBar(self.this)
33 val = wxMenuBarPtr(val)
34 return val
35 def GetStatusBar(self):
36 val = framesc.wxFrame_GetStatusBar(self.this)
37 val = wxStatusBarPtr(val)
38 return val
39 def GetTitle(self):
40 val = framesc.wxFrame_GetTitle(self.this)
41 return val
42 def GetToolBar(self):
43 val = framesc.wxFrame_GetToolBar(self.this)
44 val = wxToolBarPtr(val)
45 return val
46 def Iconize(self,arg0):
47 val = framesc.wxFrame_Iconize(self.this,arg0)
48 return val
49 def IsIconized(self):
50 val = framesc.wxFrame_IsIconized(self.this)
51 return val
52 def Maximize(self,arg0):
53 val = framesc.wxFrame_Maximize(self.this,arg0)
54 return val
55 def SetIcon(self,arg0):
56 val = framesc.wxFrame_SetIcon(self.this,arg0.this)
57 return val
58 def SetMenuBar(self,arg0):
59 val = framesc.wxFrame_SetMenuBar(self.this,arg0.this)
60 return val
61 def SetStatusBar(self,arg0):
62 val = framesc.wxFrame_SetStatusBar(self.this,arg0.this)
63 return val
64 def SetStatusText(self,arg0,*args):
65 val = apply(framesc.wxFrame_SetStatusText,(self.this,arg0,)+args)
66 return val
67 def SetStatusWidths(self,arg0,*args):
68 val = apply(framesc.wxFrame_SetStatusWidths,(self.this,arg0,)+args)
69 return val
70 def SetTitle(self,arg0):
71 val = framesc.wxFrame_SetTitle(self.this,arg0)
72 return val
73 def SetToolBar(self,arg0):
74 val = framesc.wxFrame_SetToolBar(self.this,arg0.this)
75 return val
76 def __repr__(self):
77 return "<C wxFrame instance>"
78 class wxFrame(wxFramePtr):
79 def __init__(self,arg0,arg1,arg2,*args) :
80 argl = map(None,args)
81 try: argl[0] = argl[0].this
82 except: pass
83 try: argl[1] = argl[1].this
84 except: pass
85 args = tuple(argl)
86 self.this = apply(framesc.new_wxFrame,(arg0.this,arg1,arg2,)+args)
87 self.thisown = 1
88 wxp._StdFrameCallbacks(self)
89
90
91
92
93
94
95 #-------------- FUNCTION WRAPPERS ------------------
96
97
98
99 #-------------- VARIABLE WRAPPERS ------------------
100