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