]>
Commit | Line | Data |
---|---|---|
b26e2dc4 RD |
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 | ||
4120ef2b RD |
10 | from clip_dnd import * |
11 | ||
b26e2dc4 RD |
12 | from stattool import * |
13 | ||
14 | from controls import * | |
15 | ||
16 | from events import * | |
105e45b9 | 17 | import wx |
b26e2dc4 RD |
18 | class wxFramePtr(wxWindowPtr): |
19 | def __init__(self,this): | |
20 | self.this = this | |
21 | self.thisown = 0 | |
2d091820 RD |
22 | def Centre(self, *_args, **_kwargs): |
23 | val = apply(framesc.wxFrame_Centre,(self,) + _args, _kwargs) | |
b26e2dc4 | 24 | return val |
2d091820 RD |
25 | def CreateStatusBar(self, *_args, **_kwargs): |
26 | val = apply(framesc.wxFrame_CreateStatusBar,(self,) + _args, _kwargs) | |
27 | if val: val = wxStatusBarPtr(val) | |
b26e2dc4 | 28 | return val |
2d091820 RD |
29 | def CreateToolBar(self, *_args, **_kwargs): |
30 | val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs) | |
31 | if val: val = wxToolBarPtr(val) | |
b26e2dc4 | 32 | return val |
2d091820 RD |
33 | def GetMenuBar(self, *_args, **_kwargs): |
34 | val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs) | |
35 | if val: val = wxMenuBarPtr(val) | |
b26e2dc4 | 36 | return val |
2d091820 RD |
37 | def GetStatusBar(self, *_args, **_kwargs): |
38 | val = apply(framesc.wxFrame_GetStatusBar,(self,) + _args, _kwargs) | |
39 | if val: val = wxStatusBarPtr(val) | |
b26e2dc4 | 40 | return val |
2d091820 RD |
41 | def GetTitle(self, *_args, **_kwargs): |
42 | val = apply(framesc.wxFrame_GetTitle,(self,) + _args, _kwargs) | |
b26e2dc4 | 43 | return val |
2d091820 RD |
44 | def GetToolBar(self, *_args, **_kwargs): |
45 | val = apply(framesc.wxFrame_GetToolBar,(self,) + _args, _kwargs) | |
46 | if val: val = wxToolBarPtr(val) | |
b26e2dc4 | 47 | return val |
2d091820 RD |
48 | def Iconize(self, *_args, **_kwargs): |
49 | val = apply(framesc.wxFrame_Iconize,(self,) + _args, _kwargs) | |
b26e2dc4 | 50 | return val |
2d091820 RD |
51 | def IsIconized(self, *_args, **_kwargs): |
52 | val = apply(framesc.wxFrame_IsIconized,(self,) + _args, _kwargs) | |
b26e2dc4 | 53 | return val |
2d091820 RD |
54 | def Maximize(self, *_args, **_kwargs): |
55 | val = apply(framesc.wxFrame_Maximize,(self,) + _args, _kwargs) | |
b26e2dc4 | 56 | return val |
2d091820 RD |
57 | def SetAcceleratorTable(self, *_args, **_kwargs): |
58 | val = apply(framesc.wxFrame_SetAcceleratorTable,(self,) + _args, _kwargs) | |
faf3cb35 | 59 | return val |
2d091820 RD |
60 | def SetIcon(self, *_args, **_kwargs): |
61 | val = apply(framesc.wxFrame_SetIcon,(self,) + _args, _kwargs) | |
b26e2dc4 | 62 | return val |
2d091820 RD |
63 | def SetMenuBar(self, *_args, **_kwargs): |
64 | val = apply(framesc.wxFrame_SetMenuBar,(self,) + _args, _kwargs) | |
b26e2dc4 | 65 | return val |
2d091820 RD |
66 | def SetStatusBar(self, *_args, **_kwargs): |
67 | val = apply(framesc.wxFrame_SetStatusBar,(self,) + _args, _kwargs) | |
b26e2dc4 | 68 | return val |
2d091820 RD |
69 | def SetStatusText(self, *_args, **_kwargs): |
70 | val = apply(framesc.wxFrame_SetStatusText,(self,) + _args, _kwargs) | |
b26e2dc4 | 71 | return val |
2d091820 RD |
72 | def SetStatusWidths(self, *_args, **_kwargs): |
73 | val = apply(framesc.wxFrame_SetStatusWidths,(self,) + _args, _kwargs) | |
b26e2dc4 | 74 | return val |
2d091820 RD |
75 | def SetTitle(self, *_args, **_kwargs): |
76 | val = apply(framesc.wxFrame_SetTitle,(self,) + _args, _kwargs) | |
b26e2dc4 | 77 | return val |
2d091820 RD |
78 | def SetToolBar(self, *_args, **_kwargs): |
79 | val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs) | |
b26e2dc4 RD |
80 | return val |
81 | def __repr__(self): | |
2d091820 | 82 | return "<C wxFrame instance at %s>" % (self.this,) |
b26e2dc4 | 83 | class wxFrame(wxFramePtr): |
2d091820 RD |
84 | def __init__(self,*_args,**_kwargs): |
85 | self.this = apply(framesc.new_wxFrame,_args,_kwargs) | |
b26e2dc4 | 86 | self.thisown = 1 |
105e45b9 RD |
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): | |
2d091820 | 97 | return "<C wxMiniFrame instance at %s>" % (self.this,) |
105e45b9 | 98 | class wxMiniFrame(wxMiniFramePtr): |
2d091820 RD |
99 | def __init__(self,*_args,**_kwargs): |
100 | self.this = apply(framesc.new_wxMiniFrame,_args,_kwargs) | |
105e45b9 RD |
101 | self.thisown = 1 |
102 | wx._StdFrameCallbacks(self) | |
b26e2dc4 RD |
103 | |
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | #-------------- FUNCTION WRAPPERS ------------------ | |
110 | ||
111 | ||
112 | ||
113 | #-------------- VARIABLE WRAPPERS ------------------ | |
114 |