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