]>
Commit | Line | Data |
---|---|---|
1e4a197e RD |
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 | from Base import Object | |
16 | import Parameters as wx | |
17 | from Window import Window | |
18 | ||
19 | try: | |
20 | True | |
21 | except NameError: | |
22 | True = 1==1 | |
23 | False = 1==0 | |
24 | ||
25 | ||
26 | class Control(Window): | |
27 | """Base class for a control or 'widget'. | |
28 | ||
29 | A control is generally a small window which processes user input | |
30 | and/or displays one or more item of data.""" | |
31 | ||
32 | def __init__(self, parent, id, pos=wx.DefaultPosition, | |
33 | size=wx.DefaultSize, style=0, | |
34 | validator=wx.DefaultValidator, name='control'): | |
35 | """Create a Control instance.""" | |
36 | pass | |
37 | ||
38 | def Command(self, event): | |
39 | """Simulates the effect of the user issuing a command to the | |
40 | item. See CommandEvent.""" | |
41 | pass | |
42 | ||
43 | def Create(self, parent, id, pos=wx.DefaultPosition, | |
44 | size=wx.DefaultSize, style=0, | |
45 | validator=wx.DefaultValidator, name='control'): | |
46 | """Create a Control instance.""" | |
47 | pass | |
48 | ||
49 | def GetLabel(self): | |
50 | """Return the string label for the control.""" | |
51 | pass | |
52 | ||
53 | def SetLabel(self, label): | |
54 | """Set the string label for the control.""" | |
55 | pass | |
56 | ||
57 | ||
58 | class PyControl(Control): | |
59 | """""" | |
60 | ||
61 | def __init__(self): | |
62 | """""" | |
63 | pass | |
64 | ||
65 | def _setCallbackInfo(self): | |
66 | """""" | |
67 | pass | |
68 | ||
69 | def base_AcceptsFocus(self): | |
70 | """""" | |
71 | pass | |
72 | ||
73 | def base_AcceptsFocusFromKeyboard(self): | |
74 | """""" | |
75 | pass | |
76 | ||
77 | def base_AddChild(self): | |
78 | """""" | |
79 | pass | |
80 | ||
81 | def base_DoGetBestSize(self): | |
82 | """""" | |
83 | pass | |
84 | ||
85 | def base_DoGetClientSize(self): | |
86 | """""" | |
87 | pass | |
88 | ||
89 | def base_DoGetPosition(self): | |
90 | """""" | |
91 | pass | |
92 | ||
93 | def base_DoGetSize(self): | |
94 | """""" | |
95 | pass | |
96 | ||
97 | def base_DoGetVirtualSize(self): | |
98 | """""" | |
99 | pass | |
100 | ||
101 | def base_DoMoveWindow(self): | |
102 | """""" | |
103 | pass | |
104 | ||
105 | def base_DoSetClientSize(self): | |
106 | """""" | |
107 | pass | |
108 | ||
109 | def base_DoSetSize(self): | |
110 | """""" | |
111 | pass | |
112 | ||
113 | def base_DoSetVirtualSize(self): | |
114 | """""" | |
115 | pass | |
116 | ||
117 | def base_GetMaxSize(self): | |
118 | """""" | |
119 | pass | |
120 | ||
121 | def base_InitDialog(self): | |
122 | """""" | |
123 | pass | |
124 | ||
125 | def base_RemoveChild(self): | |
126 | """""" | |
127 | pass | |
128 | ||
129 | def base_TransferDataFromWindow(self): | |
130 | """""" | |
131 | pass | |
132 | ||
133 | def base_TransferDataToWindow(self): | |
134 | """""" | |
135 | pass | |
136 | ||
137 | def base_Validate(self): | |
138 | """""" | |
139 | pass | |
140 | ||
141 | ||
142 | class ControlWithItems(Control): | |
143 | """""" | |
144 | ||
145 | def Append(self): | |
146 | """""" | |
147 | pass | |
148 | ||
149 | def AppendItems(self): | |
150 | """""" | |
151 | pass | |
152 | ||
153 | def Delete(self): | |
154 | """""" | |
155 | pass | |
156 | ||
157 | def FindString(self): | |
158 | """""" | |
159 | pass | |
160 | ||
161 | def GetClientData(self): | |
162 | """""" | |
163 | pass | |
164 | ||
165 | def GetCount(self): | |
166 | """""" | |
167 | pass | |
168 | ||
169 | def GetSelection(self): | |
170 | """""" | |
171 | pass | |
172 | ||
173 | def GetString(self): | |
174 | """""" | |
175 | pass | |
176 | ||
177 | def GetStringSelection(self): | |
178 | """""" | |
179 | pass | |
180 | ||
181 | def Number(self): | |
182 | """""" | |
183 | pass | |
184 | ||
185 | def Select(self): | |
186 | """""" | |
187 | pass | |
188 | ||
189 | def SetClientData(self): | |
190 | """""" | |
191 | pass | |
192 | ||
193 | def SetString(self): | |
194 | """""" | |
195 | pass | |
196 | ||
197 | def __init__(self): | |
198 | """""" | |
199 | pass | |
200 | ||
201 | ||
202 | class Button(Control): | |
203 | """A button is a control that contains a text string, and is one | |
204 | of the most common elements of a GUI. It may be placed on a | |
205 | dialog box or panel, or indeed almost any other window. | |
206 | ||
207 | Styles | |
208 | ------ | |
209 | ||
210 | BU_LEFT: Left-justifies the label. WIN32 only. | |
211 | ||
212 | BU_TOP: Aligns the label to the top of the button. WIN32 only. | |
213 | ||
214 | BU_RIGHT: Right-justifies the bitmap label. WIN32 only. | |
215 | ||
216 | BU_BOTTOM: Aligns the label to the bottom of the button. WIN32 | |
217 | only. | |
218 | ||
219 | BU_EXACTFIT: Creates the button as small as possible instead of | |
220 | making it of the standard size (which is the default behaviour.) | |
221 | ||
222 | Events | |
223 | ------ | |
224 | ||
225 | EVT_BUTTON(win,id,func): Sent when the button is clicked.""" | |
226 | ||
227 | def __init__(self, parent, id, label, pos=wx.DefaultPosition, | |
228 | size=wx.DefaultSize, style=0, | |
229 | validator=wx.DefaultValidator, name='button'): | |
230 | """Create and show a button. | |
231 | ||
232 | parent: Parent window. Must not be None. | |
233 | id: Button identifier. A value of -1 indicates a default value. | |
234 | label: The text to be displayed on the button. | |
235 | pos: The button position on it's parent. | |
236 | size: Button size. If the default size (-1, -1) is specified | |
237 | then the button is sized appropriately for the text. | |
238 | style: Window style. See Button. | |
239 | validator: Window validator. | |
240 | name: Window name.""" | |
241 | pass | |
242 | ||
243 | def Create(self, parent, id, label, pos=wx.DefaultPosition, | |
244 | size=wx.DefaultSize, style=0, | |
245 | validator=wx.DefaultValidator, name='button'): | |
246 | """Create and show a button.""" | |
247 | pass | |
248 | ||
249 | def SetBackgroundColour(self): | |
250 | """""" | |
251 | pass | |
252 | ||
253 | def SetDefault(self): | |
254 | """Set the button to be the default item for the panel or | |
255 | dialog box. | |
256 | ||
257 | Under Windows, only dialog box buttons respond to this | |
258 | function. As normal under Windows and Motif, pressing return | |
259 | causes the default button to be depressed when the return key | |
260 | is pressed. See also Window.SetFocus which sets the keyboard | |
261 | focus for windows and text panel items, and | |
262 | Panel.SetDefaultItem.""" | |
263 | pass | |
264 | ||
265 | def SetForegroundColour(self): | |
266 | """""" | |
267 | pass | |
268 | ||
269 | ||
270 | class BitmapButton(Button): | |
271 | """""" | |
272 | ||
273 | def Create(self): | |
274 | """""" | |
275 | pass | |
276 | ||
277 | def GetBitmapDisabled(self): | |
278 | """""" | |
279 | pass | |
280 | ||
281 | def GetBitmapFocus(self): | |
282 | """""" | |
283 | pass | |
284 | ||
285 | def GetBitmapLabel(self): | |
286 | """""" | |
287 | pass | |
288 | ||
289 | def GetBitmapSelected(self): | |
290 | """""" | |
291 | pass | |
292 | ||
293 | def GetMarginX(self): | |
294 | """""" | |
295 | pass | |
296 | ||
297 | def GetMarginY(self): | |
298 | """""" | |
299 | pass | |
300 | ||
301 | def SetBitmapDisabled(self): | |
302 | """""" | |
303 | pass | |
304 | ||
305 | def SetBitmapFocus(self): | |
306 | """""" | |
307 | pass | |
308 | ||
309 | def SetBitmapLabel(self): | |
310 | """""" | |
311 | pass | |
312 | ||
313 | def SetBitmapSelected(self): | |
314 | """""" | |
315 | pass | |
316 | ||
317 | def SetMargins(self): | |
318 | """""" | |
319 | pass | |
320 | ||
321 | def __init__(self): | |
322 | """""" | |
323 | pass | |
324 | ||
325 | ||
326 | class CheckBox(Control): | |
327 | """""" | |
328 | ||
329 | def __init__(self): | |
330 | """""" | |
331 | pass | |
332 | ||
333 | def Create(self): | |
334 | """""" | |
335 | pass | |
336 | ||
337 | def GetValue(self): | |
338 | """""" | |
339 | pass | |
340 | ||
341 | def IsChecked(self): | |
342 | """""" | |
343 | pass | |
344 | ||
345 | def SetValue(self): | |
346 | """""" | |
347 | pass | |
348 | ||
349 | ||
350 | class Choice(ControlWithItems): | |
351 | """""" | |
352 | ||
353 | def __init__(self): | |
354 | """""" | |
355 | pass | |
356 | ||
357 | def Clear(self): | |
358 | """""" | |
359 | pass | |
360 | ||
361 | def Create(self): | |
362 | """""" | |
363 | pass | |
364 | ||
365 | def GetColumns(self): | |
366 | """""" | |
367 | pass | |
368 | ||
369 | def Select(self): | |
370 | """""" | |
371 | pass | |
372 | ||
373 | def SetColumns(self): | |
374 | """""" | |
375 | pass | |
376 | ||
377 | def SetSelection(self): | |
378 | """""" | |
379 | pass | |
380 | ||
381 | def SetString(self): | |
382 | """""" | |
383 | pass | |
384 | ||
385 | def SetStringSelection(self): | |
386 | """""" | |
387 | pass | |
388 | ||
389 | ||
390 | class Gauge(Control): | |
391 | """""" | |
392 | ||
393 | def Create(self): | |
394 | """""" | |
395 | pass | |
396 | ||
397 | def GetBezelFace(self): | |
398 | """""" | |
399 | pass | |
400 | ||
401 | def GetRange(self): | |
402 | """""" | |
403 | pass | |
404 | ||
405 | def GetShadowWidth(self): | |
406 | """""" | |
407 | pass | |
408 | ||
409 | def GetValue(self): | |
410 | """""" | |
411 | pass | |
412 | ||
413 | def SetBezelFace(self): | |
414 | """""" | |
415 | pass | |
416 | ||
417 | def SetRange(self): | |
418 | """""" | |
419 | pass | |
420 | ||
421 | def SetShadowWidth(self): | |
422 | """""" | |
423 | pass | |
424 | ||
425 | def SetValue(self): | |
426 | """""" | |
427 | pass | |
428 | ||
429 | def __init__(self): | |
430 | """""" | |
431 | pass | |
432 | ||
433 | ||
434 | class GenericDirCtrl(Control): | |
435 | """""" | |
436 | ||
437 | def Create(self): | |
438 | """""" | |
439 | pass | |
440 | ||
441 | def ExpandPath(self): | |
442 | """""" | |
443 | pass | |
444 | ||
445 | def GetDefaultPath(self): | |
446 | """""" | |
447 | pass | |
448 | ||
449 | def GetFilePath(self): | |
450 | """""" | |
451 | pass | |
452 | ||
453 | def GetFilter(self): | |
454 | """""" | |
455 | pass | |
456 | ||
457 | def GetFilterIndex(self): | |
458 | """""" | |
459 | pass | |
460 | ||
461 | def GetFilterListCtrl(self): | |
462 | """""" | |
463 | pass | |
464 | ||
465 | def GetPath(self): | |
466 | """""" | |
467 | pass | |
468 | ||
469 | def GetRootId(self): | |
470 | """""" | |
471 | pass | |
472 | ||
473 | def GetShowHidden(self): | |
474 | """""" | |
475 | pass | |
476 | ||
477 | def GetTreeCtrl(self): | |
478 | """""" | |
479 | pass | |
480 | ||
481 | def SetDefaultPath(self): | |
482 | """""" | |
483 | pass | |
484 | ||
485 | def SetFilter(self): | |
486 | """""" | |
487 | pass | |
488 | ||
489 | def SetFilterIndex(self): | |
490 | """""" | |
491 | pass | |
492 | ||
493 | def SetPath(self): | |
494 | """""" | |
495 | pass | |
496 | ||
497 | def ShowHidden(self): | |
498 | """""" | |
499 | pass | |
500 | ||
501 | def __init__(self): | |
502 | """""" | |
503 | pass | |
504 | ||
505 | ||
1fded56b RD |
506 | class DirFilterListCtrl(Choice): |
507 | """""" | |
508 | ||
509 | def __init__(self, parent, id=-1, pos=wx.DefaultPosition, | |
510 | size=wx.DefaultSize, style=0): | |
511 | """""" | |
512 | pass | |
513 | ||
514 | def FillFilterList(filter, defaultFilter): | |
515 | """""" | |
516 | pass | |
517 | ||
518 | ||
1e4a197e RD |
519 | class ListBox(ControlWithItems): |
520 | """""" | |
521 | ||
522 | def Clear(self): | |
523 | """""" | |
524 | pass | |
525 | ||
526 | def Create(self): | |
527 | """""" | |
528 | pass | |
529 | ||
530 | def Deselect(self): | |
531 | """""" | |
532 | pass | |
533 | ||
534 | def GetSelections(self): | |
535 | """""" | |
536 | pass | |
537 | ||
538 | def InsertItems(self): | |
539 | """""" | |
540 | pass | |
541 | ||
542 | def IsSelected(self): | |
543 | """""" | |
544 | pass | |
545 | ||
546 | def Selected(self): | |
547 | """""" | |
548 | pass | |
549 | ||
550 | def Set(self): | |
551 | """""" | |
552 | pass | |
553 | ||
554 | def SetFirstItem(self): | |
555 | """""" | |
556 | pass | |
557 | ||
558 | def SetFirstItemStr(self): | |
559 | """""" | |
560 | pass | |
561 | ||
562 | def SetSelection(self): | |
563 | """""" | |
564 | pass | |
565 | ||
566 | def SetString(self): | |
567 | """""" | |
568 | pass | |
569 | ||
570 | def SetStringSelection(self): | |
571 | """""" | |
572 | pass | |
573 | ||
574 | def __init__(self): | |
575 | """""" | |
576 | pass | |
577 | ||
578 | ||
579 | class CheckListBox(ListBox): | |
580 | """""" | |
581 | ||
582 | def __init__(self): | |
583 | """""" | |
584 | pass | |
585 | ||
586 | def Check(self): | |
587 | """""" | |
588 | pass | |
589 | ||
590 | def Create(self): | |
591 | """""" | |
592 | pass | |
593 | ||
594 | def GetItemHeight(self): | |
595 | """""" | |
596 | pass | |
597 | ||
598 | def HitTest(self): | |
599 | """""" | |
600 | pass | |
601 | ||
602 | def HitTestXY(self): | |
603 | """""" | |
604 | pass | |
605 | ||
606 | def InsertItems(self): | |
607 | """""" | |
608 | pass | |
609 | ||
610 | def IsChecked(self): | |
611 | """""" | |
612 | pass | |
613 | ||
614 | ||
615 | class ListCtrl(Control): | |
616 | """""" | |
617 | ||
618 | def Append(self): | |
619 | """""" | |
620 | pass | |
621 | ||
622 | def Arrange(self): | |
623 | """""" | |
624 | pass | |
625 | ||
626 | def AssignImageList(self): | |
627 | """""" | |
628 | pass | |
629 | ||
630 | def ClearAll(self): | |
631 | """""" | |
632 | pass | |
633 | ||
634 | def ClearColumnImage(self): | |
635 | """""" | |
636 | pass | |
637 | ||
638 | def Create(self): | |
639 | """""" | |
640 | pass | |
641 | ||
642 | def DeleteAllColumns(self): | |
643 | """""" | |
644 | pass | |
645 | ||
646 | def DeleteAllItems(self): | |
647 | """""" | |
648 | pass | |
649 | ||
650 | def DeleteColumn(self): | |
651 | """""" | |
652 | pass | |
653 | ||
654 | def DeleteItem(self): | |
655 | """""" | |
656 | pass | |
657 | ||
658 | def EnsureVisible(self): | |
659 | """""" | |
660 | pass | |
661 | ||
662 | def FindItem(self): | |
663 | """""" | |
664 | pass | |
665 | ||
666 | def FindItemAtPos(self): | |
667 | """""" | |
668 | pass | |
669 | ||
670 | def FindItemData(self): | |
671 | """""" | |
672 | pass | |
673 | ||
674 | def Focus(self): | |
675 | """""" | |
676 | pass | |
677 | ||
678 | def GetColumn(self): | |
679 | """""" | |
680 | pass | |
681 | ||
682 | def GetColumnCount(self): | |
683 | """""" | |
684 | pass | |
685 | ||
686 | def GetColumnWidth(self): | |
687 | """""" | |
688 | pass | |
689 | ||
690 | def GetCountPerPage(self): | |
691 | """""" | |
692 | pass | |
693 | ||
694 | def GetFirstSelected(self): | |
695 | """""" | |
696 | pass | |
697 | ||
698 | def GetFocusedItem(self): | |
699 | """""" | |
700 | pass | |
701 | ||
702 | def GetImageList(self): | |
703 | """""" | |
704 | pass | |
705 | ||
706 | def GetItem(self): | |
707 | """""" | |
708 | pass | |
709 | ||
710 | def GetItemBackgroundColour(self): | |
711 | """""" | |
712 | pass | |
713 | ||
714 | def GetItemCount(self): | |
715 | """""" | |
716 | pass | |
717 | ||
718 | def GetItemData(self): | |
719 | """""" | |
720 | pass | |
721 | ||
722 | def GetItemPosition(self): | |
723 | """""" | |
724 | pass | |
725 | ||
726 | def GetItemRect(self): | |
727 | """""" | |
728 | pass | |
729 | ||
730 | def GetItemSpacing(self): | |
731 | """""" | |
732 | pass | |
733 | ||
734 | def GetItemState(self): | |
735 | """""" | |
736 | pass | |
737 | ||
738 | def GetItemText(self): | |
739 | """""" | |
740 | pass | |
741 | ||
742 | def GetItemTextColour(self): | |
743 | """""" | |
744 | pass | |
745 | ||
746 | def GetMainWindow(self): | |
747 | """""" | |
748 | pass | |
749 | ||
750 | def GetNextItem(self): | |
751 | """""" | |
752 | pass | |
753 | ||
754 | def GetNextSelected(self): | |
755 | """""" | |
756 | pass | |
757 | ||
758 | def GetSelectedItemCount(self): | |
759 | """""" | |
760 | pass | |
761 | ||
762 | def GetTextColour(self): | |
763 | """""" | |
764 | pass | |
765 | ||
766 | def GetTopItem(self): | |
767 | """""" | |
768 | pass | |
769 | ||
770 | def HitTest(self): | |
771 | """""" | |
772 | pass | |
773 | ||
774 | def InsertColumn(self): | |
775 | """""" | |
776 | pass | |
777 | ||
778 | def InsertColumnInfo(self): | |
779 | """""" | |
780 | pass | |
781 | ||
782 | def InsertImageItem(self): | |
783 | """""" | |
784 | pass | |
785 | ||
786 | def InsertImageStringItem(self): | |
787 | """""" | |
788 | pass | |
789 | ||
790 | def InsertItem(self): | |
791 | """""" | |
792 | pass | |
793 | ||
794 | def InsertStringItem(self): | |
795 | """""" | |
796 | pass | |
797 | ||
798 | def IsSelected(self): | |
799 | """""" | |
800 | pass | |
801 | ||
802 | def IsVirtual(self): | |
803 | """""" | |
804 | pass | |
805 | ||
806 | def RefreshItem(self): | |
807 | """""" | |
808 | pass | |
809 | ||
810 | def RefreshItems(self): | |
811 | """""" | |
812 | pass | |
813 | ||
814 | def ScrollList(self): | |
815 | """""" | |
816 | pass | |
817 | ||
818 | def Select(self): | |
819 | """""" | |
820 | pass | |
821 | ||
822 | def SetBackgroundColour(self): | |
823 | """""" | |
824 | pass | |
825 | ||
826 | def SetColumn(self): | |
827 | """""" | |
828 | pass | |
829 | ||
830 | def SetColumnImage(self): | |
831 | """""" | |
832 | pass | |
833 | ||
834 | def SetColumnWidth(self): | |
835 | """""" | |
836 | pass | |
837 | ||
838 | def SetForegroundColour(self): | |
839 | """""" | |
840 | pass | |
841 | ||
842 | def SetImageList(self): | |
843 | """""" | |
844 | pass | |
845 | ||
846 | def SetItem(self): | |
847 | """""" | |
848 | pass | |
849 | ||
850 | def SetItemBackgroundColour(self): | |
851 | """""" | |
852 | pass | |
853 | ||
854 | def SetItemCount(self): | |
855 | """""" | |
856 | pass | |
857 | ||
858 | def SetItemData(self): | |
859 | """""" | |
860 | pass | |
861 | ||
862 | def SetItemImage(self): | |
863 | """""" | |
864 | pass | |
865 | ||
866 | def SetItemPosition(self): | |
867 | """""" | |
868 | pass | |
869 | ||
870 | def SetItemState(self): | |
871 | """""" | |
872 | pass | |
873 | ||
874 | def SetItemText(self): | |
875 | """""" | |
876 | pass | |
877 | ||
878 | def SetItemTextColour(self): | |
879 | """""" | |
880 | pass | |
881 | ||
882 | def SetSingleStyle(self): | |
883 | """""" | |
884 | pass | |
885 | ||
886 | def SetStringItem(self): | |
887 | """""" | |
888 | pass | |
889 | ||
890 | def SetTextColour(self): | |
891 | """""" | |
892 | pass | |
893 | ||
894 | def SetWindowStyleFlag(self): | |
895 | """""" | |
896 | pass | |
897 | ||
898 | def SortItems(self): | |
899 | """""" | |
900 | pass | |
901 | ||
902 | def __init__(self): | |
903 | """""" | |
904 | pass | |
905 | ||
906 | def _setCallbackInfo(self): | |
907 | """""" | |
908 | pass | |
909 | ||
910 | ||
911 | class ListItem(Object): | |
912 | """""" | |
913 | ||
914 | def Clear(self): | |
915 | """""" | |
916 | pass | |
917 | ||
918 | def ClearAttributes(self): | |
919 | """""" | |
920 | pass | |
921 | ||
922 | def GetAlign(self): | |
923 | """""" | |
924 | pass | |
925 | ||
926 | def GetAttributes(self): | |
927 | """""" | |
928 | pass | |
929 | ||
930 | def GetBackgroundColour(self): | |
931 | """""" | |
932 | pass | |
933 | ||
934 | def GetColumn(self): | |
935 | """""" | |
936 | pass | |
937 | ||
938 | def GetData(self): | |
939 | """""" | |
940 | pass | |
941 | ||
942 | def GetFont(self): | |
943 | """""" | |
944 | pass | |
945 | ||
946 | def GetId(self): | |
947 | """""" | |
948 | pass | |
949 | ||
950 | def GetImage(self): | |
951 | """""" | |
952 | pass | |
953 | ||
954 | def GetMask(self): | |
955 | """""" | |
956 | pass | |
957 | ||
958 | def GetState(self): | |
959 | """""" | |
960 | pass | |
961 | ||
962 | def GetText(self): | |
963 | """""" | |
964 | pass | |
965 | ||
966 | def GetTextColour(self): | |
967 | """""" | |
968 | pass | |
969 | ||
970 | def GetWidth(self): | |
971 | """""" | |
972 | pass | |
973 | ||
974 | def HasAttributes(self): | |
975 | """""" | |
976 | pass | |
977 | ||
978 | def SetAlign(self): | |
979 | """""" | |
980 | pass | |
981 | ||
982 | def SetBackgroundColour(self): | |
983 | """""" | |
984 | pass | |
985 | ||
986 | def SetColumn(self): | |
987 | """""" | |
988 | pass | |
989 | ||
990 | def SetData(self): | |
991 | """""" | |
992 | pass | |
993 | ||
994 | def SetFont(self): | |
995 | """""" | |
996 | pass | |
997 | ||
998 | def SetId(self): | |
999 | """""" | |
1000 | pass | |
1001 | ||
1002 | def SetImage(self): | |
1003 | """""" | |
1004 | pass | |
1005 | ||
1006 | def SetMask(self): | |
1007 | """""" | |
1008 | pass | |
1009 | ||
1010 | def SetState(self): | |
1011 | """""" | |
1012 | pass | |
1013 | ||
1014 | def SetStateMask(self): | |
1015 | """""" | |
1016 | pass | |
1017 | ||
1018 | def SetText(self): | |
1019 | """""" | |
1020 | pass | |
1021 | ||
1022 | def SetTextColour(self): | |
1023 | """""" | |
1024 | pass | |
1025 | ||
1026 | def SetWidth(self): | |
1027 | """""" | |
1028 | pass | |
1029 | ||
1030 | def __del__(self): | |
1031 | """""" | |
1032 | pass | |
1033 | ||
1034 | def __getattr__(self): | |
1035 | """""" | |
1036 | pass | |
1037 | ||
1038 | def __init__(self): | |
1039 | """""" | |
1040 | pass | |
1041 | ||
1042 | def __setattr__(self): | |
1043 | """""" | |
1044 | pass | |
1045 | ||
1046 | ||
1047 | class ListItemAttr: | |
1048 | """""" | |
1049 | ||
1050 | def GetBackgroundColour(self): | |
1051 | """""" | |
1052 | pass | |
1053 | ||
1054 | def GetFont(self): | |
1055 | """""" | |
1056 | pass | |
1057 | ||
1058 | def GetTextColour(self): | |
1059 | """""" | |
1060 | pass | |
1061 | ||
1062 | def HasBackgroundColour(self): | |
1063 | """""" | |
1064 | pass | |
1065 | ||
1066 | def HasFont(self): | |
1067 | """""" | |
1068 | pass | |
1069 | ||
1070 | def HasTextColour(self): | |
1071 | """""" | |
1072 | pass | |
1073 | ||
1074 | def SetBackgroundColour(self): | |
1075 | """""" | |
1076 | pass | |
1077 | ||
1078 | def SetFont(self): | |
1079 | """""" | |
1080 | pass | |
1081 | ||
1082 | def SetTextColour(self): | |
1083 | """""" | |
1084 | pass | |
1085 | ||
1086 | def __init__(self): | |
1087 | """""" | |
1088 | pass | |
1089 | ||
1090 | ||
1091 | class ListView(ListCtrl): | |
1092 | """""" | |
1093 | ||
1094 | def ClearColumnImage(self): | |
1095 | """""" | |
1096 | pass | |
1097 | ||
1098 | def Create(self): | |
1099 | """""" | |
1100 | pass | |
1101 | ||
1102 | def Focus(self): | |
1103 | """""" | |
1104 | pass | |
1105 | ||
1106 | def GetFirstSelected(self): | |
1107 | """""" | |
1108 | pass | |
1109 | ||
1110 | def GetFocusedItem(self): | |
1111 | """""" | |
1112 | pass | |
1113 | ||
1114 | def GetNextSelected(self): | |
1115 | """""" | |
1116 | pass | |
1117 | ||
1118 | def IsSelected(self): | |
1119 | """""" | |
1120 | pass | |
1121 | ||
1122 | def Select(self): | |
1123 | """""" | |
1124 | pass | |
1125 | ||
1126 | def SetColumnImage(self): | |
1127 | """""" | |
1128 | pass | |
1129 | ||
1130 | def __init__(self): | |
1131 | """""" | |
1132 | pass | |
1133 | ||
1134 | ||
1135 | class Notebook(Control): | |
1136 | ||
1137 | def __init__(self, parent, id, pos=wx.DefaultPosition, | |
1138 | size=wx.DefaultSize, style=0, name=wx.PyNOTEBOOK_NAME): | |
1139 | """""" | |
1140 | pass | |
1141 | ||
1fded56b | 1142 | def AddPage(self, page, text, select=False, imageId=-1): |
1e4a197e RD |
1143 | """""" |
1144 | pass | |
1145 | ||
1fded56b | 1146 | def AdvanceSelection(self, forward=True): |
1e4a197e RD |
1147 | """""" |
1148 | pass | |
1149 | ||
1150 | def AssignImageList(self, imageList) : | |
1151 | """""" | |
1152 | pass | |
1153 | ||
1154 | def Create(self, parent, id, pos=wx.DefaultPosition, | |
1155 | size=wx.DefaultSize, style=0, name=wx.PyNOTEBOOK_NAME): | |
1156 | """""" | |
1157 | pass | |
1158 | ||
1159 | def DeleteAllPages(self): | |
1160 | """""" | |
1161 | pass | |
1162 | ||
1fded56b | 1163 | def DeletePage(self, page): |
1e4a197e RD |
1164 | """""" |
1165 | pass | |
1166 | ||
1167 | def GetImageList(self): | |
1168 | """""" | |
1169 | pass | |
1170 | ||
1fded56b | 1171 | def GetPage(self, page): |
1e4a197e RD |
1172 | """""" |
1173 | pass | |
1174 | ||
1175 | def GetPageCount(self): | |
1176 | """""" | |
1177 | pass | |
1178 | ||
1fded56b | 1179 | def GetPageImage(self, page): |
1e4a197e RD |
1180 | """""" |
1181 | pass | |
1182 | ||
1fded56b | 1183 | def GetPageText(self, page): |
1e4a197e RD |
1184 | """""" |
1185 | pass | |
1186 | ||
1187 | def GetRowCount(self): | |
1188 | """""" | |
1189 | pass | |
1190 | ||
1191 | def GetSelection(self): | |
1192 | """""" | |
1193 | pass | |
1194 | ||
1fded56b | 1195 | def InsertPage(self, index, page, text, select=False, imageId=-1): |
1e4a197e RD |
1196 | """""" |
1197 | pass | |
1198 | ||
1fded56b | 1199 | def RemovePage(self, page): |
1e4a197e RD |
1200 | """""" |
1201 | pass | |
1202 | ||
1203 | def ResizeChildren(self): | |
1204 | """""" | |
1205 | pass | |
1206 | ||
1207 | def SetImageList(self, imageList): | |
1208 | """""" | |
1209 | pass | |
1210 | ||
1211 | def SetPadding(self, padding): | |
1212 | """""" | |
1213 | pass | |
1214 | ||
1fded56b | 1215 | def SetPageImage(self, page, image): |
1e4a197e RD |
1216 | """""" |
1217 | pass | |
1218 | ||
1219 | def SetPageSize(self, size): | |
1220 | """""" | |
1221 | pass | |
1222 | ||
1fded56b | 1223 | def SetPageText(self, page, text): |
1e4a197e RD |
1224 | """""" |
1225 | pass | |
1226 | ||
1fded56b | 1227 | def SetSelection(self, page): |
1e4a197e RD |
1228 | """""" |
1229 | pass | |
1230 | ||
1231 | ||
1232 | class RadioBox(Control): | |
1233 | """""" | |
1234 | ||
1235 | def Create(self): | |
1236 | """""" | |
1237 | pass | |
1238 | ||
1239 | def Enable(self): | |
1240 | """""" | |
1241 | pass | |
1242 | ||
1243 | def EnableItem(self): | |
1244 | """""" | |
1245 | pass | |
1246 | ||
1247 | def FindString(self): | |
1248 | """""" | |
1249 | pass | |
1250 | ||
1251 | def GetCount(self): | |
1252 | """""" | |
1253 | pass | |
1254 | ||
1255 | def GetItemLabel(self): | |
1256 | """""" | |
1257 | pass | |
1258 | ||
1259 | def GetSelection(self): | |
1260 | """""" | |
1261 | pass | |
1262 | ||
1263 | def GetString(self): | |
1264 | """""" | |
1265 | pass | |
1266 | ||
1267 | def GetStringSelection(self): | |
1268 | """""" | |
1269 | pass | |
1270 | ||
1271 | def Number(self): | |
1272 | """""" | |
1273 | pass | |
1274 | ||
1275 | def SetItemLabel(self): | |
1276 | """""" | |
1277 | pass | |
1278 | ||
1279 | def SetSelection(self): | |
1280 | """""" | |
1281 | pass | |
1282 | ||
1283 | def SetStringSelection(self): | |
1284 | """""" | |
1285 | pass | |
1286 | ||
1287 | def Show(self): | |
1288 | """""" | |
1289 | pass | |
1290 | ||
1291 | def ShowItem(self): | |
1292 | """""" | |
1293 | pass | |
1294 | ||
1295 | def __init__(self): | |
1296 | """""" | |
1297 | pass | |
1298 | ||
1299 | ||
1300 | class RadioButton(Control): | |
1301 | """""" | |
1302 | ||
1303 | def Create(self): | |
1304 | """""" | |
1305 | pass | |
1306 | ||
1307 | def GetValue(self): | |
1308 | """""" | |
1309 | pass | |
1310 | ||
1311 | def SetValue(self): | |
1312 | """""" | |
1313 | pass | |
1314 | ||
1315 | def __init__(self): | |
1316 | """""" | |
1317 | pass | |
1318 | ||
1319 | ||
1320 | class ScrollBar(Control): | |
1321 | """""" | |
1322 | ||
1323 | def Create(self): | |
1324 | """""" | |
1325 | pass | |
1326 | ||
1327 | def GetPageSize(self): | |
1328 | """""" | |
1329 | pass | |
1330 | ||
1331 | def GetRange(self): | |
1332 | """""" | |
1333 | pass | |
1334 | ||
1335 | def GetThumbLength(self): | |
1336 | """""" | |
1337 | pass | |
1338 | ||
1339 | def GetThumbPosition(self): | |
1340 | """""" | |
1341 | pass | |
1342 | ||
1343 | def GetThumbSize(self): | |
1344 | """""" | |
1345 | pass | |
1346 | ||
1347 | def IsVertical(self): | |
1348 | """""" | |
1349 | pass | |
1350 | ||
1351 | def SetScrollbar(self): | |
1352 | """""" | |
1353 | pass | |
1354 | ||
1355 | def SetThumbPosition(self): | |
1356 | """""" | |
1357 | pass | |
1358 | ||
1359 | def __init__(self): | |
1360 | """""" | |
1361 | pass | |
1362 | ||
1363 | ||
1364 | class Slider(Control): | |
1365 | """""" | |
1366 | ||
1367 | def ClearSel(self): | |
1368 | """""" | |
1369 | pass | |
1370 | ||
1371 | def ClearTicks(self): | |
1372 | """""" | |
1373 | pass | |
1374 | ||
1375 | def Create(self): | |
1376 | """""" | |
1377 | pass | |
1378 | ||
1379 | def GetLineSize(self): | |
1380 | """""" | |
1381 | pass | |
1382 | ||
1383 | def GetMax(self): | |
1384 | """""" | |
1385 | pass | |
1386 | ||
1387 | def GetMin(self): | |
1388 | """""" | |
1389 | pass | |
1390 | ||
1391 | def GetPageSize(self): | |
1392 | """""" | |
1393 | pass | |
1394 | ||
1395 | def GetSelEnd(self): | |
1396 | """""" | |
1397 | pass | |
1398 | ||
1399 | def GetSelStart(self): | |
1400 | """""" | |
1401 | pass | |
1402 | ||
1403 | def GetThumbLength(self): | |
1404 | """""" | |
1405 | pass | |
1406 | ||
1407 | def GetTickFreq(self): | |
1408 | """""" | |
1409 | pass | |
1410 | ||
1411 | def GetValue(self): | |
1412 | """""" | |
1413 | pass | |
1414 | ||
1415 | def SetLineSize(self): | |
1416 | """""" | |
1417 | pass | |
1418 | ||
1419 | def SetPageSize(self): | |
1420 | """""" | |
1421 | pass | |
1422 | ||
1423 | def SetRange(self): | |
1424 | """""" | |
1425 | pass | |
1426 | ||
1427 | def SetSelection(self): | |
1428 | """""" | |
1429 | pass | |
1430 | ||
1431 | def SetThumbLength(self): | |
1432 | """""" | |
1433 | pass | |
1434 | ||
1435 | def SetTick(self): | |
1436 | """""" | |
1437 | pass | |
1438 | ||
1439 | def SetTickFreq(self): | |
1440 | """""" | |
1441 | pass | |
1442 | ||
1443 | def SetValue(self): | |
1444 | """""" | |
1445 | pass | |
1446 | ||
1447 | def __init__(self): | |
1448 | """""" | |
1449 | pass | |
1450 | ||
1451 | ||
1452 | class SpinButton(Control): | |
1453 | """""" | |
1454 | ||
1455 | def Create(self): | |
1456 | """""" | |
1457 | pass | |
1458 | ||
1459 | def GetMax(self): | |
1460 | """""" | |
1461 | pass | |
1462 | ||
1463 | def GetMin(self): | |
1464 | """""" | |
1465 | pass | |
1466 | ||
1467 | def GetValue(self): | |
1468 | """""" | |
1469 | pass | |
1470 | ||
1471 | def SetRange(self): | |
1472 | """""" | |
1473 | pass | |
1474 | ||
1475 | def SetValue(self): | |
1476 | """""" | |
1477 | pass | |
1478 | ||
1479 | def __init__(self): | |
1480 | """""" | |
1481 | pass | |
1482 | ||
1483 | ||
1484 | class SpinCtrl(SpinButton): | |
1485 | """""" | |
1486 | ||
1487 | def Create(self): | |
1488 | """""" | |
1489 | pass | |
1490 | ||
1491 | def GetMax(self): | |
1492 | """""" | |
1493 | pass | |
1494 | ||
1495 | def GetMin(self): | |
1496 | """""" | |
1497 | pass | |
1498 | ||
1499 | def GetValue(self): | |
1500 | """""" | |
1501 | pass | |
1502 | ||
1503 | def SetRange(self): | |
1504 | """""" | |
1505 | pass | |
1506 | ||
1507 | def SetValue(self): | |
1508 | """""" | |
1509 | pass | |
1510 | ||
1511 | def __init__(self): | |
1512 | """""" | |
1513 | pass | |
1514 | ||
1515 | ||
1516 | class StaticBitmap(Control): | |
1517 | """""" | |
1518 | ||
1519 | def Create(self): | |
1520 | """""" | |
1521 | pass | |
1522 | ||
1523 | def GetBitmap(self): | |
1524 | """""" | |
1525 | pass | |
1526 | ||
1527 | def SetBitmap(self): | |
1528 | """""" | |
1529 | pass | |
1530 | ||
1531 | def SetIcon(self): | |
1532 | """""" | |
1533 | pass | |
1534 | ||
1535 | def __init__(self): | |
1536 | """""" | |
1537 | pass | |
1538 | ||
1539 | ||
1540 | class StaticBox(Control): | |
1541 | """""" | |
1542 | ||
1543 | def Create(self): | |
1544 | """""" | |
1545 | pass | |
1546 | ||
1547 | def __init__(self): | |
1548 | """""" | |
1549 | pass | |
1550 | ||
1551 | ||
1552 | class StaticLine(Control): | |
1553 | """""" | |
1554 | ||
1555 | def Create(self): | |
1556 | """""" | |
1557 | pass | |
1558 | ||
1559 | def __init__(self): | |
1560 | """""" | |
1561 | pass | |
1562 | ||
1563 | ||
1564 | class StaticText(Control): | |
1565 | """""" | |
1566 | ||
1567 | def Create(self): | |
1568 | """""" | |
1569 | pass | |
1570 | ||
1571 | def GetLabel(self): | |
1572 | """""" | |
1573 | pass | |
1574 | ||
1575 | def SetLabel(self): | |
1576 | """""" | |
1577 | pass | |
1578 | ||
1579 | def __init__(self): | |
1580 | """""" | |
1581 | pass | |
1582 | ||
1583 | ||
1584 | class TextAttr: | |
1585 | """""" | |
1586 | ||
1587 | def GetBackgroundColour(self): | |
1588 | """""" | |
1589 | pass | |
1590 | ||
1591 | def GetFont(self): | |
1592 | """""" | |
1593 | pass | |
1594 | ||
1595 | def GetTextColour(self): | |
1596 | """""" | |
1597 | pass | |
1598 | ||
1599 | def HasBackgroundColour(self): | |
1600 | """""" | |
1601 | pass | |
1602 | ||
1603 | def HasFont(self): | |
1604 | """""" | |
1605 | pass | |
1606 | ||
1607 | def HasTextColour(self): | |
1608 | """""" | |
1609 | pass | |
1610 | ||
1611 | def IsDefault(self): | |
1612 | """""" | |
1613 | pass | |
1614 | ||
1615 | def SetBackgroundColour(self): | |
1616 | """""" | |
1617 | pass | |
1618 | ||
1619 | def SetFont(self): | |
1620 | """""" | |
1621 | pass | |
1622 | ||
1623 | def SetTextColour(self): | |
1624 | """""" | |
1625 | pass | |
1626 | ||
1627 | def __del__(self): | |
1628 | """""" | |
1629 | pass | |
1630 | ||
1631 | def __init__(self): | |
1632 | """""" | |
1633 | pass | |
1634 | ||
1635 | ||
1636 | class TextCtrl(Control): | |
1637 | """""" | |
1638 | ||
1639 | def AppendText(self): | |
1640 | """""" | |
1641 | pass | |
1642 | ||
1643 | def CanCopy(self): | |
1644 | """""" | |
1645 | pass | |
1646 | ||
1647 | def CanCut(self): | |
1648 | """""" | |
1649 | pass | |
1650 | ||
1651 | def CanPaste(self): | |
1652 | """""" | |
1653 | pass | |
1654 | ||
1655 | def CanRedo(self): | |
1656 | """""" | |
1657 | pass | |
1658 | ||
1659 | def CanUndo(self): | |
1660 | """""" | |
1661 | pass | |
1662 | ||
1663 | def Clear(self): | |
1664 | """""" | |
1665 | pass | |
1666 | ||
1667 | def Copy(self): | |
1668 | """""" | |
1669 | pass | |
1670 | ||
1671 | def Create(self): | |
1672 | """""" | |
1673 | pass | |
1674 | ||
1675 | def Cut(self): | |
1676 | """""" | |
1677 | pass | |
1678 | ||
1679 | def DiscardEdits(self): | |
1680 | """""" | |
1681 | pass | |
1682 | ||
1683 | def EmulateKeyPress(self): | |
1684 | """""" | |
1685 | pass | |
1686 | ||
1687 | def GetDefaultStyle(self): | |
1688 | """""" | |
1689 | pass | |
1690 | ||
1691 | def GetInsertionPoint(self): | |
1692 | """""" | |
1693 | pass | |
1694 | ||
1695 | def GetLastPosition(self): | |
1696 | """""" | |
1697 | pass | |
1698 | ||
1699 | def GetLineLength(self): | |
1700 | """""" | |
1701 | pass | |
1702 | ||
1703 | def GetLineText(self): | |
1704 | """""" | |
1705 | pass | |
1706 | ||
1707 | def GetNumberOfLines(self): | |
1708 | """""" | |
1709 | pass | |
1710 | ||
1711 | def GetRange(self): | |
1712 | """""" | |
1713 | pass | |
1714 | ||
1715 | def GetSelection(self): | |
1716 | """""" | |
1717 | pass | |
1718 | ||
1719 | def GetString(self): | |
1720 | """""" | |
1721 | pass | |
1722 | ||
1723 | def GetStringSelection(self): | |
1724 | """""" | |
1725 | pass | |
1726 | ||
1727 | def GetValue(self): | |
1728 | """""" | |
1729 | pass | |
1730 | ||
1731 | def IsEditable(self): | |
1732 | """""" | |
1733 | pass | |
1734 | ||
1735 | def IsModified(self): | |
1736 | """""" | |
1737 | pass | |
1738 | ||
1739 | def IsMultiLine(self): | |
1740 | """""" | |
1741 | pass | |
1742 | ||
1743 | def IsSingleLine(self): | |
1744 | """""" | |
1745 | pass | |
1746 | ||
1747 | def LoadFile(self): | |
1748 | """""" | |
1749 | pass | |
1750 | ||
1751 | def Paste(self): | |
1752 | """""" | |
1753 | pass | |
1754 | ||
1755 | def PositionToXY(self): | |
1756 | """""" | |
1757 | pass | |
1758 | ||
1759 | def Redo(self): | |
1760 | """""" | |
1761 | pass | |
1762 | ||
1763 | def Remove(self): | |
1764 | """""" | |
1765 | pass | |
1766 | ||
1767 | def Replace(self): | |
1768 | """""" | |
1769 | pass | |
1770 | ||
1771 | def SaveFile(self): | |
1772 | """""" | |
1773 | pass | |
1774 | ||
1775 | def SelectAll(self): | |
1776 | """""" | |
1777 | pass | |
1778 | ||
1779 | def SetDefaultStyle(self): | |
1780 | """""" | |
1781 | pass | |
1782 | ||
1783 | def SetEditable(self): | |
1784 | """""" | |
1785 | pass | |
1786 | ||
1787 | def SetInsertionPoint(self): | |
1788 | """""" | |
1789 | pass | |
1790 | ||
1791 | def SetInsertionPointEnd(self): | |
1792 | """""" | |
1793 | pass | |
1794 | ||
1795 | def SetMaxLength(self): | |
1796 | """""" | |
1797 | pass | |
1798 | ||
1799 | def SetSelection(self): | |
1800 | """""" | |
1801 | pass | |
1802 | ||
1803 | def SetStyle(self): | |
1804 | """""" | |
1805 | pass | |
1806 | ||
1807 | def SetValue(self): | |
1808 | """""" | |
1809 | pass | |
1810 | ||
1811 | def ShowPosition(self): | |
1812 | """""" | |
1813 | pass | |
1814 | ||
1815 | def Undo(self): | |
1816 | """""" | |
1817 | pass | |
1818 | ||
1819 | def WriteText(self): | |
1820 | """""" | |
1821 | pass | |
1822 | ||
1823 | def XYToPosition(self): | |
1824 | """""" | |
1825 | pass | |
1826 | ||
1827 | def __init__(self): | |
1828 | """""" | |
1829 | pass | |
1830 | ||
1831 | def write(self): | |
1832 | """""" | |
1833 | pass | |
1834 | ||
1835 | ||
1836 | class ToggleButton(Control): | |
1837 | """""" | |
1838 | ||
1839 | def Create(self): | |
1840 | """""" | |
1841 | pass | |
1842 | ||
1843 | def GetValue(self): | |
1844 | """""" | |
1845 | pass | |
1846 | ||
1847 | def SetLabel(self): | |
1848 | """""" | |
1849 | pass | |
1850 | ||
1851 | def SetValue(self): | |
1852 | """""" | |
1853 | pass | |
1854 | ||
1855 | def __init__(self): | |
1856 | """""" | |
1857 | pass | |
1858 | ||
1859 |