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