]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/utils.py
Lots of changes for wxPython to start using many of the new featues in
[wxWidgets.git] / wxPython / src / gtk / utils.py
1 # This file was created automatically by SWIG.
2 import utilsc
3 import wx
4 class wxConfigBasePtr :
5 Type_Unknown = utilsc.wxConfigBase_Type_Unknown
6 Type_String = utilsc.wxConfigBase_Type_String
7 Type_Boolean = utilsc.wxConfigBase_Type_Boolean
8 Type_Integer = utilsc.wxConfigBase_Type_Integer
9 Type_Float = utilsc.wxConfigBase_Type_Float
10 def __init__(self,this):
11 self.this = this
12 self.thisown = 0
13 def __del__(self, delfunc=utilsc.delete_wxConfigBase):
14 if self.thisown == 1:
15 try:
16 delfunc(self)
17 except:
18 pass
19 def DeleteAll(self, *_args, **_kwargs):
20 val = utilsc.wxConfigBase_DeleteAll(self, *_args, **_kwargs)
21 return val
22 def DeleteEntry(self, *_args, **_kwargs):
23 val = utilsc.wxConfigBase_DeleteEntry(self, *_args, **_kwargs)
24 return val
25 def DeleteGroup(self, *_args, **_kwargs):
26 val = utilsc.wxConfigBase_DeleteGroup(self, *_args, **_kwargs)
27 return val
28 def Exists(self, *_args, **_kwargs):
29 val = utilsc.wxConfigBase_Exists(self, *_args, **_kwargs)
30 return val
31 def Flush(self, *_args, **_kwargs):
32 val = utilsc.wxConfigBase_Flush(self, *_args, **_kwargs)
33 return val
34 def GetAppName(self, *_args, **_kwargs):
35 val = utilsc.wxConfigBase_GetAppName(self, *_args, **_kwargs)
36 return val
37 def GetFirstGroup(self, *_args, **_kwargs):
38 val = utilsc.wxConfigBase_GetFirstGroup(self, *_args, **_kwargs)
39 return val
40 def GetFirstEntry(self, *_args, **_kwargs):
41 val = utilsc.wxConfigBase_GetFirstEntry(self, *_args, **_kwargs)
42 return val
43 def GetNextGroup(self, *_args, **_kwargs):
44 val = utilsc.wxConfigBase_GetNextGroup(self, *_args, **_kwargs)
45 return val
46 def GetNextEntry(self, *_args, **_kwargs):
47 val = utilsc.wxConfigBase_GetNextEntry(self, *_args, **_kwargs)
48 return val
49 def GetNumberOfEntries(self, *_args, **_kwargs):
50 val = utilsc.wxConfigBase_GetNumberOfEntries(self, *_args, **_kwargs)
51 return val
52 def GetNumberOfGroups(self, *_args, **_kwargs):
53 val = utilsc.wxConfigBase_GetNumberOfGroups(self, *_args, **_kwargs)
54 return val
55 def GetPath(self, *_args, **_kwargs):
56 val = utilsc.wxConfigBase_GetPath(self, *_args, **_kwargs)
57 return val
58 def GetVendorName(self, *_args, **_kwargs):
59 val = utilsc.wxConfigBase_GetVendorName(self, *_args, **_kwargs)
60 return val
61 def HasEntry(self, *_args, **_kwargs):
62 val = utilsc.wxConfigBase_HasEntry(self, *_args, **_kwargs)
63 return val
64 def HasGroup(self, *_args, **_kwargs):
65 val = utilsc.wxConfigBase_HasGroup(self, *_args, **_kwargs)
66 return val
67 def IsExpandingEnvVars(self, *_args, **_kwargs):
68 val = utilsc.wxConfigBase_IsExpandingEnvVars(self, *_args, **_kwargs)
69 return val
70 def IsRecordingDefaults(self, *_args, **_kwargs):
71 val = utilsc.wxConfigBase_IsRecordingDefaults(self, *_args, **_kwargs)
72 return val
73 def Read(self, *_args, **_kwargs):
74 val = utilsc.wxConfigBase_Read(self, *_args, **_kwargs)
75 return val
76 def ReadInt(self, *_args, **_kwargs):
77 val = utilsc.wxConfigBase_ReadInt(self, *_args, **_kwargs)
78 return val
79 def ReadFloat(self, *_args, **_kwargs):
80 val = utilsc.wxConfigBase_ReadFloat(self, *_args, **_kwargs)
81 return val
82 def ReadBool(self, *_args, **_kwargs):
83 val = utilsc.wxConfigBase_ReadBool(self, *_args, **_kwargs)
84 return val
85 def SetExpandEnvVars(self, *_args, **_kwargs):
86 val = utilsc.wxConfigBase_SetExpandEnvVars(self, *_args, **_kwargs)
87 return val
88 def SetPath(self, *_args, **_kwargs):
89 val = utilsc.wxConfigBase_SetPath(self, *_args, **_kwargs)
90 return val
91 def SetRecordDefaults(self, *_args, **_kwargs):
92 val = utilsc.wxConfigBase_SetRecordDefaults(self, *_args, **_kwargs)
93 return val
94 def SetAppName(self, *_args, **_kwargs):
95 val = utilsc.wxConfigBase_SetAppName(self, *_args, **_kwargs)
96 return val
97 def SetVendorName(self, *_args, **_kwargs):
98 val = utilsc.wxConfigBase_SetVendorName(self, *_args, **_kwargs)
99 return val
100 def SetStyle(self, *_args, **_kwargs):
101 val = utilsc.wxConfigBase_SetStyle(self, *_args, **_kwargs)
102 return val
103 def GetStyle(self, *_args, **_kwargs):
104 val = utilsc.wxConfigBase_GetStyle(self, *_args, **_kwargs)
105 return val
106 def Write(self, *_args, **_kwargs):
107 val = utilsc.wxConfigBase_Write(self, *_args, **_kwargs)
108 return val
109 def WriteInt(self, *_args, **_kwargs):
110 val = utilsc.wxConfigBase_WriteInt(self, *_args, **_kwargs)
111 return val
112 def WriteFloat(self, *_args, **_kwargs):
113 val = utilsc.wxConfigBase_WriteFloat(self, *_args, **_kwargs)
114 return val
115 def WriteBool(self, *_args, **_kwargs):
116 val = utilsc.wxConfigBase_WriteBool(self, *_args, **_kwargs)
117 return val
118 def GetEntryType(self, *_args, **_kwargs):
119 val = utilsc.wxConfigBase_GetEntryType(self, *_args, **_kwargs)
120 return val
121 def RenameEntry(self, *_args, **_kwargs):
122 val = utilsc.wxConfigBase_RenameEntry(self, *_args, **_kwargs)
123 return val
124 def RenameGroup(self, *_args, **_kwargs):
125 val = utilsc.wxConfigBase_RenameGroup(self, *_args, **_kwargs)
126 return val
127 def ExpandEnvVars(self, *_args, **_kwargs):
128 val = utilsc.wxConfigBase_ExpandEnvVars(self, *_args, **_kwargs)
129 return val
130 def __repr__(self):
131 return "<%s.%s instance; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
132 class wxConfigBase(wxConfigBasePtr):
133 def __init__(self,this):
134 self.this = this
135
136
137
138
139 class wxConfigPtr(wxConfigBasePtr):
140 def __init__(self,this):
141 self.this = this
142 self.thisown = 0
143 def __del__(self, delfunc=utilsc.delete_wxConfig):
144 if self.thisown == 1:
145 try:
146 delfunc(self)
147 except:
148 pass
149 def __repr__(self):
150 return "<%s.%s instance; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
151 class wxConfig(wxConfigPtr):
152 def __init__(self,*_args,**_kwargs):
153 self.this = utilsc.new_wxConfig(*_args,**_kwargs)
154 self.thisown = 1
155
156
157
158
159 class wxFileConfigPtr(wxConfigBasePtr):
160 def __init__(self,this):
161 self.this = this
162 self.thisown = 0
163 def __del__(self, delfunc=utilsc.delete_wxFileConfig):
164 if self.thisown == 1:
165 try:
166 delfunc(self)
167 except:
168 pass
169 def __repr__(self):
170 return "<%s.%s instance; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
171 class wxFileConfig(wxFileConfigPtr):
172 def __init__(self,*_args,**_kwargs):
173 self.this = utilsc.new_wxFileConfig(*_args,**_kwargs)
174 self.thisown = 1
175
176
177
178
179 class wxDateTimePtr :
180 Local = utilsc.wxDateTime_Local
181 GMT_12 = utilsc.wxDateTime_GMT_12
182 GMT_11 = utilsc.wxDateTime_GMT_11
183 GMT_10 = utilsc.wxDateTime_GMT_10
184 GMT_9 = utilsc.wxDateTime_GMT_9
185 GMT_8 = utilsc.wxDateTime_GMT_8
186 GMT_7 = utilsc.wxDateTime_GMT_7
187 GMT_6 = utilsc.wxDateTime_GMT_6
188 GMT_5 = utilsc.wxDateTime_GMT_5
189 GMT_4 = utilsc.wxDateTime_GMT_4
190 GMT_3 = utilsc.wxDateTime_GMT_3
191 GMT_2 = utilsc.wxDateTime_GMT_2
192 GMT_1 = utilsc.wxDateTime_GMT_1
193 GMT0 = utilsc.wxDateTime_GMT0
194 GMT1 = utilsc.wxDateTime_GMT1
195 GMT2 = utilsc.wxDateTime_GMT2
196 GMT3 = utilsc.wxDateTime_GMT3
197 GMT4 = utilsc.wxDateTime_GMT4
198 GMT5 = utilsc.wxDateTime_GMT5
199 GMT6 = utilsc.wxDateTime_GMT6
200 GMT7 = utilsc.wxDateTime_GMT7
201 GMT8 = utilsc.wxDateTime_GMT8
202 GMT9 = utilsc.wxDateTime_GMT9
203 GMT10 = utilsc.wxDateTime_GMT10
204 GMT11 = utilsc.wxDateTime_GMT11
205 GMT12 = utilsc.wxDateTime_GMT12
206 WET = utilsc.wxDateTime_WET
207 WEST = utilsc.wxDateTime_WEST
208 CET = utilsc.wxDateTime_CET
209 CEST = utilsc.wxDateTime_CEST
210 EET = utilsc.wxDateTime_EET
211 EEST = utilsc.wxDateTime_EEST
212 MSK = utilsc.wxDateTime_MSK
213 MSD = utilsc.wxDateTime_MSD
214 AST = utilsc.wxDateTime_AST
215 ADT = utilsc.wxDateTime_ADT
216 EST = utilsc.wxDateTime_EST
217 EDT = utilsc.wxDateTime_EDT
218 CST = utilsc.wxDateTime_CST
219 CDT = utilsc.wxDateTime_CDT
220 MST = utilsc.wxDateTime_MST
221 MDT = utilsc.wxDateTime_MDT
222 PST = utilsc.wxDateTime_PST
223 PDT = utilsc.wxDateTime_PDT
224 HST = utilsc.wxDateTime_HST
225 AKST = utilsc.wxDateTime_AKST
226 AKDT = utilsc.wxDateTime_AKDT
227 A_WST = utilsc.wxDateTime_A_WST
228 A_CST = utilsc.wxDateTime_A_CST
229 A_EST = utilsc.wxDateTime_A_EST
230 A_ESST = utilsc.wxDateTime_A_ESST
231 UTC = utilsc.wxDateTime_UTC
232 Gregorian = utilsc.wxDateTime_Gregorian
233 Julian = utilsc.wxDateTime_Julian
234 Country_Unknown = utilsc.wxDateTime_Country_Unknown
235 Country_Default = utilsc.wxDateTime_Country_Default
236 Country_WesternEurope_Start = utilsc.wxDateTime_Country_WesternEurope_Start
237 Country_EEC = utilsc.wxDateTime_Country_EEC
238 France = utilsc.wxDateTime_France
239 Germany = utilsc.wxDateTime_Germany
240 UK = utilsc.wxDateTime_UK
241 Country_WesternEurope_End = utilsc.wxDateTime_Country_WesternEurope_End
242 Russia = utilsc.wxDateTime_Russia
243 USA = utilsc.wxDateTime_USA
244 Jan = utilsc.wxDateTime_Jan
245 Feb = utilsc.wxDateTime_Feb
246 Mar = utilsc.wxDateTime_Mar
247 Apr = utilsc.wxDateTime_Apr
248 May = utilsc.wxDateTime_May
249 Jun = utilsc.wxDateTime_Jun
250 Jul = utilsc.wxDateTime_Jul
251 Aug = utilsc.wxDateTime_Aug
252 Sep = utilsc.wxDateTime_Sep
253 Oct = utilsc.wxDateTime_Oct
254 Nov = utilsc.wxDateTime_Nov
255 Dec = utilsc.wxDateTime_Dec
256 Inv_Month = utilsc.wxDateTime_Inv_Month
257 Sun = utilsc.wxDateTime_Sun
258 Mon = utilsc.wxDateTime_Mon
259 Tue = utilsc.wxDateTime_Tue
260 Wed = utilsc.wxDateTime_Wed
261 Thu = utilsc.wxDateTime_Thu
262 Fri = utilsc.wxDateTime_Fri
263 Sat = utilsc.wxDateTime_Sat
264 Inv_WeekDay = utilsc.wxDateTime_Inv_WeekDay
265 Inv_Year = utilsc.wxDateTime_Inv_Year
266 Name_Full = utilsc.wxDateTime_Name_Full
267 Name_Abbr = utilsc.wxDateTime_Name_Abbr
268 Default_First = utilsc.wxDateTime_Default_First
269 Monday_First = utilsc.wxDateTime_Monday_First
270 Sunday_First = utilsc.wxDateTime_Sunday_First
271 def __init__(self,this):
272 self.this = this
273 self.thisown = 0
274 def __del__(self, delfunc=utilsc.delete_wxDateTime):
275 if self.thisown == 1:
276 try:
277 delfunc(self)
278 except:
279 pass
280 def SetToCurrent(self, *_args, **_kwargs):
281 val = utilsc.wxDateTime_SetToCurrent(self, *_args, **_kwargs)
282 if val: val = wxDateTimePtr(val)
283 return val
284 def SetTimeT(self, *_args, **_kwargs):
285 val = utilsc.wxDateTime_SetTimeT(self, *_args, **_kwargs)
286 if val: val = wxDateTimePtr(val)
287 return val
288 def SetJDN(self, *_args, **_kwargs):
289 val = utilsc.wxDateTime_SetJDN(self, *_args, **_kwargs)
290 if val: val = wxDateTimePtr(val)
291 return val
292 def SetHMS(self, *_args, **_kwargs):
293 val = utilsc.wxDateTime_SetHMS(self, *_args, **_kwargs)
294 if val: val = wxDateTimePtr(val)
295 return val
296 def Set(self, *_args, **_kwargs):
297 val = utilsc.wxDateTime_Set(self, *_args, **_kwargs)
298 if val: val = wxDateTimePtr(val)
299 return val
300 def ResetTime(self, *_args, **_kwargs):
301 val = utilsc.wxDateTime_ResetTime(self, *_args, **_kwargs)
302 if val: val = wxDateTimePtr(val)
303 return val
304 def SetYear(self, *_args, **_kwargs):
305 val = utilsc.wxDateTime_SetYear(self, *_args, **_kwargs)
306 if val: val = wxDateTimePtr(val)
307 return val
308 def SetMonth(self, *_args, **_kwargs):
309 val = utilsc.wxDateTime_SetMonth(self, *_args, **_kwargs)
310 if val: val = wxDateTimePtr(val)
311 return val
312 def SetDay(self, *_args, **_kwargs):
313 val = utilsc.wxDateTime_SetDay(self, *_args, **_kwargs)
314 if val: val = wxDateTimePtr(val)
315 return val
316 def SetHour(self, *_args, **_kwargs):
317 val = utilsc.wxDateTime_SetHour(self, *_args, **_kwargs)
318 if val: val = wxDateTimePtr(val)
319 return val
320 def SetMinute(self, *_args, **_kwargs):
321 val = utilsc.wxDateTime_SetMinute(self, *_args, **_kwargs)
322 if val: val = wxDateTimePtr(val)
323 return val
324 def SetSecond(self, *_args, **_kwargs):
325 val = utilsc.wxDateTime_SetSecond(self, *_args, **_kwargs)
326 if val: val = wxDateTimePtr(val)
327 return val
328 def SetMillisecond(self, *_args, **_kwargs):
329 val = utilsc.wxDateTime_SetMillisecond(self, *_args, **_kwargs)
330 if val: val = wxDateTimePtr(val)
331 return val
332 def SetToWeekDayInSameWeek(self, *_args, **_kwargs):
333 val = utilsc.wxDateTime_SetToWeekDayInSameWeek(self, *_args, **_kwargs)
334 if val: val = wxDateTimePtr(val)
335 return val
336 def GetWeekDayInSameWeek(self, *_args, **_kwargs):
337 val = utilsc.wxDateTime_GetWeekDayInSameWeek(self, *_args, **_kwargs)
338 if val: val = wxDateTimePtr(val) ; val.thisown = 1
339 return val
340 def SetToNextWeekDay(self, *_args, **_kwargs):
341 val = utilsc.wxDateTime_SetToNextWeekDay(self, *_args, **_kwargs)
342 if val: val = wxDateTimePtr(val)
343 return val
344 def GetNextWeekDay(self, *_args, **_kwargs):
345 val = utilsc.wxDateTime_GetNextWeekDay(self, *_args, **_kwargs)
346 if val: val = wxDateTimePtr(val) ; val.thisown = 1
347 return val
348 def SetToPrevWeekDay(self, *_args, **_kwargs):
349 val = utilsc.wxDateTime_SetToPrevWeekDay(self, *_args, **_kwargs)
350 if val: val = wxDateTimePtr(val)
351 return val
352 def GetPrevWeekDay(self, *_args, **_kwargs):
353 val = utilsc.wxDateTime_GetPrevWeekDay(self, *_args, **_kwargs)
354 if val: val = wxDateTimePtr(val) ; val.thisown = 1
355 return val
356 def SetToWeekDay(self, *_args, **_kwargs):
357 val = utilsc.wxDateTime_SetToWeekDay(self, *_args, **_kwargs)
358 return val
359 def SetToLastWeekDay(self, *_args, **_kwargs):
360 val = utilsc.wxDateTime_SetToLastWeekDay(self, *_args, **_kwargs)
361 return val
362 def GetLastWeekDay(self, *_args, **_kwargs):
363 val = utilsc.wxDateTime_GetLastWeekDay(self, *_args, **_kwargs)
364 if val: val = wxDateTimePtr(val) ; val.thisown = 1
365 return val
366 def SetToTheWeek(self, *_args, **_kwargs):
367 val = utilsc.wxDateTime_SetToTheWeek(self, *_args, **_kwargs)
368 return val
369 def GetWeek(self, *_args, **_kwargs):
370 val = utilsc.wxDateTime_GetWeek(self, *_args, **_kwargs)
371 if val: val = wxDateTimePtr(val) ; val.thisown = 1
372 return val
373 def SetToLastMonthDay(self, *_args, **_kwargs):
374 val = utilsc.wxDateTime_SetToLastMonthDay(self, *_args, **_kwargs)
375 if val: val = wxDateTimePtr(val)
376 return val
377 def GetLastMonthDay(self, *_args, **_kwargs):
378 val = utilsc.wxDateTime_GetLastMonthDay(self, *_args, **_kwargs)
379 if val: val = wxDateTimePtr(val) ; val.thisown = 1
380 return val
381 def SetToYearDay(self, *_args, **_kwargs):
382 val = utilsc.wxDateTime_SetToYearDay(self, *_args, **_kwargs)
383 if val: val = wxDateTimePtr(val)
384 return val
385 def GetYearDay(self, *_args, **_kwargs):
386 val = utilsc.wxDateTime_GetYearDay(self, *_args, **_kwargs)
387 if val: val = wxDateTimePtr(val) ; val.thisown = 1
388 return val
389 def GetJulianDayNumber(self, *_args, **_kwargs):
390 val = utilsc.wxDateTime_GetJulianDayNumber(self, *_args, **_kwargs)
391 return val
392 def GetJDN(self, *_args, **_kwargs):
393 val = utilsc.wxDateTime_GetJDN(self, *_args, **_kwargs)
394 return val
395 def GetModifiedJulianDayNumber(self, *_args, **_kwargs):
396 val = utilsc.wxDateTime_GetModifiedJulianDayNumber(self, *_args, **_kwargs)
397 return val
398 def GetMJD(self, *_args, **_kwargs):
399 val = utilsc.wxDateTime_GetMJD(self, *_args, **_kwargs)
400 return val
401 def GetRataDie(self, *_args, **_kwargs):
402 val = utilsc.wxDateTime_GetRataDie(self, *_args, **_kwargs)
403 return val
404 def ToTimezone(self, *_args, **_kwargs):
405 val = utilsc.wxDateTime_ToTimezone(self, *_args, **_kwargs)
406 if val: val = wxDateTimePtr(val) ; val.thisown = 1
407 return val
408 def MakeTimezone(self, *_args, **_kwargs):
409 val = utilsc.wxDateTime_MakeTimezone(self, *_args, **_kwargs)
410 if val: val = wxDateTimePtr(val)
411 return val
412 def ToGMT(self, *_args, **_kwargs):
413 val = utilsc.wxDateTime_ToGMT(self, *_args, **_kwargs)
414 if val: val = wxDateTimePtr(val) ; val.thisown = 1
415 return val
416 def MakeGMT(self, *_args, **_kwargs):
417 val = utilsc.wxDateTime_MakeGMT(self, *_args, **_kwargs)
418 if val: val = wxDateTimePtr(val)
419 return val
420 def IsDST(self, *_args, **_kwargs):
421 val = utilsc.wxDateTime_IsDST(self, *_args, **_kwargs)
422 return val
423 def IsValid(self, *_args, **_kwargs):
424 val = utilsc.wxDateTime_IsValid(self, *_args, **_kwargs)
425 return val
426 def GetTicks(self, *_args, **_kwargs):
427 val = utilsc.wxDateTime_GetTicks(self, *_args, **_kwargs)
428 return val
429 def GetYear(self, *_args, **_kwargs):
430 val = utilsc.wxDateTime_GetYear(self, *_args, **_kwargs)
431 return val
432 def GetMonth(self, *_args, **_kwargs):
433 val = utilsc.wxDateTime_GetMonth(self, *_args, **_kwargs)
434 return val
435 def GetDay(self, *_args, **_kwargs):
436 val = utilsc.wxDateTime_GetDay(self, *_args, **_kwargs)
437 return val
438 def GetWeekDay(self, *_args, **_kwargs):
439 val = utilsc.wxDateTime_GetWeekDay(self, *_args, **_kwargs)
440 return val
441 def GetHour(self, *_args, **_kwargs):
442 val = utilsc.wxDateTime_GetHour(self, *_args, **_kwargs)
443 return val
444 def GetMinute(self, *_args, **_kwargs):
445 val = utilsc.wxDateTime_GetMinute(self, *_args, **_kwargs)
446 return val
447 def GetSecond(self, *_args, **_kwargs):
448 val = utilsc.wxDateTime_GetSecond(self, *_args, **_kwargs)
449 return val
450 def GetMillisecond(self, *_args, **_kwargs):
451 val = utilsc.wxDateTime_GetMillisecond(self, *_args, **_kwargs)
452 return val
453 def GetDayOfYear(self, *_args, **_kwargs):
454 val = utilsc.wxDateTime_GetDayOfYear(self, *_args, **_kwargs)
455 return val
456 def GetWeekOfYear(self, *_args, **_kwargs):
457 val = utilsc.wxDateTime_GetWeekOfYear(self, *_args, **_kwargs)
458 return val
459 def GetWeekOfMonth(self, *_args, **_kwargs):
460 val = utilsc.wxDateTime_GetWeekOfMonth(self, *_args, **_kwargs)
461 return val
462 def IsWorkDay(self, *_args, **_kwargs):
463 val = utilsc.wxDateTime_IsWorkDay(self, *_args, **_kwargs)
464 return val
465 def IsEqualTo(self, *_args, **_kwargs):
466 val = utilsc.wxDateTime_IsEqualTo(self, *_args, **_kwargs)
467 return val
468 def IsEarlierThan(self, *_args, **_kwargs):
469 val = utilsc.wxDateTime_IsEarlierThan(self, *_args, **_kwargs)
470 return val
471 def IsLaterThan(self, *_args, **_kwargs):
472 val = utilsc.wxDateTime_IsLaterThan(self, *_args, **_kwargs)
473 return val
474 def IsStrictlyBetween(self, *_args, **_kwargs):
475 val = utilsc.wxDateTime_IsStrictlyBetween(self, *_args, **_kwargs)
476 return val
477 def IsBetween(self, *_args, **_kwargs):
478 val = utilsc.wxDateTime_IsBetween(self, *_args, **_kwargs)
479 return val
480 def IsSameDate(self, *_args, **_kwargs):
481 val = utilsc.wxDateTime_IsSameDate(self, *_args, **_kwargs)
482 return val
483 def IsSameTime(self, *_args, **_kwargs):
484 val = utilsc.wxDateTime_IsSameTime(self, *_args, **_kwargs)
485 return val
486 def IsEqualUpTo(self, *_args, **_kwargs):
487 val = utilsc.wxDateTime_IsEqualUpTo(self, *_args, **_kwargs)
488 return val
489 def AddTS(self, *_args, **_kwargs):
490 val = utilsc.wxDateTime_AddTS(self, *_args, **_kwargs)
491 if val: val = wxDateTimePtr(val)
492 return val
493 def AddDS(self, *_args, **_kwargs):
494 val = utilsc.wxDateTime_AddDS(self, *_args, **_kwargs)
495 if val: val = wxDateTimePtr(val)
496 return val
497 def SubtractTS(self, *_args, **_kwargs):
498 val = utilsc.wxDateTime_SubtractTS(self, *_args, **_kwargs)
499 if val: val = wxDateTimePtr(val)
500 return val
501 def SubtractDS(self, *_args, **_kwargs):
502 val = utilsc.wxDateTime_SubtractDS(self, *_args, **_kwargs)
503 if val: val = wxDateTimePtr(val)
504 return val
505 def Subtract(self, *_args, **_kwargs):
506 val = utilsc.wxDateTime_Subtract(self, *_args, **_kwargs)
507 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
508 return val
509 def __add__TS(self, *_args, **_kwargs):
510 val = utilsc.wxDateTime___add__TS(self, *_args, **_kwargs)
511 if val: val = wxDateTimePtr(val) ; val.thisown = 1
512 return val
513 def __add__DS(self, *_args, **_kwargs):
514 val = utilsc.wxDateTime___add__DS(self, *_args, **_kwargs)
515 if val: val = wxDateTimePtr(val) ; val.thisown = 1
516 return val
517 def __sub__DT(self, *_args, **_kwargs):
518 val = utilsc.wxDateTime___sub__DT(self, *_args, **_kwargs)
519 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
520 return val
521 def __sub__TS(self, *_args, **_kwargs):
522 val = utilsc.wxDateTime___sub__TS(self, *_args, **_kwargs)
523 if val: val = wxDateTimePtr(val) ; val.thisown = 1
524 return val
525 def __sub__DS(self, *_args, **_kwargs):
526 val = utilsc.wxDateTime___sub__DS(self, *_args, **_kwargs)
527 if val: val = wxDateTimePtr(val) ; val.thisown = 1
528 return val
529 def __cmp__(self, *_args, **_kwargs):
530 val = utilsc.wxDateTime___cmp__(self, *_args, **_kwargs)
531 return val
532 def ParseRfc822Date(self, *_args, **_kwargs):
533 val = utilsc.wxDateTime_ParseRfc822Date(self, *_args, **_kwargs)
534 return val
535 def ParseFormat(self, *_args, **_kwargs):
536 val = utilsc.wxDateTime_ParseFormat(self, *_args, **_kwargs)
537 return val
538 def ParseDateTime(self, *_args, **_kwargs):
539 val = utilsc.wxDateTime_ParseDateTime(self, *_args, **_kwargs)
540 return val
541 def ParseDate(self, *_args, **_kwargs):
542 val = utilsc.wxDateTime_ParseDate(self, *_args, **_kwargs)
543 return val
544 def ParseTime(self, *_args, **_kwargs):
545 val = utilsc.wxDateTime_ParseTime(self, *_args, **_kwargs)
546 return val
547 def Format(self, *_args, **_kwargs):
548 val = utilsc.wxDateTime_Format(self, *_args, **_kwargs)
549 return val
550 def FormatDate(self, *_args, **_kwargs):
551 val = utilsc.wxDateTime_FormatDate(self, *_args, **_kwargs)
552 return val
553 def FormatTime(self, *_args, **_kwargs):
554 val = utilsc.wxDateTime_FormatTime(self, *_args, **_kwargs)
555 return val
556 def FormatISODate(self, *_args, **_kwargs):
557 val = utilsc.wxDateTime_FormatISODate(self, *_args, **_kwargs)
558 return val
559 def FormatISOTime(self, *_args, **_kwargs):
560 val = utilsc.wxDateTime_FormatISOTime(self, *_args, **_kwargs)
561 return val
562 def __repr__(self):
563 return "<%s.%s instance; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
564
565 def __add__(self, other):
566 if isinstance(other, wxTimeSpanPtr):
567 return self.__add__TS(other)
568 if isinstance(other, wxDateSpanPtr):
569 return self.__add__DS(other)
570 raise TypeError, 'Invalid r.h.s. type for __add__'
571 def __sub__(self, other):
572 if isinstance(other, wxDateTimePtr):
573 return self.__sub__DT(other)
574 if isinstance(other, wxTimeSpanPtr):
575 return self.__sub__TS(other)
576 if isinstance(other, wxDateSpanPtr):
577 return self.__sub__DS(other)
578 raise TypeError, 'Invalid r.h.s. type for __sub__'
579
580
581 def __repr__(self):
582 return '<wxDateTime: \"%s\" at %s>' % ( self.Format(), self.this)
583 def __str__(self):
584 return self.Format()
585
586 class wxDateTime(wxDateTimePtr):
587 def __init__(self,*_args,**_kwargs):
588 self.this = utilsc.new_wxDateTime(*_args,**_kwargs)
589 self.thisown = 1
590
591
592
593 def wxDateTimeFromTimeT(*_args,**_kwargs):
594 val = wxDateTimePtr(utilsc.new_wxDateTimeFromTimeT(*_args,**_kwargs))
595 val.thisown = 1
596 return val
597
598 def wxDateTimeFromJDN(*_args,**_kwargs):
599 val = wxDateTimePtr(utilsc.new_wxDateTimeFromJDN(*_args,**_kwargs))
600 val.thisown = 1
601 return val
602
603 def wxDateTimeFromHMS(*_args,**_kwargs):
604 val = wxDateTimePtr(utilsc.new_wxDateTimeFromHMS(*_args,**_kwargs))
605 val.thisown = 1
606 return val
607
608 def wxDateTimeFromDMY(*_args,**_kwargs):
609 val = wxDateTimePtr(utilsc.new_wxDateTimeFromDMY(*_args,**_kwargs))
610 val.thisown = 1
611 return val
612
613
614 class wxTimeSpanPtr :
615 def __init__(self,this):
616 self.this = this
617 self.thisown = 0
618 def __del__(self, delfunc=utilsc.delete_wxTimeSpan):
619 if self.thisown == 1:
620 try:
621 delfunc(self)
622 except:
623 pass
624 def Add(self, *_args, **_kwargs):
625 val = utilsc.wxTimeSpan_Add(self, *_args, **_kwargs)
626 if val: val = wxTimeSpanPtr(val)
627 return val
628 def Subtract(self, *_args, **_kwargs):
629 val = utilsc.wxTimeSpan_Subtract(self, *_args, **_kwargs)
630 if val: val = wxTimeSpanPtr(val)
631 return val
632 def Multiply(self, *_args, **_kwargs):
633 val = utilsc.wxTimeSpan_Multiply(self, *_args, **_kwargs)
634 if val: val = wxTimeSpanPtr(val)
635 return val
636 def Neg(self, *_args, **_kwargs):
637 val = utilsc.wxTimeSpan_Neg(self, *_args, **_kwargs)
638 if val: val = wxTimeSpanPtr(val)
639 return val
640 def Abs(self, *_args, **_kwargs):
641 val = utilsc.wxTimeSpan_Abs(self, *_args, **_kwargs)
642 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
643 return val
644 def __add__(self, *_args, **_kwargs):
645 val = utilsc.wxTimeSpan___add__(self, *_args, **_kwargs)
646 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
647 return val
648 def __sub__(self, *_args, **_kwargs):
649 val = utilsc.wxTimeSpan___sub__(self, *_args, **_kwargs)
650 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
651 return val
652 def __mul__(self, *_args, **_kwargs):
653 val = utilsc.wxTimeSpan___mul__(self, *_args, **_kwargs)
654 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
655 return val
656 def __rmul__(self, *_args, **_kwargs):
657 val = utilsc.wxTimeSpan___rmul__(self, *_args, **_kwargs)
658 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
659 return val
660 def __neg__(self, *_args, **_kwargs):
661 val = utilsc.wxTimeSpan___neg__(self, *_args, **_kwargs)
662 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
663 return val
664 def __cmp__(self, *_args, **_kwargs):
665 val = utilsc.wxTimeSpan___cmp__(self, *_args, **_kwargs)
666 return val
667 def IsNull(self, *_args, **_kwargs):
668 val = utilsc.wxTimeSpan_IsNull(self, *_args, **_kwargs)
669 return val
670 def IsPositive(self, *_args, **_kwargs):
671 val = utilsc.wxTimeSpan_IsPositive(self, *_args, **_kwargs)
672 return val
673 def IsNegative(self, *_args, **_kwargs):
674 val = utilsc.wxTimeSpan_IsNegative(self, *_args, **_kwargs)
675 return val
676 def IsEqualTo(self, *_args, **_kwargs):
677 val = utilsc.wxTimeSpan_IsEqualTo(self, *_args, **_kwargs)
678 return val
679 def IsLongerThan(self, *_args, **_kwargs):
680 val = utilsc.wxTimeSpan_IsLongerThan(self, *_args, **_kwargs)
681 return val
682 def IsShorterThan(self, *_args, **_kwargs):
683 val = utilsc.wxTimeSpan_IsShorterThan(self, *_args, **_kwargs)
684 return val
685 def GetWeeks(self, *_args, **_kwargs):
686 val = utilsc.wxTimeSpan_GetWeeks(self, *_args, **_kwargs)
687 return val
688 def GetDays(self, *_args, **_kwargs):
689 val = utilsc.wxTimeSpan_GetDays(self, *_args, **_kwargs)
690 return val
691 def GetHours(self, *_args, **_kwargs):
692 val = utilsc.wxTimeSpan_GetHours(self, *_args, **_kwargs)
693 return val
694 def GetMinutes(self, *_args, **_kwargs):
695 val = utilsc.wxTimeSpan_GetMinutes(self, *_args, **_kwargs)
696 return val
697 def GetSeconds(self, *_args, **_kwargs):
698 val = utilsc.wxTimeSpan_GetSeconds(self, *_args, **_kwargs)
699 return val
700 def GetMilliseconds(self, *_args, **_kwargs):
701 val = utilsc.wxTimeSpan_GetMilliseconds(self, *_args, **_kwargs)
702 return val
703 def Format(self, *_args, **_kwargs):
704 val = utilsc.wxTimeSpan_Format(self, *_args, **_kwargs)
705 return val
706 def __repr__(self):
707 return "<%s.%s instance; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
708 class wxTimeSpan(wxTimeSpanPtr):
709 def __init__(self,*_args,**_kwargs):
710 self.this = utilsc.new_wxTimeSpan(*_args,**_kwargs)
711 self.thisown = 1
712
713
714
715
716 class wxDateSpanPtr :
717 def __init__(self,this):
718 self.this = this
719 self.thisown = 0
720 def __del__(self, delfunc=utilsc.delete_wxDateSpan):
721 if self.thisown == 1:
722 try:
723 delfunc(self)
724 except:
725 pass
726 def SetYears(self, *_args, **_kwargs):
727 val = utilsc.wxDateSpan_SetYears(self, *_args, **_kwargs)
728 if val: val = wxDateSpanPtr(val)
729 return val
730 def SetMonths(self, *_args, **_kwargs):
731 val = utilsc.wxDateSpan_SetMonths(self, *_args, **_kwargs)
732 if val: val = wxDateSpanPtr(val)
733 return val
734 def SetWeeks(self, *_args, **_kwargs):
735 val = utilsc.wxDateSpan_SetWeeks(self, *_args, **_kwargs)
736 if val: val = wxDateSpanPtr(val)
737 return val
738 def SetDays(self, *_args, **_kwargs):
739 val = utilsc.wxDateSpan_SetDays(self, *_args, **_kwargs)
740 if val: val = wxDateSpanPtr(val)
741 return val
742 def GetYears(self, *_args, **_kwargs):
743 val = utilsc.wxDateSpan_GetYears(self, *_args, **_kwargs)
744 return val
745 def GetMonths(self, *_args, **_kwargs):
746 val = utilsc.wxDateSpan_GetMonths(self, *_args, **_kwargs)
747 return val
748 def GetWeeks(self, *_args, **_kwargs):
749 val = utilsc.wxDateSpan_GetWeeks(self, *_args, **_kwargs)
750 return val
751 def GetDays(self, *_args, **_kwargs):
752 val = utilsc.wxDateSpan_GetDays(self, *_args, **_kwargs)
753 return val
754 def GetTotalDays(self, *_args, **_kwargs):
755 val = utilsc.wxDateSpan_GetTotalDays(self, *_args, **_kwargs)
756 return val
757 def Add(self, *_args, **_kwargs):
758 val = utilsc.wxDateSpan_Add(self, *_args, **_kwargs)
759 if val: val = wxDateSpanPtr(val)
760 return val
761 def Subtract(self, *_args, **_kwargs):
762 val = utilsc.wxDateSpan_Subtract(self, *_args, **_kwargs)
763 if val: val = wxDateSpanPtr(val)
764 return val
765 def Neg(self, *_args, **_kwargs):
766 val = utilsc.wxDateSpan_Neg(self, *_args, **_kwargs)
767 if val: val = wxDateSpanPtr(val)
768 return val
769 def Multiply(self, *_args, **_kwargs):
770 val = utilsc.wxDateSpan_Multiply(self, *_args, **_kwargs)
771 if val: val = wxDateSpanPtr(val)
772 return val
773 def __add__(self, *_args, **_kwargs):
774 val = utilsc.wxDateSpan___add__(self, *_args, **_kwargs)
775 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
776 return val
777 def __sub__(self, *_args, **_kwargs):
778 val = utilsc.wxDateSpan___sub__(self, *_args, **_kwargs)
779 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
780 return val
781 def __mul__(self, *_args, **_kwargs):
782 val = utilsc.wxDateSpan___mul__(self, *_args, **_kwargs)
783 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
784 return val
785 def __rmul__(self, *_args, **_kwargs):
786 val = utilsc.wxDateSpan___rmul__(self, *_args, **_kwargs)
787 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
788 return val
789 def __neg__(self, *_args, **_kwargs):
790 val = utilsc.wxDateSpan___neg__(self, *_args, **_kwargs)
791 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
792 return val
793 def __repr__(self):
794 return "<%s.%s instance; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
795 class wxDateSpan(wxDateSpanPtr):
796 def __init__(self,*_args,**_kwargs):
797 self.this = utilsc.new_wxDateSpan(*_args,**_kwargs)
798 self.thisown = 1
799
800
801
802
803
804
805 #-------------- FUNCTION WRAPPERS ------------------
806
807 wxGetLocalTime = utilsc.wxGetLocalTime
808
809 wxGetUTCTime = utilsc.wxGetUTCTime
810
811 wxGetCurrentTime = utilsc.wxGetCurrentTime
812
813 wxGetLocalTimeMillis = utilsc.wxGetLocalTimeMillis
814
815 def wxConfigBase_Set(*_args, **_kwargs):
816 val = utilsc.wxConfigBase_Set(*_args,**_kwargs)
817 if val: val = wxConfigBasePtr(val)
818 return val
819
820 def wxConfigBase_Get(*_args, **_kwargs):
821 val = utilsc.wxConfigBase_Get(*_args,**_kwargs)
822 if val: val = wxConfigBasePtr(val)
823 return val
824
825 def wxConfigBase_Create(*_args, **_kwargs):
826 val = utilsc.wxConfigBase_Create(*_args,**_kwargs)
827 if val: val = wxConfigBasePtr(val)
828 return val
829
830 wxConfigBase_DontCreateOnDemand = utilsc.wxConfigBase_DontCreateOnDemand
831
832 wxDateTime_SetCountry = utilsc.wxDateTime_SetCountry
833
834 wxDateTime_GetCountry = utilsc.wxDateTime_GetCountry
835
836 wxDateTime_IsWestEuropeanCountry = utilsc.wxDateTime_IsWestEuropeanCountry
837
838 wxDateTime_GetCurrentYear = utilsc.wxDateTime_GetCurrentYear
839
840 wxDateTime_ConvertYearToBC = utilsc.wxDateTime_ConvertYearToBC
841
842 wxDateTime_GetCurrentMonth = utilsc.wxDateTime_GetCurrentMonth
843
844 wxDateTime_IsLeapYear = utilsc.wxDateTime_IsLeapYear
845
846 wxDateTime_GetCentury = utilsc.wxDateTime_GetCentury
847
848 wxDateTime_GetNumberOfDaysinYear = utilsc.wxDateTime_GetNumberOfDaysinYear
849
850 wxDateTime_GetNumberOfDaysInMonth = utilsc.wxDateTime_GetNumberOfDaysInMonth
851
852 wxDateTime_GetMonthName = utilsc.wxDateTime_GetMonthName
853
854 wxDateTime_GetWeekDayName = utilsc.wxDateTime_GetWeekDayName
855
856 wxDateTime_GetAmPmStrings = utilsc.wxDateTime_GetAmPmStrings
857
858 wxDateTime_IsDSTApplicable = utilsc.wxDateTime_IsDSTApplicable
859
860 def wxDateTime_GetBeginDST(*_args, **_kwargs):
861 val = utilsc.wxDateTime_GetBeginDST(*_args,**_kwargs)
862 if val: val = wxDateTimePtr(val); val.thisown = 1
863 return val
864
865 def wxDateTime_GetEndDST(*_args, **_kwargs):
866 val = utilsc.wxDateTime_GetEndDST(*_args,**_kwargs)
867 if val: val = wxDateTimePtr(val); val.thisown = 1
868 return val
869
870 def wxDateTime_Now(*_args, **_kwargs):
871 val = utilsc.wxDateTime_Now(*_args,**_kwargs)
872 if val: val = wxDateTimePtr(val); val.thisown = 1
873 return val
874
875 def wxDateTime_UNow(*_args, **_kwargs):
876 val = utilsc.wxDateTime_UNow(*_args,**_kwargs)
877 if val: val = wxDateTimePtr(val); val.thisown = 1
878 return val
879
880 def wxDateTime_Today(*_args, **_kwargs):
881 val = utilsc.wxDateTime_Today(*_args,**_kwargs)
882 if val: val = wxDateTimePtr(val); val.thisown = 1
883 return val
884
885 def wxTimeSpan_Seconds(*_args, **_kwargs):
886 val = utilsc.wxTimeSpan_Seconds(*_args,**_kwargs)
887 if val: val = wxTimeSpanPtr(val); val.thisown = 1
888 return val
889
890 def wxTimeSpan_Second(*_args, **_kwargs):
891 val = utilsc.wxTimeSpan_Second(*_args,**_kwargs)
892 if val: val = wxTimeSpanPtr(val); val.thisown = 1
893 return val
894
895 def wxTimeSpan_Minutes(*_args, **_kwargs):
896 val = utilsc.wxTimeSpan_Minutes(*_args,**_kwargs)
897 if val: val = wxTimeSpanPtr(val); val.thisown = 1
898 return val
899
900 def wxTimeSpan_Minute(*_args, **_kwargs):
901 val = utilsc.wxTimeSpan_Minute(*_args,**_kwargs)
902 if val: val = wxTimeSpanPtr(val); val.thisown = 1
903 return val
904
905 def wxTimeSpan_Hours(*_args, **_kwargs):
906 val = utilsc.wxTimeSpan_Hours(*_args,**_kwargs)
907 if val: val = wxTimeSpanPtr(val); val.thisown = 1
908 return val
909
910 def wxTimeSpan_Hour(*_args, **_kwargs):
911 val = utilsc.wxTimeSpan_Hour(*_args,**_kwargs)
912 if val: val = wxTimeSpanPtr(val); val.thisown = 1
913 return val
914
915 def wxTimeSpan_Days(*_args, **_kwargs):
916 val = utilsc.wxTimeSpan_Days(*_args,**_kwargs)
917 if val: val = wxTimeSpanPtr(val); val.thisown = 1
918 return val
919
920 def wxTimeSpan_Day(*_args, **_kwargs):
921 val = utilsc.wxTimeSpan_Day(*_args,**_kwargs)
922 if val: val = wxTimeSpanPtr(val); val.thisown = 1
923 return val
924
925 def wxTimeSpan_Weeks(*_args, **_kwargs):
926 val = utilsc.wxTimeSpan_Weeks(*_args,**_kwargs)
927 if val: val = wxTimeSpanPtr(val); val.thisown = 1
928 return val
929
930 def wxTimeSpan_Week(*_args, **_kwargs):
931 val = utilsc.wxTimeSpan_Week(*_args,**_kwargs)
932 if val: val = wxTimeSpanPtr(val); val.thisown = 1
933 return val
934
935 def wxDateSpan_Days(*_args, **_kwargs):
936 val = utilsc.wxDateSpan_Days(*_args,**_kwargs)
937 if val: val = wxDateSpanPtr(val); val.thisown = 1
938 return val
939
940 def wxDateSpan_Day(*_args, **_kwargs):
941 val = utilsc.wxDateSpan_Day(*_args,**_kwargs)
942 if val: val = wxDateSpanPtr(val); val.thisown = 1
943 return val
944
945 def wxDateSpan_Weeks(*_args, **_kwargs):
946 val = utilsc.wxDateSpan_Weeks(*_args,**_kwargs)
947 if val: val = wxDateSpanPtr(val); val.thisown = 1
948 return val
949
950 def wxDateSpan_Week(*_args, **_kwargs):
951 val = utilsc.wxDateSpan_Week(*_args,**_kwargs)
952 if val: val = wxDateSpanPtr(val); val.thisown = 1
953 return val
954
955 def wxDateSpan_Months(*_args, **_kwargs):
956 val = utilsc.wxDateSpan_Months(*_args,**_kwargs)
957 if val: val = wxDateSpanPtr(val); val.thisown = 1
958 return val
959
960 def wxDateSpan_Month(*_args, **_kwargs):
961 val = utilsc.wxDateSpan_Month(*_args,**_kwargs)
962 if val: val = wxDateSpanPtr(val); val.thisown = 1
963 return val
964
965 def wxDateSpan_Years(*_args, **_kwargs):
966 val = utilsc.wxDateSpan_Years(*_args,**_kwargs)
967 if val: val = wxDateSpanPtr(val); val.thisown = 1
968 return val
969
970 def wxDateSpan_Year(*_args, **_kwargs):
971 val = utilsc.wxDateSpan_Year(*_args,**_kwargs)
972 if val: val = wxDateSpanPtr(val); val.thisown = 1
973 return val
974
975
976
977 #-------------- VARIABLE WRAPPERS ------------------
978
979 wxCONFIG_USE_LOCAL_FILE = utilsc.wxCONFIG_USE_LOCAL_FILE
980 wxCONFIG_USE_GLOBAL_FILE = utilsc.wxCONFIG_USE_GLOBAL_FILE
981 wxCONFIG_USE_RELATIVE_PATH = utilsc.wxCONFIG_USE_RELATIVE_PATH
982 wxCONFIG_USE_NO_ESCAPE_CHARACTERS = utilsc.wxCONFIG_USE_NO_ESCAPE_CHARACTERS