]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/frames.py
more 2.0b9 updates
[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 wx
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 SetAcceleratorTable(self,arg0):
56 val = framesc.wxFrame_SetAcceleratorTable(self.this,arg0.this)
57 return val
58 def SetIcon(self,arg0):
59 val = framesc.wxFrame_SetIcon(self.this,arg0.this)
60 return val
61 def SetMenuBar(self,arg0):
62 val = framesc.wxFrame_SetMenuBar(self.this,arg0.this)
63 return val
64 def SetStatusBar(self,arg0):
65 val = framesc.wxFrame_SetStatusBar(self.this,arg0.this)
66 return val
67 def SetStatusText(self,arg0,*args):
68 val = apply(framesc.wxFrame_SetStatusText,(self.this,arg0,)+args)
69 return val
70 def SetStatusWidths(self,arg0,*args):
71 val = apply(framesc.wxFrame_SetStatusWidths,(self.this,arg0,)+args)
72 return val
73 def SetTitle(self,arg0):
74 val = framesc.wxFrame_SetTitle(self.this,arg0)
75 return val
76 def SetToolBar(self,arg0):
77 val = framesc.wxFrame_SetToolBar(self.this,arg0.this)
78 return val
79 def __repr__(self):
80 return "<C wxFrame instance>"
81 class wxFrame(wxFramePtr):
82 def __init__(self,arg0,arg1,arg2,*args) :
83 argl = map(None,args)
84 try: argl[0] = argl[0].this
85 except: pass
86 try: argl[1] = argl[1].this
87 except: pass
88 args = tuple(argl)
89 self.this = apply(framesc.new_wxFrame,(arg0.this,arg1,arg2,)+args)
90 self.thisown = 1
91 wx._StdFrameCallbacks(self)
92
93
94
95
96 class wxMiniFramePtr(wxFramePtr):
97 def __init__(self,this):
98 self.this = this
99 self.thisown = 0
100 def __repr__(self):
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
106 except: pass
107 try: argl[1] = argl[1].this
108 except: pass
109 args = tuple(argl)
110 self.this = apply(framesc.new_wxMiniFrame,(arg0.this,arg1,arg2,)+args)
111 self.thisown = 1
112 wx._StdFrameCallbacks(self)
113
114
115
116
117
118
119 #-------------- FUNCTION WRAPPERS ------------------
120
121
122
123 #-------------- VARIABLE WRAPPERS ------------------
124