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