]>
Commit | Line | Data |
---|---|---|
1 | """Decorator classes for documentation and shell scripting. | |
2 | """ | |
3 | ||
4 | __author__ = "Patrick K. O'Brien <pobrien@orbtech.com>" | |
5 | __cvsid__ = "$Id$" | |
6 | __revision__ = "$Revision$"[11:-2] | |
7 | ||
8 | ||
9 | # These are not the real wxPython classes. These are Python versions | |
10 | # for documentation purposes. They are also used to apply docstrings | |
11 | # to the real wxPython classes, which are SWIG-generated wrappers for | |
12 | # C-language classes. | |
13 | ||
14 | ||
15 | import Parameters as wx | |
16 | from Window import Window | |
17 | ||
18 | try: | |
19 | True | |
20 | except NameError: | |
21 | True = 1==1 | |
22 | False = 1==0 | |
23 | ||
24 | ||
25 | class Panel(Window): | |
26 | """""" | |
27 | ||
28 | def __init__(self, parent, id, pos=wx.DefaultPosition, | |
29 | size=wx.DefaultSize, style=wx.TAB_TRAVERSAL, | |
30 | name=wx.PyPanelNameStr): | |
31 | """""" | |
32 | pass | |
33 | ||
34 | def Create(self, parent, id, pos=wx.DefaultPosition, | |
35 | size=wx.DefaultSize, style=wx.TAB_TRAVERSAL, | |
36 | name=wx.PyPanelNameStr): | |
37 | """""" | |
38 | pass | |
39 | ||
40 | def InitDialog(self): | |
41 | """""" | |
42 | pass | |
43 | ||
44 | ||
45 | class PyPanel(Panel): | |
46 | """""" | |
47 | ||
48 | def __init__(self): | |
49 | """""" | |
50 | pass | |
51 | ||
52 | def _setCallbackInfo(self): | |
53 | """""" | |
54 | pass | |
55 | ||
56 | def base_AcceptsFocus(self): | |
57 | """""" | |
58 | pass | |
59 | ||
60 | def base_AcceptsFocusFromKeyboard(self): | |
61 | """""" | |
62 | pass | |
63 | ||
64 | def base_AddChild(self): | |
65 | """""" | |
66 | pass | |
67 | ||
68 | def base_DoGetBestSize(self): | |
69 | """""" | |
70 | pass | |
71 | ||
72 | def base_DoGetClientSize(self): | |
73 | """""" | |
74 | pass | |
75 | ||
76 | def base_DoGetPosition(self): | |
77 | """""" | |
78 | pass | |
79 | ||
80 | def base_DoGetSize(self): | |
81 | """""" | |
82 | pass | |
83 | ||
84 | def base_DoGetVirtualSize(self): | |
85 | """""" | |
86 | pass | |
87 | ||
88 | def base_DoMoveWindow(self): | |
89 | """""" | |
90 | pass | |
91 | ||
92 | def base_DoSetClientSize(self): | |
93 | """""" | |
94 | pass | |
95 | ||
96 | def base_DoSetSize(self): | |
97 | """""" | |
98 | pass | |
99 | ||
100 | def base_DoSetVirtualSize(self): | |
101 | """""" | |
102 | pass | |
103 | ||
104 | def base_GetMaxSize(self): | |
105 | """""" | |
106 | pass | |
107 | ||
108 | def base_InitDialog(self): | |
109 | """""" | |
110 | pass | |
111 | ||
112 | def base_RemoveChild(self): | |
113 | """""" | |
114 | pass | |
115 | ||
116 | def base_TransferDataFromWindow(self): | |
117 | """""" | |
118 | pass | |
119 | ||
120 | def base_TransferDataToWindow(self): | |
121 | """""" | |
122 | pass | |
123 | ||
124 | def base_Validate(self): | |
125 | """""" | |
126 | pass | |
127 | ||
128 | ||
129 | class ScrolledWindow(Panel): | |
130 | """""" | |
131 | ||
132 | def __init__(self, parent, id=-1, pos=wx.DefaultPosition, | |
133 | size=wx.DefaultSize, style=wx.HSCROLL|wx.VSCROLL, | |
134 | name=wx.PyPanelNameStr): | |
135 | """""" | |
136 | pass | |
137 | ||
138 | def Create(self, parent, id=-1, pos=wx.DefaultPosition, | |
139 | size=wx.DefaultSize, style=wx.HSCROLL|wx.VSCROLL, | |
140 | name=wx.PyPanelNameStr): | |
141 | """""" | |
142 | pass | |
143 | ||
144 | def AdjustScrollbars(self): | |
145 | """""" | |
146 | pass | |
147 | ||
148 | def CalcScrolledPosition(self, *args): | |
149 | """*args can be a point or (x, y) tuple""" | |
150 | pass | |
151 | ||
152 | def CalcScrolledPosition1(self, pt): | |
153 | """""" | |
154 | pass | |
155 | ||
156 | def CalcScrolledPosition2(self, x, y): | |
157 | """""" | |
158 | pass | |
159 | ||
160 | def CalcUnscrolledPosition(self, *args): | |
161 | """*args can be a point or (x, y) tuple""" | |
162 | pass | |
163 | ||
164 | def CalcUnscrolledPosition1(self, pt): | |
165 | """""" | |
166 | pass | |
167 | ||
168 | def CalcUnscrolledPosition2(self, x, y): | |
169 | """""" | |
170 | pass | |
171 | ||
172 | def EnableScrolling(self, xScrolling, yScrolling): | |
173 | """""" | |
174 | pass | |
175 | ||
176 | def GetScaleX(self): | |
177 | """""" | |
178 | pass | |
179 | ||
180 | def GetScaleY(self): | |
181 | """""" | |
182 | pass | |
183 | ||
184 | def GetScrollPageSize(self, orient): | |
185 | """""" | |
186 | pass | |
187 | ||
188 | def GetScrollPixelsPerUnit(self): | |
189 | """""" | |
190 | pass | |
191 | ||
192 | def GetTargetWindow(self): | |
193 | """""" | |
194 | pass | |
195 | ||
196 | def GetViewStart(self): | |
197 | """""" | |
198 | pass | |
199 | ||
200 | def IsRetained(self): | |
201 | """""" | |
202 | pass | |
203 | ||
204 | def Layout(self): | |
205 | """""" | |
206 | pass | |
207 | ||
208 | def PrepareDC(self, dc): | |
209 | """""" | |
210 | pass | |
211 | ||
212 | def Scroll(self, x, y): | |
213 | """""" | |
214 | pass | |
215 | ||
216 | def SetScale(self, xs, ys): | |
217 | """""" | |
218 | pass | |
219 | ||
220 | def SetScrollPageSize(self, orient, pageSize): | |
221 | """""" | |
222 | pass | |
223 | ||
224 | def SetScrollRate(self, xstep, ystep): | |
225 | """Set the x, y scrolling increments.""" | |
226 | pass | |
227 | ||
228 | def SetScrollbars(self, pixelsPerUnitX, pixelsPerUnitY, | |
229 | noUnitsX, noUnitsY, xPos=0, yPos=0, noRefresh=False): | |
230 | """""" | |
231 | pass | |
232 | ||
233 | def SetTargetWindow(self, window): | |
234 | """""" | |
235 | pass | |
236 | ||
237 | def ViewStart(self): | |
238 | """""" | |
239 | pass | |
240 |