]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/wxd/EventFunctions.py
1 """Decorator classes for documentation and shell scripting.
4 __author__
= "Patrick K. O'Brien <pobrien@orbtech.com>"
6 __revision__
= "$Revision$"[11:-2]
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
15 def EVT_ACTIVATE(win
, func
):
19 def EVT_ACTIVATE_APP(win
, func
):
23 def EVT_BUTTON(win
, id, func
):
27 def EVT_CALCULATE_LAYOUT():
31 def EVT_CHAR(win
, func
):
35 def EVT_CHAR_HOOK(win
, func
):
39 def EVT_CHECKBOX(win
, id, func
):
43 def EVT_CHECKLISTBOX(win
, id, func
):
47 def EVT_CHILD_FOCUS(win
, func
):
51 def EVT_CHOICE(win
, id, func
):
55 def EVT_CLOSE(win
, func
):
59 def EVT_COMBOBOX(win
, id, func
):
63 def EVT_COMMAND(win
, id, cmd
, func
):
67 def EVT_COMMAND_ENTER(win
, id, func
):
71 def EVT_COMMAND_FIND():
75 def EVT_COMMAND_FIND_CLOSE():
79 def EVT_COMMAND_FIND_NEXT():
83 def EVT_COMMAND_FIND_REPLACE():
87 def EVT_COMMAND_FIND_REPLACE_ALL():
91 def EVT_COMMAND_KILL_FOCUS(win
, id, func
):
95 def EVT_COMMAND_LEFT_CLICK(win
, id, func
):
99 def EVT_COMMAND_LEFT_DCLICK(win
, id, func
):
103 def EVT_COMMAND_RANGE(win
, id1
, id2
, cmd
, func
):
107 def EVT_COMMAND_RIGHT_CLICK(win
, id, func
):
111 def EVT_COMMAND_RIGHT_DCLICK(win
, id, func
):
115 def EVT_COMMAND_SCROLL(win
, id, func
):
119 def EVT_COMMAND_SCROLLWIN(win
, id, func
):
123 def EVT_COMMAND_SCROLLWIN_BOTTOM(win
, id, func
):
127 def EVT_COMMAND_SCROLLWIN_LINEDOWN(win
, id, func
):
131 def EVT_COMMAND_SCROLLWIN_LINEUP(win
, id, func
):
135 def EVT_COMMAND_SCROLLWIN_PAGEDOWN(win
, id, func
):
139 def EVT_COMMAND_SCROLLWIN_PAGEUP(win
, id, func
):
143 def EVT_COMMAND_SCROLLWIN_THUMBRELEASE(win
, id, func
):
147 def EVT_COMMAND_SCROLLWIN_THUMBTRACK(win
, id, func
):
151 def EVT_COMMAND_SCROLLWIN_TOP(win
, id, func
):
155 def EVT_COMMAND_SCROLL_BOTTOM(win
, id, func
):
159 def EVT_COMMAND_SCROLL_ENDSCROLL(win
, id, func
):
163 def EVT_COMMAND_SCROLL_LINEDOWN(win
, id, func
):
167 def EVT_COMMAND_SCROLL_LINEUP(win
, id, func
):
171 def EVT_COMMAND_SCROLL_PAGEDOWN(win
, id, func
):
175 def EVT_COMMAND_SCROLL_PAGEUP(win
, id, func
):
179 def EVT_COMMAND_SCROLL_THUMBRELEASE(win
, id, func
):
183 def EVT_COMMAND_SCROLL_THUMBTRACK(win
, id, func
):
187 def EVT_COMMAND_SCROLL_TOP(win
, id, func
):
191 def EVT_COMMAND_SET_FOCUS(win
, id, func
):
195 def EVT_CONTEXT_MENU(win
, func
):
199 def EVT_DISPLAY_CHANGED(win
, func
):
203 def EVT_DROP_FILES(win
, func
):
207 def EVT_END_PROCESS(eh
, id, func
):
211 def EVT_END_SESSION(win
, func
):
215 def EVT_ENTER_WINDOW(win
, func
):
219 def EVT_ERASE_BACKGROUND(win
, func
):
223 def EVT_ICONIZE(win
, func
):
227 def EVT_IDLE(win
, func
):
231 def EVT_INIT_DIALOG(win
, func
):
235 def EVT_JOYSTICK_EVENTS(win
, func
):
239 def EVT_JOY_DOWN(win
, func
):
243 def EVT_JOY_MOVE(win
, func
):
247 def EVT_JOY_UP(win
, func
):
251 def EVT_JOY_ZMOVE(win
, func
):
255 def EVT_KEY_DOWN(win
, func
):
259 def EVT_KEY_UP(win
, func
):
263 def EVT_KILL_FOCUS(win
, func
):
267 def EVT_LEAVE_WINDOW(win
, func
):
271 def EVT_LEFT_DCLICK(win
, func
):
275 def EVT_LEFT_DOWN(win
, func
):
279 def EVT_LEFT_UP(win
, func
):
283 def EVT_LISTBOX(win
, id, func
):
287 def EVT_LISTBOX_DCLICK(win
, id, func
):
291 def EVT_LIST_BEGIN_DRAG():
295 def EVT_LIST_BEGIN_LABEL_EDIT():
299 def EVT_LIST_BEGIN_RDRAG():
303 def EVT_LIST_CACHE_HINT():
307 def EVT_LIST_COL_BEGIN_DRAG():
311 def EVT_LIST_COL_CLICK():
315 def EVT_LIST_COL_DRAGGING():
319 def EVT_LIST_COL_END_DRAG():
323 def EVT_LIST_COL_RIGHT_CLICK():
327 def EVT_LIST_DELETE_ALL_ITEMS():
331 def EVT_LIST_DELETE_ITEM():
335 def EVT_LIST_END_LABEL_EDIT():
339 def EVT_LIST_GET_INFO():
343 def EVT_LIST_INSERT_ITEM():
347 def EVT_LIST_ITEM_ACTIVATED():
351 def EVT_LIST_ITEM_DESELECTED():
355 def EVT_LIST_ITEM_FOCUSED():
359 def EVT_LIST_ITEM_MIDDLE_CLICK():
363 def EVT_LIST_ITEM_RIGHT_CLICK():
367 def EVT_LIST_ITEM_SELECTED():
371 def EVT_LIST_KEY_DOWN():
375 def EVT_LIST_SET_INFO():
379 def EVT_MAXIMIZE(win
, func
):
383 def EVT_MENU(win
, id, func
):
387 def EVT_MENU_CLOSE(win
, func
):
391 def EVT_MENU_HIGHLIGHT(win
, id, func
):
395 def EVT_MENU_HIGHLIGHT_ALL(win
, func
):
399 def EVT_MENU_OPEN(win
, func
):
403 def EVT_MENU_RANGE(win
, id1
, id2
, func
):
407 def EVT_MIDDLE_DCLICK(win
, func
):
411 def EVT_MIDDLE_DOWN(win
, func
):
415 def EVT_MIDDLE_UP(win
, func
):
419 def EVT_MOTION(win
, func
):
423 def EVT_MOUSEWHEEL(win
, func
):
427 def EVT_MOUSE_CAPTURE_CHANGED(win
, func
):
431 def EVT_MOUSE_EVENTS(win
, func
):
435 def EVT_MOVE(win
, func
):
439 def EVT_NAVIGATION_KEY(win
, func
):
443 def EVT_NOTEBOOK_PAGE_CHANGED(win
, id, func
):
447 def EVT_NOTEBOOK_PAGE_CHANGING(win
, id, func
):
451 def EVT_PAINT(win
, func
):
455 def EVT_PALETTE_CHANGED(win
, func
):
459 def EVT_QUERY_END_SESSION(win
, func
):
463 def EVT_QUERY_LAYOUT_INFO():
467 def EVT_QUERY_NEW_PALETTE(win
, func
):
471 def EVT_RADIOBOX(win
, id, func
):
475 def EVT_RADIOBUTTON(win
, id, func
):
479 def EVT_RIGHT_DCLICK(win
, func
):
483 def EVT_RIGHT_DOWN(win
, func
):
487 def EVT_RIGHT_UP(win
, func
):
491 def EVT_SASH_DRAGGED(win
, id, func
):
495 def EVT_SASH_DRAGGED_RANGE(win
, id1
, id2
, func
):
499 def EVT_SCROLL(win
, func
):
503 def EVT_SCROLLWIN(win
, func
):
507 def EVT_SCROLLWIN_BOTTOM(win
, func
):
511 def EVT_SCROLLWIN_LINEDOWN(win
, func
):
515 def EVT_SCROLLWIN_LINEUP(win
, func
):
519 def EVT_SCROLLWIN_PAGEDOWN(win
, func
):
523 def EVT_SCROLLWIN_PAGEUP(win
, func
):
527 def EVT_SCROLLWIN_THUMBRELEASE(win
, func
):
531 def EVT_SCROLLWIN_THUMBTRACK(win
, func
):
535 def EVT_SCROLLWIN_TOP(win
, func
):
539 def EVT_SCROLL_BOTTOM(win
, func
):
543 def EVT_SCROLL_ENDSCROLL(win
, func
):
547 def EVT_SCROLL_LINEDOWN(win
, func
):
551 def EVT_SCROLL_LINEUP(win
, func
):
555 def EVT_SCROLL_PAGEDOWN(win
, func
):
559 def EVT_SCROLL_PAGEUP(win
, func
):
563 def EVT_SCROLL_THUMBRELEASE(win
, func
):
567 def EVT_SCROLL_THUMBTRACK(win
, func
):
571 def EVT_SCROLL_TOP(win
, func
):
575 def EVT_SET_CURSOR(win
, func
):
579 def EVT_SET_FOCUS(win
, func
):
583 def EVT_SHOW(win
, func
):
591 def EVT_SLIDER(win
, id, func
):
595 def EVT_SPIN(win
, id, func
):
599 def EVT_SPINCTRL(win
, id, func
):
603 def EVT_SPIN_DOWN(win
, id, func
):
607 def EVT_SPIN_UP(win
, id, func
):
611 def EVT_SPLITTER_DOUBLECLICKED(win
, id, func
):
615 def EVT_SPLITTER_SASH_POS_CHANGED(win
, id, func
):
619 def EVT_SPLITTER_SASH_POS_CHANGING(win
, id, func
):
623 def EVT_SPLITTER_UNSPLIT(win
, id, func
):
627 def EVT_SYS_COLOUR_CHANGED(win
, func
):
631 def EVT_TASKBAR_LEFT_DCLICK(win
, func
):
635 def EVT_TASKBAR_LEFT_DOWN(win
, func
):
639 def EVT_TASKBAR_LEFT_UP(win
, func
):
643 def EVT_TASKBAR_MOVE(win
, func
):
647 def EVT_TASKBAR_RIGHT_DCLICK(win
, func
):
651 def EVT_TASKBAR_RIGHT_DOWN(win
, func
):
655 def EVT_TASKBAR_RIGHT_UP(win
, func
):
659 def EVT_TEXT(win
, id, func
):
663 def EVT_TEXT_ENTER(win
, id, func
):
667 def EVT_TEXT_MAXLEN(win
, id, func
):
671 def EVT_TEXT_URL(win
, id, func
):
675 def EVT_TIMER(win
, id, func
):
679 def EVT_TOGGLEBUTTON(win
, id, func
):
683 def EVT_TOOL(win
, id, func
):
687 def EVT_TOOL_ENTER(win
, id, func
):
691 def EVT_TOOL_RANGE(win
, id, id2
, func
):
695 def EVT_TOOL_RCLICKED(win
, id, func
):
699 def EVT_TOOL_RCLICKED_RANGE(win
, id, id2
, func
):
703 def EVT_TREE_BEGIN_DRAG():
707 def EVT_TREE_BEGIN_LABEL_EDIT():
711 def EVT_TREE_BEGIN_RDRAG():
715 def EVT_TREE_DELETE_ITEM():
719 def EVT_TREE_END_DRAG():
723 def EVT_TREE_END_LABEL_EDIT():
727 def EVT_TREE_GET_INFO():
731 def EVT_TREE_ITEM_ACTIVATED():
735 def EVT_TREE_ITEM_COLLAPSED():
739 def EVT_TREE_ITEM_COLLAPSING():
743 def EVT_TREE_ITEM_EXPANDED():
747 def EVT_TREE_ITEM_EXPANDING():
751 def EVT_TREE_ITEM_MIDDLE_CLICK():
755 def EVT_TREE_ITEM_RIGHT_CLICK():
759 def EVT_TREE_KEY_DOWN():
763 def EVT_TREE_SEL_CHANGED():
767 def EVT_TREE_SEL_CHANGING():
771 def EVT_TREE_SET_INFO():
775 def EVT_UPDATE_UI(win
, id, func
):
779 def EVT_UPDATE_UI_RANGE(win
, id, id2
, func
):
783 def EVT_VLBOX(win
, id, func
):
787 def EVT_WINDOW_CREATE(win
, func
):
791 def EVT_WINDOW_CREATE_ID(win
, id, func
):
795 def EVT_WINDOW_DESTROY(win
, func
):
799 def EVT_WINDOW_DESTROY_ID(win
, id, func
):