]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/frames.py
patch fix for a constant definition under OS/2 VA V4.0
[wxWidgets.git] / wxPython / src / gtk / 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 Create(self, *_args, **_kwargs):
23 val = apply(framesc.wxFrame_Create,(self,) + _args, _kwargs)
24 return val
25 def Centre(self, *_args, **_kwargs):
26 val = apply(framesc.wxFrame_Centre,(self,) + _args, _kwargs)
27 return val
28 def CreateStatusBar(self, *_args, **_kwargs):
29 val = apply(framesc.wxFrame_CreateStatusBar,(self,) + _args, _kwargs)
30 return val
31 def CreateToolBar(self, *_args, **_kwargs):
32 val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs)
33 return val
34 def GetIcon(self, *_args, **_kwargs):
35 val = apply(framesc.wxFrame_GetIcon,(self,) + _args, _kwargs)
36 if val: val = wxIconPtr(val)
37 return val
38 def GetMenuBar(self, *_args, **_kwargs):
39 val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs)
40 return val
41 def GetStatusBar(self, *_args, **_kwargs):
42 val = apply(framesc.wxFrame_GetStatusBar,(self,) + _args, _kwargs)
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 return val
50 def Iconize(self, *_args, **_kwargs):
51 val = apply(framesc.wxFrame_Iconize,(self,) + _args, _kwargs)
52 return val
53 def IsIconized(self, *_args, **_kwargs):
54 val = apply(framesc.wxFrame_IsIconized,(self,) + _args, _kwargs)
55 return val
56 def Maximize(self, *_args, **_kwargs):
57 val = apply(framesc.wxFrame_Maximize,(self,) + _args, _kwargs)
58 return val
59 def IsMaximized(self, *_args, **_kwargs):
60 val = apply(framesc.wxFrame_IsMaximized,(self,) + _args, _kwargs)
61 return val
62 def Restore(self, *_args, **_kwargs):
63 val = apply(framesc.wxFrame_Restore,(self,) + _args, _kwargs)
64 return val
65 def SetAcceleratorTable(self, *_args, **_kwargs):
66 val = apply(framesc.wxFrame_SetAcceleratorTable,(self,) + _args, _kwargs)
67 return val
68 def SetIcon(self, *_args, **_kwargs):
69 val = apply(framesc.wxFrame_SetIcon,(self,) + _args, _kwargs)
70 return val
71 def SetMenuBar(self, *_args, **_kwargs):
72 val = apply(framesc.wxFrame_SetMenuBar,(self,) + _args, _kwargs)
73 return val
74 def SetStatusBar(self, *_args, **_kwargs):
75 val = apply(framesc.wxFrame_SetStatusBar,(self,) + _args, _kwargs)
76 return val
77 def SetStatusText(self, *_args, **_kwargs):
78 val = apply(framesc.wxFrame_SetStatusText,(self,) + _args, _kwargs)
79 return val
80 def SetStatusWidths(self, *_args, **_kwargs):
81 val = apply(framesc.wxFrame_SetStatusWidths,(self,) + _args, _kwargs)
82 return val
83 def SetTitle(self, *_args, **_kwargs):
84 val = apply(framesc.wxFrame_SetTitle,(self,) + _args, _kwargs)
85 return val
86 def SetToolBar(self, *_args, **_kwargs):
87 val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs)
88 return val
89 def MakeModal(self, *_args, **_kwargs):
90 val = apply(framesc.wxFrame_MakeModal,(self,) + _args, _kwargs)
91 return val
92 def GetClientAreaOrigin(self, *_args, **_kwargs):
93 val = apply(framesc.wxFrame_GetClientAreaOrigin,(self,) + _args, _kwargs)
94 if val: val = wxPointPtr(val) ; val.thisown = 1
95 return val
96 def Command(self, *_args, **_kwargs):
97 val = apply(framesc.wxFrame_Command,(self,) + _args, _kwargs)
98 return val
99 def ProcessCommand(self, *_args, **_kwargs):
100 val = apply(framesc.wxFrame_ProcessCommand,(self,) + _args, _kwargs)
101 return val
102 def ShowFullScreen(self, *_args, **_kwargs):
103 val = apply(framesc.wxFrame_ShowFullScreen,(self,) + _args, _kwargs)
104 return val
105 def IsFullScreen(self, *_args, **_kwargs):
106 val = apply(framesc.wxFrame_IsFullScreen,(self,) + _args, _kwargs)
107 return val
108 def __repr__(self):
109 return "<C wxFrame instance at %s>" % (self.this,)
110 class wxFrame(wxFramePtr):
111 def __init__(self,*_args,**_kwargs):
112 self.this = apply(framesc.new_wxFrame,_args,_kwargs)
113 self.thisown = 1
114
115
116
117 def wxPreFrame(*_args,**_kwargs):
118 val = wxFramePtr(apply(framesc.new_wxPreFrame,_args,_kwargs))
119 val.thisown = 1
120 return val
121
122
123 class wxMiniFramePtr(wxFramePtr):
124 def __init__(self,this):
125 self.this = this
126 self.thisown = 0
127 def Create(self, *_args, **_kwargs):
128 val = apply(framesc.wxMiniFrame_Create,(self,) + _args, _kwargs)
129 return val
130 def __repr__(self):
131 return "<C wxMiniFrame instance at %s>" % (self.this,)
132 class wxMiniFrame(wxMiniFramePtr):
133 def __init__(self,*_args,**_kwargs):
134 self.this = apply(framesc.new_wxMiniFrame,_args,_kwargs)
135 self.thisown = 1
136
137
138
139 def wxPreMiniFrame(*_args,**_kwargs):
140 val = wxMiniFramePtr(apply(framesc.new_wxPreMiniFrame,_args,_kwargs))
141 val.thisown = 1
142 return val
143
144
145 class wxTipWindowPtr(wxFramePtr):
146 def __init__(self,this):
147 self.this = this
148 self.thisown = 0
149 def __repr__(self):
150 return "<C wxTipWindow instance at %s>" % (self.this,)
151 class wxTipWindow(wxTipWindowPtr):
152 def __init__(self,*_args,**_kwargs):
153 self.this = apply(framesc.new_wxTipWindow,_args,_kwargs)
154 self.thisown = 1
155
156
157
158
159
160
161 #-------------- FUNCTION WRAPPERS ------------------
162
163
164
165 #-------------- VARIABLE WRAPPERS ------------------
166
167 wxFULLSCREEN_NOMENUBAR = framesc.wxFULLSCREEN_NOMENUBAR
168 wxFULLSCREEN_NOTOOLBAR = framesc.wxFULLSCREEN_NOTOOLBAR
169 wxFULLSCREEN_NOSTATUSBAR = framesc.wxFULLSCREEN_NOSTATUSBAR
170 wxFULLSCREEN_NOBORDER = framesc.wxFULLSCREEN_NOBORDER
171 wxFULLSCREEN_NOCAPTION = framesc.wxFULLSCREEN_NOCAPTION
172 wxFULLSCREEN_ALL = framesc.wxFULLSCREEN_ALL