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