]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/frames.py
applied patch to uncover cells next to 0 automatically
[wxWidgets.git] / 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
b1462dfa
RD
10from clip_dnd import *
11
9c039d08
RD
12from stattool import *
13
14from controls import *
15
16from events import *
b8b8dda7 17import wx
9c039d08
RD
18class wxFramePtr(wxWindowPtr):
19 def __init__(self,this):
20 self.this = this
21 self.thisown = 0
1d99702e
RD
22 def Centre(self, *_args, **_kwargs):
23 val = apply(framesc.wxFrame_Centre,(self,) + _args, _kwargs)
9c039d08 24 return val
1d99702e
RD
25 def CreateStatusBar(self, *_args, **_kwargs):
26 val = apply(framesc.wxFrame_CreateStatusBar,(self,) + _args, _kwargs)
27 if val: val = wxStatusBarPtr(val)
9c039d08 28 return val
1d99702e
RD
29 def CreateToolBar(self, *_args, **_kwargs):
30 val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs)
31 if val: val = wxToolBarPtr(val)
9c039d08 32 return val
f6bcfd97
BP
33 def GetIcon(self, *_args, **_kwargs):
34 val = apply(framesc.wxFrame_GetIcon,(self,) + _args, _kwargs)
35 if val: val = wxIconPtr(val)
36 return val
1d99702e
RD
37 def GetMenuBar(self, *_args, **_kwargs):
38 val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs)
39 if val: val = wxMenuBarPtr(val)
9c039d08 40 return val
1d99702e
RD
41 def GetStatusBar(self, *_args, **_kwargs):
42 val = apply(framesc.wxFrame_GetStatusBar,(self,) + _args, _kwargs)
43 if val: val = wxStatusBarPtr(val)
9c039d08 44 return val
1d99702e
RD
45 def GetTitle(self, *_args, **_kwargs):
46 val = apply(framesc.wxFrame_GetTitle,(self,) + _args, _kwargs)
9c039d08 47 return val
1d99702e
RD
48 def GetToolBar(self, *_args, **_kwargs):
49 val = apply(framesc.wxFrame_GetToolBar,(self,) + _args, _kwargs)
50 if val: val = wxToolBarPtr(val)
9c039d08 51 return val
1d99702e
RD
52 def Iconize(self, *_args, **_kwargs):
53 val = apply(framesc.wxFrame_Iconize,(self,) + _args, _kwargs)
9c039d08 54 return val
1d99702e
RD
55 def IsIconized(self, *_args, **_kwargs):
56 val = apply(framesc.wxFrame_IsIconized,(self,) + _args, _kwargs)
9c039d08 57 return val
1d99702e
RD
58 def Maximize(self, *_args, **_kwargs):
59 val = apply(framesc.wxFrame_Maximize,(self,) + _args, _kwargs)
9c039d08 60 return val
f6bcfd97
BP
61 def IsMaximized(self, *_args, **_kwargs):
62 val = apply(framesc.wxFrame_IsMaximized,(self,) + _args, _kwargs)
63 return val
64 def Restore(self, *_args, **_kwargs):
65 val = apply(framesc.wxFrame_Restore,(self,) + _args, _kwargs)
66 return val
1d99702e
RD
67 def SetAcceleratorTable(self, *_args, **_kwargs):
68 val = apply(framesc.wxFrame_SetAcceleratorTable,(self,) + _args, _kwargs)
9c039d08 69 return val
1d99702e
RD
70 def SetIcon(self, *_args, **_kwargs):
71 val = apply(framesc.wxFrame_SetIcon,(self,) + _args, _kwargs)
9c039d08 72 return val
1d99702e
RD
73 def SetMenuBar(self, *_args, **_kwargs):
74 val = apply(framesc.wxFrame_SetMenuBar,(self,) + _args, _kwargs)
9c039d08 75 return val
1d99702e
RD
76 def SetStatusBar(self, *_args, **_kwargs):
77 val = apply(framesc.wxFrame_SetStatusBar,(self,) + _args, _kwargs)
9c039d08 78 return val
1d99702e
RD
79 def SetStatusText(self, *_args, **_kwargs):
80 val = apply(framesc.wxFrame_SetStatusText,(self,) + _args, _kwargs)
9c039d08 81 return val
1d99702e
RD
82 def SetStatusWidths(self, *_args, **_kwargs):
83 val = apply(framesc.wxFrame_SetStatusWidths,(self,) + _args, _kwargs)
9c039d08 84 return val
1d99702e
RD
85 def SetTitle(self, *_args, **_kwargs):
86 val = apply(framesc.wxFrame_SetTitle,(self,) + _args, _kwargs)
9c039d08 87 return val
1d99702e
RD
88 def SetToolBar(self, *_args, **_kwargs):
89 val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs)
9c039d08 90 return val
f6bcfd97
BP
91 def MakeModal(self, *_args, **_kwargs):
92 val = apply(framesc.wxFrame_MakeModal,(self,) + _args, _kwargs)
93 return val
94 def GetClientAreaOrigin(self, *_args, **_kwargs):
95 val = apply(framesc.wxFrame_GetClientAreaOrigin,(self,) + _args, _kwargs)
96 if val: val = wxPointPtr(val) ; val.thisown = 1
97 return val
98 def Command(self, *_args, **_kwargs):
99 val = apply(framesc.wxFrame_Command,(self,) + _args, _kwargs)
100 return val
101 def ProcessCommand(self, *_args, **_kwargs):
102 val = apply(framesc.wxFrame_ProcessCommand,(self,) + _args, _kwargs)
103 return val
104 def ShowFullScreen(self, *_args, **_kwargs):
105 val = apply(framesc.wxFrame_ShowFullScreen,(self,) + _args, _kwargs)
106 return val
9c039d08 107 def __repr__(self):
1d99702e 108 return "<C wxFrame instance at %s>" % (self.this,)
9c039d08 109class wxFrame(wxFramePtr):
1d99702e
RD
110 def __init__(self,*_args,**_kwargs):
111 self.this = apply(framesc.new_wxFrame,_args,_kwargs)
9c039d08 112 self.thisown = 1
f6bcfd97 113 #wx._StdFrameCallbacks(self)
9c039d08
RD
114
115
116
117
118class wxMiniFramePtr(wxFramePtr):
119 def __init__(self,this):
120 self.this = this
121 self.thisown = 0
122 def __repr__(self):
1d99702e 123 return "<C wxMiniFrame instance at %s>" % (self.this,)
9c039d08 124class wxMiniFrame(wxMiniFramePtr):
1d99702e
RD
125 def __init__(self,*_args,**_kwargs):
126 self.this = apply(framesc.new_wxMiniFrame,_args,_kwargs)
9c039d08 127 self.thisown = 1
f6bcfd97 128 #wx._StdFrameCallbacks(self)
9c039d08
RD
129
130
131
132
133
134
135#-------------- FUNCTION WRAPPERS ------------------
136
137
138
139#-------------- VARIABLE WRAPPERS ------------------
140
f6bcfd97
BP
141wxFULLSCREEN_NOMENUBAR = framesc.wxFULLSCREEN_NOMENUBAR
142wxFULLSCREEN_NOTOOLBAR = framesc.wxFULLSCREEN_NOTOOLBAR
143wxFULLSCREEN_NOSTATUSBAR = framesc.wxFULLSCREEN_NOSTATUSBAR
144wxFULLSCREEN_NOBORDER = framesc.wxFULLSCREEN_NOBORDER
145wxFULLSCREEN_NOCAPTION = framesc.wxFULLSCREEN_NOCAPTION
146wxFULLSCREEN_ALL = framesc.wxFULLSCREEN_ALL