]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/frames.py
New SWIG generated sources
[wxWidgets.git] / utils / wxPython / src / msw / 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 clip_dnd import *
11
12 from stattool import *
13
14 from controls import *
15
16 from events import *
17 import wx
18 class wxFramePtr(wxWindowPtr):
19 def __init__(self,this):
20 self.this = this
21 self.thisown = 0
22 def Centre(self, *_args, **_kwargs):
23 val = apply(framesc.wxFrame_Centre,(self,) + _args, _kwargs)
24 return val
25 def Command(self, *_args, **_kwargs):
26 val = apply(framesc.wxFrame_Command,(self,) + _args, _kwargs)
27 return val
28 def CreateStatusBar(self, *_args, **_kwargs):
29 val = apply(framesc.wxFrame_CreateStatusBar,(self,) + _args, _kwargs)
30 if val: val = wxStatusBarPtr(val)
31 return val
32 def CreateToolBar(self, *_args, **_kwargs):
33 val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs)
34 if val: val = wxToolBarPtr(val)
35 return val
36 def GetMenuBar(self, *_args, **_kwargs):
37 val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs)
38 if val: val = wxMenuBarPtr(val)
39 return val
40 def GetStatusBar(self, *_args, **_kwargs):
41 val = apply(framesc.wxFrame_GetStatusBar,(self,) + _args, _kwargs)
42 if val: val = wxStatusBarPtr(val)
43 return val
44 def GetTitle(self, *_args, **_kwargs):
45 val = apply(framesc.wxFrame_GetTitle,(self,) + _args, _kwargs)
46 return val
47 def GetToolBar(self, *_args, **_kwargs):
48 val = apply(framesc.wxFrame_GetToolBar,(self,) + _args, _kwargs)
49 if val: val = wxToolBarPtr(val)
50 return val
51 def Iconize(self, *_args, **_kwargs):
52 val = apply(framesc.wxFrame_Iconize,(self,) + _args, _kwargs)
53 return val
54 def IsIconized(self, *_args, **_kwargs):
55 val = apply(framesc.wxFrame_IsIconized,(self,) + _args, _kwargs)
56 return val
57 def Maximize(self, *_args, **_kwargs):
58 val = apply(framesc.wxFrame_Maximize,(self,) + _args, _kwargs)
59 return val
60 def SetAcceleratorTable(self, *_args, **_kwargs):
61 val = apply(framesc.wxFrame_SetAcceleratorTable,(self,) + _args, _kwargs)
62 return val
63 def SetIcon(self, *_args, **_kwargs):
64 val = apply(framesc.wxFrame_SetIcon,(self,) + _args, _kwargs)
65 return val
66 def SetMenuBar(self, *_args, **_kwargs):
67 val = apply(framesc.wxFrame_SetMenuBar,(self,) + _args, _kwargs)
68 return val
69 def SetStatusBar(self, *_args, **_kwargs):
70 val = apply(framesc.wxFrame_SetStatusBar,(self,) + _args, _kwargs)
71 return val
72 def SetStatusText(self, *_args, **_kwargs):
73 val = apply(framesc.wxFrame_SetStatusText,(self,) + _args, _kwargs)
74 return val
75 def SetStatusWidths(self, *_args, **_kwargs):
76 val = apply(framesc.wxFrame_SetStatusWidths,(self,) + _args, _kwargs)
77 return val
78 def SetTitle(self, *_args, **_kwargs):
79 val = apply(framesc.wxFrame_SetTitle,(self,) + _args, _kwargs)
80 return val
81 def SetToolBar(self, *_args, **_kwargs):
82 val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs)
83 return val
84 def __repr__(self):
85 return "<C wxFrame instance at %s>" % (self.this,)
86 class wxFrame(wxFramePtr):
87 def __init__(self,*_args,**_kwargs):
88 self.this = apply(framesc.new_wxFrame,_args,_kwargs)
89 self.thisown = 1
90 wx._StdFrameCallbacks(self)
91
92
93
94
95 class wxMiniFramePtr(wxFramePtr):
96 def __init__(self,this):
97 self.this = this
98 self.thisown = 0
99 def __repr__(self):
100 return "<C wxMiniFrame instance at %s>" % (self.this,)
101 class wxMiniFrame(wxMiniFramePtr):
102 def __init__(self,*_args,**_kwargs):
103 self.this = apply(framesc.new_wxMiniFrame,_args,_kwargs)
104 self.thisown = 1
105 wx._StdFrameCallbacks(self)
106
107
108
109
110
111
112 #-------------- FUNCTION WRAPPERS ------------------
113
114
115
116 #-------------- VARIABLE WRAPPERS ------------------
117