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