]>
Commit | Line | Data |
---|---|---|
f6bcfd97 | 1 | # This file was created automatically by SWIG. |
d14a1e28 RD |
2 | # Don't modify this file, modify the SWIG interface instead. |
3 | ||
4 | import _calendar | |
5 | ||
6 | import misc | |
7 | import core | |
8 | wx = core | |
9 | CAL_SUNDAY_FIRST = _calendar.CAL_SUNDAY_FIRST | |
10 | CAL_MONDAY_FIRST = _calendar.CAL_MONDAY_FIRST | |
11 | CAL_SHOW_HOLIDAYS = _calendar.CAL_SHOW_HOLIDAYS | |
12 | CAL_NO_YEAR_CHANGE = _calendar.CAL_NO_YEAR_CHANGE | |
13 | CAL_NO_MONTH_CHANGE = _calendar.CAL_NO_MONTH_CHANGE | |
14 | CAL_SEQUENTIAL_MONTH_SELECTION = _calendar.CAL_SEQUENTIAL_MONTH_SELECTION | |
15 | CAL_SHOW_SURROUNDING_WEEKS = _calendar.CAL_SHOW_SURROUNDING_WEEKS | |
16 | CAL_HITTEST_NOWHERE = _calendar.CAL_HITTEST_NOWHERE | |
17 | CAL_HITTEST_HEADER = _calendar.CAL_HITTEST_HEADER | |
18 | CAL_HITTEST_DAY = _calendar.CAL_HITTEST_DAY | |
19 | CAL_HITTEST_INCMONTH = _calendar.CAL_HITTEST_INCMONTH | |
20 | CAL_HITTEST_DECMONTH = _calendar.CAL_HITTEST_DECMONTH | |
21 | CAL_HITTEST_SURROUNDING_WEEK = _calendar.CAL_HITTEST_SURROUNDING_WEEK | |
22 | CAL_BORDER_NONE = _calendar.CAL_BORDER_NONE | |
23 | CAL_BORDER_SQUARE = _calendar.CAL_BORDER_SQUARE | |
24 | CAL_BORDER_ROUND = _calendar.CAL_BORDER_ROUND | |
25 | class CalendarDateAttr(object): | |
98e665d3 RD |
26 | """ |
27 | A set of customization attributes for a calendar date, which can be used to | |
28 | control the look of the Calendar object. | |
29 | """ | |
423f194a RD |
30 | def __repr__(self): |
31 | return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 32 | def __init__(self, *args, **kwargs): |
41f1cec7 | 33 | """ |
98e665d3 RD |
34 | __init__(Colour colText=wxNullColour, Colour colBack=wxNullColour, |
35 | Colour colBorder=wxNullColour, Font font=wxNullFont, | |
d03fd34d | 36 | int border=CAL_BORDER_NONE) -> CalendarDateAttr |
98e665d3 RD |
37 | |
38 | Create a CalendarDateAttr. | |
41f1cec7 | 39 | """ |
d14a1e28 RD |
40 | newobj = _calendar.new_CalendarDateAttr(*args, **kwargs) |
41 | self.this = newobj.this | |
eedf876b | 42 | self.thisown = 1 |
d14a1e28 | 43 | del newobj.thisown |
423f194a | 44 | def SetTextColour(*args, **kwargs): |
d03fd34d | 45 | """SetTextColour(Colour colText)""" |
423f194a RD |
46 | return _calendar.CalendarDateAttr_SetTextColour(*args, **kwargs) |
47 | ||
48 | def SetBackgroundColour(*args, **kwargs): | |
d03fd34d | 49 | """SetBackgroundColour(Colour colBack)""" |
423f194a RD |
50 | return _calendar.CalendarDateAttr_SetBackgroundColour(*args, **kwargs) |
51 | ||
52 | def SetBorderColour(*args, **kwargs): | |
d03fd34d | 53 | """SetBorderColour(Colour col)""" |
423f194a RD |
54 | return _calendar.CalendarDateAttr_SetBorderColour(*args, **kwargs) |
55 | ||
56 | def SetFont(*args, **kwargs): | |
d03fd34d | 57 | """SetFont(Font font)""" |
423f194a RD |
58 | return _calendar.CalendarDateAttr_SetFont(*args, **kwargs) |
59 | ||
60 | def SetBorder(*args, **kwargs): | |
d03fd34d | 61 | """SetBorder(int border)""" |
423f194a RD |
62 | return _calendar.CalendarDateAttr_SetBorder(*args, **kwargs) |
63 | ||
64 | def SetHoliday(*args, **kwargs): | |
65 | """SetHoliday(bool holiday)""" | |
66 | return _calendar.CalendarDateAttr_SetHoliday(*args, **kwargs) | |
67 | ||
68 | def HasTextColour(*args, **kwargs): | |
69 | """HasTextColour() -> bool""" | |
70 | return _calendar.CalendarDateAttr_HasTextColour(*args, **kwargs) | |
71 | ||
72 | def HasBackgroundColour(*args, **kwargs): | |
73 | """HasBackgroundColour() -> bool""" | |
74 | return _calendar.CalendarDateAttr_HasBackgroundColour(*args, **kwargs) | |
75 | ||
76 | def HasBorderColour(*args, **kwargs): | |
77 | """HasBorderColour() -> bool""" | |
78 | return _calendar.CalendarDateAttr_HasBorderColour(*args, **kwargs) | |
79 | ||
80 | def HasFont(*args, **kwargs): | |
81 | """HasFont() -> bool""" | |
82 | return _calendar.CalendarDateAttr_HasFont(*args, **kwargs) | |
83 | ||
84 | def HasBorder(*args, **kwargs): | |
85 | """HasBorder() -> bool""" | |
86 | return _calendar.CalendarDateAttr_HasBorder(*args, **kwargs) | |
87 | ||
88 | def IsHoliday(*args, **kwargs): | |
89 | """IsHoliday() -> bool""" | |
90 | return _calendar.CalendarDateAttr_IsHoliday(*args, **kwargs) | |
91 | ||
92 | def GetTextColour(*args, **kwargs): | |
d03fd34d | 93 | """GetTextColour() -> Colour""" |
423f194a RD |
94 | return _calendar.CalendarDateAttr_GetTextColour(*args, **kwargs) |
95 | ||
96 | def GetBackgroundColour(*args, **kwargs): | |
d03fd34d | 97 | """GetBackgroundColour() -> Colour""" |
423f194a RD |
98 | return _calendar.CalendarDateAttr_GetBackgroundColour(*args, **kwargs) |
99 | ||
100 | def GetBorderColour(*args, **kwargs): | |
d03fd34d | 101 | """GetBorderColour() -> Colour""" |
423f194a RD |
102 | return _calendar.CalendarDateAttr_GetBorderColour(*args, **kwargs) |
103 | ||
104 | def GetFont(*args, **kwargs): | |
d03fd34d | 105 | """GetFont() -> Font""" |
423f194a RD |
106 | return _calendar.CalendarDateAttr_GetFont(*args, **kwargs) |
107 | ||
108 | def GetBorder(*args, **kwargs): | |
d03fd34d | 109 | """GetBorder() -> int""" |
423f194a RD |
110 | return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs) |
111 | ||
eedf876b | 112 | |
d14a1e28 RD |
113 | class CalendarDateAttrPtr(CalendarDateAttr): |
114 | def __init__(self, this): | |
115 | self.this = this | |
116 | if not hasattr(self,"thisown"): self.thisown = 0 | |
117 | self.__class__ = CalendarDateAttr | |
118 | _calendar.CalendarDateAttr_swigregister(CalendarDateAttrPtr) | |
eedf876b | 119 | |
d14a1e28 | 120 | class CalendarEvent(core.CommandEvent): |
423f194a RD |
121 | def __repr__(self): |
122 | return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 123 | def __init__(self, *args, **kwargs): |
423f194a | 124 | """__init__(CalendarCtrl cal, wxEventType type) -> CalendarEvent""" |
d14a1e28 RD |
125 | newobj = _calendar.new_CalendarEvent(*args, **kwargs) |
126 | self.this = newobj.this | |
f6bcfd97 | 127 | self.thisown = 1 |
d14a1e28 | 128 | del newobj.thisown |
423f194a RD |
129 | def GetDate(*args, **kwargs): |
130 | """GetDate() -> DateTime""" | |
131 | return _calendar.CalendarEvent_GetDate(*args, **kwargs) | |
132 | ||
9fd4be55 RD |
133 | def SetDate(*args, **kwargs): |
134 | """SetDate(DateTime date)""" | |
135 | return _calendar.CalendarEvent_SetDate(*args, **kwargs) | |
136 | ||
137 | def SetWeekDay(*args, **kwargs): | |
d03fd34d | 138 | """SetWeekDay(int wd)""" |
9fd4be55 RD |
139 | return _calendar.CalendarEvent_SetWeekDay(*args, **kwargs) |
140 | ||
423f194a | 141 | def GetWeekDay(*args, **kwargs): |
d03fd34d | 142 | """GetWeekDay() -> int""" |
423f194a RD |
143 | return _calendar.CalendarEvent_GetWeekDay(*args, **kwargs) |
144 | ||
f6bcfd97 | 145 | |
d14a1e28 RD |
146 | class CalendarEventPtr(CalendarEvent): |
147 | def __init__(self, this): | |
f6bcfd97 | 148 | self.this = this |
d14a1e28 RD |
149 | if not hasattr(self,"thisown"): self.thisown = 0 |
150 | self.__class__ = CalendarEvent | |
151 | _calendar.CalendarEvent_swigregister(CalendarEventPtr) | |
152 | ||
153 | wxEVT_CALENDAR_DOUBLECLICKED = _calendar.wxEVT_CALENDAR_DOUBLECLICKED | |
154 | wxEVT_CALENDAR_SEL_CHANGED = _calendar.wxEVT_CALENDAR_SEL_CHANGED | |
155 | wxEVT_CALENDAR_DAY_CHANGED = _calendar.wxEVT_CALENDAR_DAY_CHANGED | |
156 | wxEVT_CALENDAR_MONTH_CHANGED = _calendar.wxEVT_CALENDAR_MONTH_CHANGED | |
157 | wxEVT_CALENDAR_YEAR_CHANGED = _calendar.wxEVT_CALENDAR_YEAR_CHANGED | |
158 | wxEVT_CALENDAR_WEEKDAY_CLICKED = _calendar.wxEVT_CALENDAR_WEEKDAY_CLICKED | |
159 | EVT_CALENDAR = wx.PyEventBinder( wxEVT_CALENDAR_DOUBLECLICKED, 1) | |
160 | EVT_CALENDAR_SEL_CHANGED = wx.PyEventBinder( wxEVT_CALENDAR_SEL_CHANGED, 1) | |
161 | EVT_CALENDAR_DAY = wx.PyEventBinder( wxEVT_CALENDAR_DAY_CHANGED, 1) | |
162 | EVT_CALENDAR_MONTH = wx.PyEventBinder( wxEVT_CALENDAR_MONTH_CHANGED, 1) | |
163 | EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1) | |
164 | EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1) | |
165 | ||
166 | class CalendarCtrl(core.Control): | |
98e665d3 | 167 | """The calendar control allows the user to pick a date interactively.""" |
423f194a RD |
168 | def __repr__(self): |
169 | return "<%s.%s; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 170 | def __init__(self, *args, **kwargs): |
41f1cec7 | 171 | """ |
98e665d3 | 172 | __init__(Window parent, int id, DateTime date=DefaultDateTime, |
41f1cec7 RD |
173 | Point pos=DefaultPosition, Size size=DefaultSize, |
174 | long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, | |
d03fd34d | 175 | String name=CalendarNameStr) -> CalendarCtrl |
98e665d3 RD |
176 | |
177 | Create and show a calendar control. | |
41f1cec7 | 178 | """ |
d14a1e28 RD |
179 | newobj = _calendar.new_CalendarCtrl(*args, **kwargs) |
180 | self.this = newobj.this | |
f6bcfd97 | 181 | self.thisown = 1 |
d14a1e28 | 182 | del newobj.thisown |
0122b7e3 | 183 | self._setOORInfo(self) |
423f194a RD |
184 | |
185 | def Create(*args, **kwargs): | |
41f1cec7 | 186 | """ |
98e665d3 | 187 | Create(Window parent, int id, DateTime date=DefaultDateTime, |
41f1cec7 RD |
188 | Point pos=DefaultPosition, Size size=DefaultSize, |
189 | long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, | |
d03fd34d | 190 | String name=CalendarNameStr) -> bool |
98e665d3 RD |
191 | |
192 | Acutally create the GUI portion of the CalendarCtrl for 2-phase creation. | |
41f1cec7 | 193 | """ |
423f194a RD |
194 | return _calendar.CalendarCtrl_Create(*args, **kwargs) |
195 | ||
196 | def SetDate(*args, **kwargs): | |
98e665d3 RD |
197 | """ |
198 | SetDate(DateTime date) | |
199 | ||
200 | Sets the current date. | |
201 | """ | |
423f194a RD |
202 | return _calendar.CalendarCtrl_SetDate(*args, **kwargs) |
203 | ||
204 | def GetDate(*args, **kwargs): | |
98e665d3 RD |
205 | """ |
206 | GetDate() -> DateTime | |
207 | ||
208 | Gets the currently selected date. | |
209 | """ | |
423f194a RD |
210 | return _calendar.CalendarCtrl_GetDate(*args, **kwargs) |
211 | ||
212 | def SetLowerDateLimit(*args, **kwargs): | |
98e665d3 RD |
213 | """ |
214 | SetLowerDateLimit(DateTime date=DefaultDateTime) -> bool | |
423f194a | 215 | |
98e665d3 RD |
216 | set the range in which selection can occur |
217 | """ | |
218 | return _calendar.CalendarCtrl_SetLowerDateLimit(*args, **kwargs) | |
423f194a RD |
219 | |
220 | def SetUpperDateLimit(*args, **kwargs): | |
98e665d3 RD |
221 | """ |
222 | SetUpperDateLimit(DateTime date=DefaultDateTime) -> bool | |
223 | ||
224 | set the range in which selection can occur | |
225 | """ | |
423f194a RD |
226 | return _calendar.CalendarCtrl_SetUpperDateLimit(*args, **kwargs) |
227 | ||
98e665d3 RD |
228 | def GetLowerDateLimit(*args, **kwargs): |
229 | """ | |
230 | GetLowerDateLimit() -> DateTime | |
231 | ||
232 | get the range in which selection can occur | |
233 | """ | |
234 | return _calendar.CalendarCtrl_GetLowerDateLimit(*args, **kwargs) | |
235 | ||
423f194a | 236 | def GetUpperDateLimit(*args, **kwargs): |
98e665d3 RD |
237 | """ |
238 | GetUpperDateLimit() -> DateTime | |
239 | ||
240 | get the range in which selection can occur | |
241 | """ | |
423f194a RD |
242 | return _calendar.CalendarCtrl_GetUpperDateLimit(*args, **kwargs) |
243 | ||
244 | def SetDateRange(*args, **kwargs): | |
98e665d3 RD |
245 | """ |
246 | SetDateRange(DateTime lowerdate=DefaultDateTime, DateTime upperdate=DefaultDateTime) -> bool | |
247 | ||
248 | set the range in which selection can occur | |
249 | """ | |
423f194a RD |
250 | return _calendar.CalendarCtrl_SetDateRange(*args, **kwargs) |
251 | ||
252 | def EnableYearChange(*args, **kwargs): | |
98e665d3 RD |
253 | """ |
254 | EnableYearChange(bool enable=True) | |
255 | ||
256 | This function should be used instead of changing CAL_NO_YEAR_CHANGE | |
257 | style bit directly. It allows or disallows the user to change the year | |
258 | interactively. | |
259 | """ | |
423f194a RD |
260 | return _calendar.CalendarCtrl_EnableYearChange(*args, **kwargs) |
261 | ||
262 | def EnableMonthChange(*args, **kwargs): | |
98e665d3 RD |
263 | """ |
264 | EnableMonthChange(bool enable=True) | |
265 | ||
266 | This function should be used instead of changing CAL_NO_MONTH_CHANGE style | |
267 | bit. It allows or disallows the user to change the month interactively. Note | |
268 | that if the month can not be changed, the year can not be changed either. | |
269 | """ | |
423f194a RD |
270 | return _calendar.CalendarCtrl_EnableMonthChange(*args, **kwargs) |
271 | ||
272 | def EnableHolidayDisplay(*args, **kwargs): | |
98e665d3 RD |
273 | """ |
274 | EnableHolidayDisplay(bool display=True) | |
275 | ||
276 | This function should be used instead of changing CAL_SHOW_HOLIDAYS style | |
277 | bit directly. It enables or disables the special highlighting of the holidays. | |
278 | """ | |
423f194a RD |
279 | return _calendar.CalendarCtrl_EnableHolidayDisplay(*args, **kwargs) |
280 | ||
281 | def SetHeaderColours(*args, **kwargs): | |
98e665d3 RD |
282 | """ |
283 | SetHeaderColours(Colour colFg, Colour colBg) | |
284 | ||
285 | header colours are used for painting the weekdays at the top | |
286 | """ | |
423f194a RD |
287 | return _calendar.CalendarCtrl_SetHeaderColours(*args, **kwargs) |
288 | ||
289 | def GetHeaderColourFg(*args, **kwargs): | |
98e665d3 RD |
290 | """ |
291 | GetHeaderColourFg() -> Colour | |
292 | ||
293 | header colours are used for painting the weekdays at the top | |
294 | """ | |
423f194a RD |
295 | return _calendar.CalendarCtrl_GetHeaderColourFg(*args, **kwargs) |
296 | ||
297 | def GetHeaderColourBg(*args, **kwargs): | |
98e665d3 RD |
298 | """ |
299 | GetHeaderColourBg() -> Colour | |
300 | ||
301 | header colours are used for painting the weekdays at the top | |
302 | """ | |
423f194a RD |
303 | return _calendar.CalendarCtrl_GetHeaderColourBg(*args, **kwargs) |
304 | ||
305 | def SetHighlightColours(*args, **kwargs): | |
98e665d3 RD |
306 | """ |
307 | SetHighlightColours(Colour colFg, Colour colBg) | |
308 | ||
309 | highlight colour is used for the currently selected date | |
310 | """ | |
423f194a RD |
311 | return _calendar.CalendarCtrl_SetHighlightColours(*args, **kwargs) |
312 | ||
313 | def GetHighlightColourFg(*args, **kwargs): | |
98e665d3 RD |
314 | """ |
315 | GetHighlightColourFg() -> Colour | |
316 | ||
317 | highlight colour is used for the currently selected date | |
318 | """ | |
423f194a RD |
319 | return _calendar.CalendarCtrl_GetHighlightColourFg(*args, **kwargs) |
320 | ||
321 | def GetHighlightColourBg(*args, **kwargs): | |
98e665d3 RD |
322 | """ |
323 | GetHighlightColourBg() -> Colour | |
324 | ||
325 | highlight colour is used for the currently selected date | |
326 | """ | |
423f194a RD |
327 | return _calendar.CalendarCtrl_GetHighlightColourBg(*args, **kwargs) |
328 | ||
329 | def SetHolidayColours(*args, **kwargs): | |
98e665d3 RD |
330 | """ |
331 | SetHolidayColours(Colour colFg, Colour colBg) | |
332 | ||
333 | holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used) | |
334 | """ | |
423f194a RD |
335 | return _calendar.CalendarCtrl_SetHolidayColours(*args, **kwargs) |
336 | ||
337 | def GetHolidayColourFg(*args, **kwargs): | |
98e665d3 RD |
338 | """ |
339 | GetHolidayColourFg() -> Colour | |
340 | ||
341 | holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used) | |
342 | """ | |
423f194a RD |
343 | return _calendar.CalendarCtrl_GetHolidayColourFg(*args, **kwargs) |
344 | ||
345 | def GetHolidayColourBg(*args, **kwargs): | |
98e665d3 RD |
346 | """ |
347 | GetHolidayColourBg() -> Colour | |
348 | ||
349 | holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used) | |
350 | """ | |
423f194a RD |
351 | return _calendar.CalendarCtrl_GetHolidayColourBg(*args, **kwargs) |
352 | ||
353 | def GetAttr(*args, **kwargs): | |
98e665d3 RD |
354 | """ |
355 | GetAttr(size_t day) -> CalendarDateAttr | |
356 | ||
357 | Returns the attribute for the given date (should be in the range 1...31). | |
358 | The returned value may be None | |
359 | """ | |
423f194a RD |
360 | return _calendar.CalendarCtrl_GetAttr(*args, **kwargs) |
361 | ||
362 | def SetAttr(*args, **kwargs): | |
98e665d3 RD |
363 | """ |
364 | SetAttr(size_t day, CalendarDateAttr attr) | |
365 | ||
366 | Associates the attribute with the specified date (in the range 1...31). | |
367 | If the attribute passed is None, the items attribute is cleared. | |
368 | """ | |
423f194a RD |
369 | return _calendar.CalendarCtrl_SetAttr(*args, **kwargs) |
370 | ||
371 | def SetHoliday(*args, **kwargs): | |
98e665d3 RD |
372 | """ |
373 | SetHoliday(size_t day) | |
374 | ||
375 | Marks the specified day as being a holiday in the current month. | |
376 | """ | |
423f194a RD |
377 | return _calendar.CalendarCtrl_SetHoliday(*args, **kwargs) |
378 | ||
379 | def ResetAttr(*args, **kwargs): | |
98e665d3 RD |
380 | """ |
381 | ResetAttr(size_t day) | |
382 | ||
383 | Clears any attributes associated with the given day (in the range 1...31). | |
384 | """ | |
423f194a RD |
385 | return _calendar.CalendarCtrl_ResetAttr(*args, **kwargs) |
386 | ||
387 | def HitTest(*args, **kwargs): | |
98e665d3 RD |
388 | """ |
389 | HitTest(Point pos) -> (result, date, weekday) | |
390 | ||
391 | Returns 3-tuple with information about the given position on the calendar | |
392 | control. The first value of the tuple is a result code and determines the | |
393 | validity of the remaining two values. The result codes are: | |
423f194a | 394 | |
98e665d3 RD |
395 | CAL_HITTEST_NOWHERE: hit outside of anything |
396 | CAL_HITTEST_HEADER: hit on the header, weekday is valid | |
397 | CAL_HITTEST_DAY: hit on a day in the calendar, date is set. | |
423f194a | 398 | |
98e665d3 RD |
399 | """ |
400 | return _calendar.CalendarCtrl_HitTest(*args, **kwargs) | |
423f194a | 401 | |
9fd4be55 | 402 | def GetMonthControl(*args, **kwargs): |
98e665d3 RD |
403 | """ |
404 | GetMonthControl() -> Control | |
405 | ||
406 | get the currently shown control for month | |
407 | """ | |
9fd4be55 RD |
408 | return _calendar.CalendarCtrl_GetMonthControl(*args, **kwargs) |
409 | ||
410 | def GetYearControl(*args, **kwargs): | |
98e665d3 RD |
411 | """ |
412 | GetYearControl() -> Control | |
413 | ||
414 | get the currently shown control for year | |
415 | """ | |
9fd4be55 RD |
416 | return _calendar.CalendarCtrl_GetYearControl(*args, **kwargs) |
417 | ||
f6bcfd97 | 418 | |
d14a1e28 RD |
419 | class CalendarCtrlPtr(CalendarCtrl): |
420 | def __init__(self, this): | |
421 | self.this = this | |
422 | if not hasattr(self,"thisown"): self.thisown = 0 | |
423 | self.__class__ = CalendarCtrl | |
424 | _calendar.CalendarCtrl_swigregister(CalendarCtrlPtr) | |
d03fd34d RD |
425 | cvar = _calendar.cvar |
426 | CalendarNameStr = cvar.CalendarNameStr | |
f6bcfd97 | 427 | |
d14a1e28 | 428 | def PreCalendarCtrl(*args, **kwargs): |
98e665d3 RD |
429 | """ |
430 | PreCalendarCtrl() -> CalendarCtrl | |
431 | ||
432 | Precreate a CalendarCtrl for 2-phase creation. | |
433 | """ | |
d14a1e28 | 434 | val = _calendar.new_PreCalendarCtrl(*args, **kwargs) |
09f3d4e6 RD |
435 | val.thisown = 1 |
436 | return val | |
437 | ||
f6bcfd97 | 438 |