]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/wxd/Events.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 from Base 
import Object
 
  16 import Parameters 
as wx
 
  30     def GetEventObject(self
): 
  34     def GetEventType(self
): 
  46     def GetTimestamp(self
): 
  50     def SetEventObject(self
): 
  54     def SetEventType(self
): 
  62     def SetTimestamp(self
): 
  91 class ActivateEvent(Event
): 
 103 class CalculateLayoutEvent(Event
): 
 127 class CloseEvent(Event
): 
 134     def GetLoggingOff(self
): 
 142     def SetCanVeto(self
): 
 146     def SetLoggingOff(self
): 
 159 class CommandEvent(Event
): 
 170     def GetClientData(self
): 
 174     def GetExtraLong(self
): 
 182     def GetSelection(self
): 
 194     def IsSelection(self
): 
 198     def SetExtraLong(self
): 
 211 class ChildFocusEvent(CommandEvent
): 
 223 class ContextMenuEvent(CommandEvent
): 
 226     def GetPosition(self
): 
 230     def SetPosition(self
): 
 239 class DisplayChangedEvent(Event
): 
 247 class DropFilesEvent(Event
): 
 254     def GetNumberOfFiles(self
): 
 258     def GetPosition(self
): 
 267 class EraseEvent(Event
): 
 279 class FindDialogEvent(CommandEvent
): 
 286     def GetFindString(self
): 
 294     def GetReplaceString(self
): 
 298     def SetFindString(self
): 
 306     def SetReplaceString(self
): 
 315 class FocusEvent(Event
): 
 323 class IconizeEvent(Event
): 
 335 class IdleEvent(Event
): 
 338     def MoreRequested(self
): 
 342     def RequestMore(self
): 
 351 class InitDialogEvent(Event
): 
 359 class JoystickEvent(Event
): 
 362     def ButtonDown(self
): 
 366     def ButtonIsDown(self
): 
 374     def GetButtonChange(self
): 
 378     def GetButtonState(self
): 
 382     def GetJoystick(self
): 
 386     def GetPosition(self
): 
 390     def GetZPosition(self
): 
 406     def SetButtonChange(self
): 
 410     def SetButtonState(self
): 
 414     def SetJoystick(self
): 
 418     def SetPosition(self
): 
 422     def SetZPosition(self
): 
 431 class KeyEvent(Event
): 
 438     def ControlDown(self
): 
 442     def GetKeyCode(self
): 
 446     def GetPosition(self
): 
 450     def GetPositionTuple(self
): 
 454     def GetRawKeyCode(self
): 
 458     def GetRawKeyFlags(self
): 
 470     def HasModifiers(self
): 
 486     def __getattr__(self
): 
 494     def __setattr__(self
): 
 499 class MaximizeEvent(Event
): 
 507 class MenuEvent(Event
): 
 523 class MouseCaptureChangedEvent(Event
): 
 526     def GetCapturedWindow(self
): 
 535 class MouseEvent(Event
): 
 546     def ButtonDClick(self
): 
 550     def ButtonDown(self
): 
 554     def ButtonIsDown(self
): 
 562     def ControlDown(self
): 
 574     def GetLinesPerAction(self
): 
 578     def GetLogicalPosition(self
): 
 582     def GetPosition(self
): 
 586     def GetPositionTuple(self
): 
 590     def GetWheelDelta(self
): 
 594     def GetWheelRotation(self
): 
 614     def LeftDClick(self
): 
 622     def LeftIsDown(self
): 
 634     def MiddleDClick(self
): 
 638     def MiddleDown(self
): 
 642     def MiddleIsDown(self
): 
 654     def RightDClick(self
): 
 662     def RightIsDown(self
): 
 674     def __getattr__(self
): 
 682     def __setattr__(self
): 
 687 class MoveEvent(Event
): 
 690     def GetPosition(self
): 
 699 class NavigationKeyEvent(Event
): 
 702     def GetCurrentFocus(self
): 
 706     def GetDirection(self
): 
 710     def IsWindowChange(self
): 
 714     def SetCurrentFocus(self
): 
 718     def SetDirection(self
): 
 722     def SetWindowChange(self
): 
 731 class NotifyEvent(CommandEvent
): 
 751 class ListEvent(NotifyEvent
): 
 754     def GetCacheFrom(self
): 
 758     def GetCacheTo(self
): 
 786     def GetKeyCode(self
): 
 806     def __getattr__(self
): 
 814     def __setattr__(self
): 
 819 class NotebookEvent(NotifyEvent
): 
 821     def __init__(self
, commandType
=wx
.EVT_NULL
, id=0, nSel
=-1, nOldSel
=-1): 
 825     def GetSelection(self
): 
 829     def GetOldSelection(self
): 
 833     def SetOldSelection(self
, page
): 
 837     def SetSelection(self
, page
): 
 842 class PaintEvent(Event
): 
 850 class PaletteChangedEvent(Event
): 
 853     def GetChangedWindow(self
): 
 857     def SetChangedWindow(self
): 
 866 class ProcessEvent(Event
): 
 869     def GetExitCode(self
): 
 877     def __getattr__(self
): 
 885     def __setattr__(self
): 
 890 class PyCommandEvent(CommandEvent
): 
 910 class QueryLayoutInfoEvent(Event
): 
 913     def GetAlignment(self
): 
 921     def GetOrientation(self
): 
 925     def GetRequestedLength(self
): 
 933     def SetAlignment(self
): 
 941     def SetOrientation(self
): 
 945     def SetRequestedLength(self
): 
 958 class QueryNewPaletteEvent(Event
): 
 961     def GetPaletteRealized(self
): 
 965     def SetPaletteRealized(self
): 
 974 class SashEvent(CommandEvent
): 
 977     def GetDragRect(self
): 
 981     def GetDragStatus(self
): 
 989     def SetDragRect(self
): 
 993     def SetDragStatus(self
): 
1006 class ScrollEvent(CommandEvent
): 
1009     def GetOrientation(self
): 
1013     def GetPosition(self
): 
1022 class ScrollWinEvent(Event
): 
1025     def GetOrientation(self
): 
1029     def GetPosition(self
): 
1038 class SetCursorEvent(Event
): 
1041     def GetCursor(self
): 
1053     def HasCursor(self
): 
1057     def SetCursor(self
): 
1066 class ShowEvent(Event
): 
1082 class SizeEvent(Event
): 
1094 class SpinEvent(ScrollEvent
): 
1102 class SplitterEvent(NotifyEvent
): 
1105     def GetSashPosition(self
): 
1109     def GetWindowBeingRemoved(self
): 
1121     def SetSashPosition(self
): 
1130 class SysColourChangedEvent(Event
): 
1138 class TextUrlEvent(CommandEvent
): 
1141     def GetMouseEvent(self
): 
1145     def GetURLEnd(self
): 
1149     def GetURLStart(self
): 
1158 class TimerEvent(Event
): 
1161     def GetInterval(self
): 
1170 class TreeEvent(NotifyEvent
): 
1181     def GetKeyCode(self
): 
1185     def GetKeyEvent(self
): 
1193     def GetOldItem(self
): 
1201     def IsEditCancelled(self
): 
1210 class UpdateUIEvent(Event
): 
1221     def GetChecked(self
): 
1225     def GetEnabled(self
): 
1229     def GetSetChecked(self
): 
1233     def GetSetEnabled(self
): 
1237     def GetSetText(self
): 
1254 class WindowCreateEvent(CommandEvent
): 
1257     def GetWindow(self
): 
1266 class WindowDestroyEvent(CommandEvent
): 
1269     def GetWindow(self
):