X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb28fd476257e3e4651536711a0a35880c25ceaa..9d1d5697d58d8df82347aaaaef742f52fc168e4a:/wxPython/src/mac/windows.py diff --git a/wxPython/src/mac/windows.py b/wxPython/src/mac/windows.py index a189cb0111..16257558fb 100644 --- a/wxPython/src/mac/windows.py +++ b/wxPython/src/mac/windows.py @@ -1,1120 +1,1850 @@ # This file was created automatically by SWIG. -import windowsc +# Don't modify this file, modify the SWIG interface instead. -from misc import * +import _windows -from gdi import * +import core +wx = core +#--------------------------------------------------------------------------- -from fonts import * +class Panel(core.Window): + def __init__(self, *args, **kwargs): + newobj = _windows.new_Panel(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.Panel_Create(*args, **kwargs) + def InitDialog(*args, **kwargs): return _windows.Panel_InitDialog(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PanelPtr(Panel): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Panel +_windows.Panel_swigregister(PanelPtr) -from clip_dnd import * -import wx +def PrePanel(*args, **kwargs): + val = _windows.new_PrePanel(*args, **kwargs) + val.thisown = 1 + return val -def wxDLG_PNT(win, point_or_x, y=None): - if y is None: - return win.ConvertDialogPointToPixels(point_or_x) - else: - return win.ConvertDialogPointToPixels(wxPoint(point_or_x, y)) +#--------------------------------------------------------------------------- -def wxDLG_SZE(win, size_width, height=None): - if height is None: - return win.ConvertDialogSizeToPixels(size_width) - else: - return win.ConvertDialogSizeToPixels(wxSize(size_width, height)) +class ScrolledWindow(Panel): + def __init__(self, *args, **kwargs): + newobj = _windows.new_ScrolledWindow(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.ScrolledWindow_Create(*args, **kwargs) + def SetScrollbars(*args, **kwargs): return _windows.ScrolledWindow_SetScrollbars(*args, **kwargs) + def Scroll(*args, **kwargs): return _windows.ScrolledWindow_Scroll(*args, **kwargs) + def GetScrollPageSize(*args, **kwargs): return _windows.ScrolledWindow_GetScrollPageSize(*args, **kwargs) + def SetScrollPageSize(*args, **kwargs): return _windows.ScrolledWindow_SetScrollPageSize(*args, **kwargs) + def SetScrollRate(*args, **kwargs): return _windows.ScrolledWindow_SetScrollRate(*args, **kwargs) + def GetScrollPixelsPerUnit(*args, **kwargs): return _windows.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs) + def EnableScrolling(*args, **kwargs): return _windows.ScrolledWindow_EnableScrolling(*args, **kwargs) + def GetViewStart(*args, **kwargs): return _windows.ScrolledWindow_GetViewStart(*args, **kwargs) + def SetScale(*args, **kwargs): return _windows.ScrolledWindow_SetScale(*args, **kwargs) + def GetScaleX(*args, **kwargs): return _windows.ScrolledWindow_GetScaleX(*args, **kwargs) + def GetScaleY(*args, **kwargs): return _windows.ScrolledWindow_GetScaleY(*args, **kwargs) + def CalcScrolledPosition(*args): return _windows.ScrolledWindow_CalcScrolledPosition(*args) + def CalcUnscrolledPosition(*args): return _windows.ScrolledWindow_CalcUnscrolledPosition(*args) + def AdjustScrollbars(*args, **kwargs): return _windows.ScrolledWindow_AdjustScrollbars(*args, **kwargs) + def CalcScrollInc(*args, **kwargs): return _windows.ScrolledWindow_CalcScrollInc(*args, **kwargs) + def SetTargetWindow(*args, **kwargs): return _windows.ScrolledWindow_SetTargetWindow(*args, **kwargs) + def GetTargetWindow(*args, **kwargs): return _windows.ScrolledWindow_GetTargetWindow(*args, **kwargs) + def SetTargetRect(*args, **kwargs): return _windows.ScrolledWindow_SetTargetRect(*args, **kwargs) + def GetTargetRect(*args, **kwargs): return _windows.ScrolledWindow_GetTargetRect(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class wxEvtHandlerPtr(wxObjectPtr): - def __init__(self,this): +class ScrolledWindowPtr(ScrolledWindow): + def __init__(self, this): self.this = this - self.thisown = 0 - def ProcessEvent(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler_ProcessEvent,(self,) + _args, _kwargs) - return val - def AddPendingEvent(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler_AddPendingEvent,(self,) + _args, _kwargs) - return val - def GetEvtHandlerEnabled(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler_GetEvtHandlerEnabled,(self,) + _args, _kwargs) - return val - def SetEvtHandlerEnabled(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler_SetEvtHandlerEnabled,(self,) + _args, _kwargs) - return val - def GetNextHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler_GetNextHandler,(self,) + _args, _kwargs) - return val - def GetPreviousHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler_GetPreviousHandler,(self,) + _args, _kwargs) - return val - def SetNextHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler_SetNextHandler,(self,) + _args, _kwargs) - return val - def SetPreviousHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler_SetPreviousHandler,(self,) + _args, _kwargs) - return val - def Connect(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler_Connect,(self,) + _args, _kwargs) - return val - def Disconnect(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler_Disconnect,(self,) + _args, _kwargs) - return val - def _setOORInfo(self, *_args, **_kwargs): - val = apply(windowsc.wxEvtHandler__setOORInfo,(self,) + _args, _kwargs) - return val + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = ScrolledWindow +_windows.ScrolledWindow_swigregister(ScrolledWindowPtr) + +def PreScrolledWindow(*args, **kwargs): + val = _windows.new_PreScrolledWindow(*args, **kwargs) + val.thisown = 1 + return val + +#--------------------------------------------------------------------------- + +class AcceleratorEntry(object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_AcceleratorEntry(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_AcceleratorEntry): + try: + if self.thisown: destroy(self) + except: pass + def Set(*args, **kwargs): return _windows.AcceleratorEntry_Set(*args, **kwargs) + def SetMenuItem(*args, **kwargs): return _windows.AcceleratorEntry_SetMenuItem(*args, **kwargs) + def GetMenuItem(*args, **kwargs): return _windows.AcceleratorEntry_GetMenuItem(*args, **kwargs) + def GetFlags(*args, **kwargs): return _windows.AcceleratorEntry_GetFlags(*args, **kwargs) + def GetKeyCode(*args, **kwargs): return _windows.AcceleratorEntry_GetKeyCode(*args, **kwargs) + def GetCommand(*args, **kwargs): return _windows.AcceleratorEntry_GetCommand(*args, **kwargs) def __repr__(self): - return "" % (self.this,) -class wxEvtHandler(wxEvtHandlerPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(windowsc.new_wxEvtHandler,_args,_kwargs) + return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class AcceleratorEntryPtr(AcceleratorEntry): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = AcceleratorEntry +_windows.AcceleratorEntry_swigregister(AcceleratorEntryPtr) + +class AcceleratorTable(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_AcceleratorTable(*args, **kwargs) + self.this = newobj.this self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_AcceleratorTable): + try: + if self.thisown: destroy(self) + except: pass + def Ok(*args, **kwargs): return _windows.AcceleratorTable_Ok(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class AcceleratorTablePtr(AcceleratorTable): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = AcceleratorTable +_windows.AcceleratorTable_swigregister(AcceleratorTablePtr) +GetAccelFromString = _windows.GetAccelFromString +#--------------------------------------------------------------------------- +FULLSCREEN_NOMENUBAR = _windows.FULLSCREEN_NOMENUBAR +FULLSCREEN_NOTOOLBAR = _windows.FULLSCREEN_NOTOOLBAR +FULLSCREEN_NOSTATUSBAR = _windows.FULLSCREEN_NOSTATUSBAR +FULLSCREEN_NOBORDER = _windows.FULLSCREEN_NOBORDER +FULLSCREEN_NOCAPTION = _windows.FULLSCREEN_NOCAPTION +FULLSCREEN_ALL = _windows.FULLSCREEN_ALL +TOPLEVEL_EX_DIALOG = _windows.TOPLEVEL_EX_DIALOG +class TopLevelWindow(core.Window): + def Maximize(*args, **kwargs): return _windows.TopLevelWindow_Maximize(*args, **kwargs) + def Restore(*args, **kwargs): return _windows.TopLevelWindow_Restore(*args, **kwargs) + def Iconize(*args, **kwargs): return _windows.TopLevelWindow_Iconize(*args, **kwargs) + def IsMaximized(*args, **kwargs): return _windows.TopLevelWindow_IsMaximized(*args, **kwargs) + def IsIconized(*args, **kwargs): return _windows.TopLevelWindow_IsIconized(*args, **kwargs) + def GetIcon(*args, **kwargs): return _windows.TopLevelWindow_GetIcon(*args, **kwargs) + def SetIcon(*args, **kwargs): return _windows.TopLevelWindow_SetIcon(*args, **kwargs) + def SetIcons(*args, **kwargs): return _windows.TopLevelWindow_SetIcons(*args, **kwargs) + def ShowFullScreen(*args, **kwargs): return _windows.TopLevelWindow_ShowFullScreen(*args, **kwargs) + def IsFullScreen(*args, **kwargs): return _windows.TopLevelWindow_IsFullScreen(*args, **kwargs) + def SetTitle(*args, **kwargs): return _windows.TopLevelWindow_SetTitle(*args, **kwargs) + def GetTitle(*args, **kwargs): return _windows.TopLevelWindow_GetTitle(*args, **kwargs) + def SetShape(*args, **kwargs): return _windows.TopLevelWindow_SetShape(*args, **kwargs) + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class wxValidatorPtr(wxEvtHandlerPtr): - def __init__(self,this): +class TopLevelWindowPtr(TopLevelWindow): + def __init__(self, this): self.this = this - self.thisown = 0 - def Clone(self, *_args, **_kwargs): - val = apply(windowsc.wxValidator_Clone,(self,) + _args, _kwargs) - return val - def GetWindow(self, *_args, **_kwargs): - val = apply(windowsc.wxValidator_GetWindow,(self,) + _args, _kwargs) - return val - def SetWindow(self, *_args, **_kwargs): - val = apply(windowsc.wxValidator_SetWindow,(self,) + _args, _kwargs) - return val + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = TopLevelWindow +_windows.TopLevelWindow_swigregister(TopLevelWindowPtr) +cvar = _windows.cvar +NullAcceleratorTable = cvar.NullAcceleratorTable + +#--------------------------------------------------------------------------- + +class Frame(TopLevelWindow): + def __init__(self, *args, **kwargs): + newobj = _windows.new_Frame(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.Frame_Create(*args, **kwargs) + def GetClientAreaOrigin(*args, **kwargs): return _windows.Frame_GetClientAreaOrigin(*args, **kwargs) + def SendSizeEvent(*args, **kwargs): return _windows.Frame_SendSizeEvent(*args, **kwargs) + def SetMenuBar(*args, **kwargs): return _windows.Frame_SetMenuBar(*args, **kwargs) + def GetMenuBar(*args, **kwargs): return _windows.Frame_GetMenuBar(*args, **kwargs) + def ProcessCommand(*args, **kwargs): return _windows.Frame_ProcessCommand(*args, **kwargs) + Command = ProcessCommand + def CreateStatusBar(*args, **kwargs): return _windows.Frame_CreateStatusBar(*args, **kwargs) + def GetStatusBar(*args, **kwargs): return _windows.Frame_GetStatusBar(*args, **kwargs) + def SetStatusBar(*args, **kwargs): return _windows.Frame_SetStatusBar(*args, **kwargs) + def SetStatusText(*args, **kwargs): return _windows.Frame_SetStatusText(*args, **kwargs) + def SetStatusWidths(*args, **kwargs): return _windows.Frame_SetStatusWidths(*args, **kwargs) + def PushStatusText(*args, **kwargs): return _windows.Frame_PushStatusText(*args, **kwargs) + def PopStatusText(*args, **kwargs): return _windows.Frame_PopStatusText(*args, **kwargs) + def SetStatusBarPane(*args, **kwargs): return _windows.Frame_SetStatusBarPane(*args, **kwargs) + def GetStatusBarPane(*args, **kwargs): return _windows.Frame_GetStatusBarPane(*args, **kwargs) + def CreateToolBar(*args, **kwargs): return _windows.Frame_CreateToolBar(*args, **kwargs) + def GetToolBar(*args, **kwargs): return _windows.Frame_GetToolBar(*args, **kwargs) + def SetToolBar(*args, **kwargs): return _windows.Frame_SetToolBar(*args, **kwargs) + def DoGiveHelp(*args, **kwargs): return _windows.Frame_DoGiveHelp(*args, **kwargs) + def DoMenuUpdates(*args, **kwargs): return _windows.Frame_DoMenuUpdates(*args, **kwargs) def __repr__(self): - return "" % (self.this,) -class wxValidator(wxValidatorPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(windowsc.new_wxValidator,_args,_kwargs) + return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class FramePtr(Frame): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Frame +_windows.Frame_swigregister(FramePtr) + +def PreFrame(*args, **kwargs): + val = _windows.new_PreFrame(*args, **kwargs) + val.thisown = 1 + return val + +#--------------------------------------------------------------------------- + +class Dialog(TopLevelWindow): + def __init__(self, *args, **kwargs): + newobj = _windows.new_Dialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.Dialog_Create(*args, **kwargs) + def SetReturnCode(*args, **kwargs): return _windows.Dialog_SetReturnCode(*args, **kwargs) + def GetReturnCode(*args, **kwargs): return _windows.Dialog_GetReturnCode(*args, **kwargs) + def CreateTextSizer(*args, **kwargs): return _windows.Dialog_CreateTextSizer(*args, **kwargs) + def CreateButtonSizer(*args, **kwargs): return _windows.Dialog_CreateButtonSizer(*args, **kwargs) + def SetModal(*args, **kwargs): return _windows.Dialog_SetModal(*args, **kwargs) + def IsModal(*args, **kwargs): return _windows.Dialog_IsModal(*args, **kwargs) + def ShowModal(*args, **kwargs): return _windows.Dialog_ShowModal(*args, **kwargs) + def EndModal(*args, **kwargs): return _windows.Dialog_EndModal(*args, **kwargs) + def IsModalShowing(*args, **kwargs): return _windows.Dialog_IsModalShowing(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class DialogPtr(Dialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Dialog +_windows.Dialog_swigregister(DialogPtr) + +def PreDialog(*args, **kwargs): + val = _windows.new_PreDialog(*args, **kwargs) + val.thisown = 1 + return val + +#--------------------------------------------------------------------------- + +class MiniFrame(Frame): + def __init__(self, *args, **kwargs): + newobj = _windows.new_MiniFrame(*args, **kwargs) + self.this = newobj.this self.thisown = 1 + del newobj.thisown self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.MiniFrame_Create(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class MiniFramePtr(MiniFrame): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = MiniFrame +_windows.MiniFrame_swigregister(MiniFramePtr) +def PreMiniFrame(*args, **kwargs): + val = _windows.new_PreMiniFrame(*args, **kwargs) + val.thisown = 1 + return val +#--------------------------------------------------------------------------- +SPLASH_CENTRE_ON_PARENT = _windows.SPLASH_CENTRE_ON_PARENT +SPLASH_CENTRE_ON_SCREEN = _windows.SPLASH_CENTRE_ON_SCREEN +SPLASH_NO_CENTRE = _windows.SPLASH_NO_CENTRE +SPLASH_TIMEOUT = _windows.SPLASH_TIMEOUT +SPLASH_NO_TIMEOUT = _windows.SPLASH_NO_TIMEOUT +class SplashScreenWindow(core.Window): + def __init__(self, *args, **kwargs): + newobj = _windows.new_SplashScreenWindow(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def SetBitmap(*args, **kwargs): return _windows.SplashScreenWindow_SetBitmap(*args, **kwargs) + def GetBitmap(*args, **kwargs): return _windows.SplashScreenWindow_GetBitmap(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class wxPyValidatorPtr(wxValidatorPtr): - def __init__(self,this): +class SplashScreenWindowPtr(SplashScreenWindow): + def __init__(self, this): self.this = this - self.thisown = 0 - def _setCallbackInfo(self, *_args, **_kwargs): - val = apply(windowsc.wxPyValidator__setCallbackInfo,(self,) + _args, _kwargs) - return val + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = SplashScreenWindow +_windows.SplashScreenWindow_swigregister(SplashScreenWindowPtr) + +class SplashScreen(Frame): + def __init__(self, *args, **kwargs): + newobj = _windows.new_SplashScreen(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def GetSplashStyle(*args, **kwargs): return _windows.SplashScreen_GetSplashStyle(*args, **kwargs) + def GetSplashWindow(*args, **kwargs): return _windows.SplashScreen_GetSplashWindow(*args, **kwargs) + def GetTimeout(*args, **kwargs): return _windows.SplashScreen_GetTimeout(*args, **kwargs) def __repr__(self): - return "" % (self.this,) -class wxPyValidator(wxPyValidatorPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(windowsc.new_wxPyValidator,_args,_kwargs) + return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class SplashScreenPtr(SplashScreen): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = SplashScreen +_windows.SplashScreen_swigregister(SplashScreenPtr) + +#--------------------------------------------------------------------------- + +class StatusBar(core.Window): + def __init__(self, *args, **kwargs): + newobj = _windows.new_StatusBar(*args, **kwargs) + self.this = newobj.this self.thisown = 1 - self._setCallbackInfo(self, wxPyValidator, 1) + del newobj.thisown self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.StatusBar_Create(*args, **kwargs) + def SetFieldsCount(*args, **kwargs): return _windows.StatusBar_SetFieldsCount(*args, **kwargs) + def GetFieldsCount(*args, **kwargs): return _windows.StatusBar_GetFieldsCount(*args, **kwargs) + def SetStatusText(*args, **kwargs): return _windows.StatusBar_SetStatusText(*args, **kwargs) + def GetStatusText(*args, **kwargs): return _windows.StatusBar_GetStatusText(*args, **kwargs) + def PushStatusText(*args, **kwargs): return _windows.StatusBar_PushStatusText(*args, **kwargs) + def PopStatusText(*args, **kwargs): return _windows.StatusBar_PopStatusText(*args, **kwargs) + def SetStatusWidths(*args, **kwargs): return _windows.StatusBar_SetStatusWidths(*args, **kwargs) + def GetFieldRect(*args, **kwargs): return _windows.StatusBar_GetFieldRect(*args, **kwargs) + def SetMinHeight(*args, **kwargs): return _windows.StatusBar_SetMinHeight(*args, **kwargs) + def GetBorderX(*args, **kwargs): return _windows.StatusBar_GetBorderX(*args, **kwargs) + def GetBorderY(*args, **kwargs): return _windows.StatusBar_GetBorderY(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class StatusBarPtr(StatusBar): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = StatusBar +_windows.StatusBar_swigregister(StatusBarPtr) +def PreStatusBar(*args, **kwargs): + val = _windows.new_PreStatusBar(*args, **kwargs) + val.thisown = 1 + return val +#--------------------------------------------------------------------------- +SP_NOBORDER = _windows.SP_NOBORDER +SP_NOSASH = _windows.SP_NOSASH +SP_PERMIT_UNSPLIT = _windows.SP_PERMIT_UNSPLIT +SP_LIVE_UPDATE = _windows.SP_LIVE_UPDATE +SP_3DSASH = _windows.SP_3DSASH +SP_3DBORDER = _windows.SP_3DBORDER +SP_BORDER = _windows.SP_BORDER +SP_3D = _windows.SP_3D +SPLIT_HORIZONTAL = _windows.SPLIT_HORIZONTAL +SPLIT_VERTICAL = _windows.SPLIT_VERTICAL +SPLIT_DRAG_NONE = _windows.SPLIT_DRAG_NONE +SPLIT_DRAG_DRAGGING = _windows.SPLIT_DRAG_DRAGGING +SPLIT_DRAG_LEFT_DOWN = _windows.SPLIT_DRAG_LEFT_DOWN +class SplitterWindow(core.Window): + def __init__(self, *args, **kwargs): + newobj = _windows.new_SplitterWindow(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.SplitterWindow_Create(*args, **kwargs) + def GetWindow1(*args, **kwargs): return _windows.SplitterWindow_GetWindow1(*args, **kwargs) + def GetWindow2(*args, **kwargs): return _windows.SplitterWindow_GetWindow2(*args, **kwargs) + def SetSplitMode(*args, **kwargs): return _windows.SplitterWindow_SetSplitMode(*args, **kwargs) + def GetSplitMode(*args, **kwargs): return _windows.SplitterWindow_GetSplitMode(*args, **kwargs) + def Initialize(*args, **kwargs): return _windows.SplitterWindow_Initialize(*args, **kwargs) + def SplitVertically(*args, **kwargs): return _windows.SplitterWindow_SplitVertically(*args, **kwargs) + def SplitHorizontally(*args, **kwargs): return _windows.SplitterWindow_SplitHorizontally(*args, **kwargs) + def Unsplit(*args, **kwargs): return _windows.SplitterWindow_Unsplit(*args, **kwargs) + def ReplaceWindow(*args, **kwargs): return _windows.SplitterWindow_ReplaceWindow(*args, **kwargs) + def IsSplit(*args, **kwargs): return _windows.SplitterWindow_IsSplit(*args, **kwargs) + def SetSashSize(*args, **kwargs): return _windows.SplitterWindow_SetSashSize(*args, **kwargs) + def SetBorderSize(*args, **kwargs): return _windows.SplitterWindow_SetBorderSize(*args, **kwargs) + def GetSashSize(*args, **kwargs): return _windows.SplitterWindow_GetSashSize(*args, **kwargs) + def GetBorderSize(*args, **kwargs): return _windows.SplitterWindow_GetBorderSize(*args, **kwargs) + def SetSashPosition(*args, **kwargs): return _windows.SplitterWindow_SetSashPosition(*args, **kwargs) + def GetSashPosition(*args, **kwargs): return _windows.SplitterWindow_GetSashPosition(*args, **kwargs) + def SetMinimumPaneSize(*args, **kwargs): return _windows.SplitterWindow_SetMinimumPaneSize(*args, **kwargs) + def GetMinimumPaneSize(*args, **kwargs): return _windows.SplitterWindow_GetMinimumPaneSize(*args, **kwargs) + def SashHitTest(*args, **kwargs): return _windows.SplitterWindow_SashHitTest(*args, **kwargs) + def SizeWindows(*args, **kwargs): return _windows.SplitterWindow_SizeWindows(*args, **kwargs) + def SetNeedUpdating(*args, **kwargs): return _windows.SplitterWindow_SetNeedUpdating(*args, **kwargs) + def GetNeedUpdating(*args, **kwargs): return _windows.SplitterWindow_GetNeedUpdating(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class wxWindowPtr(wxEvtHandlerPtr): - def __init__(self,this): +class SplitterWindowPtr(SplitterWindow): + def __init__(self, this): self.this = this - self.thisown = 0 - def Create(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Create,(self,) + _args, _kwargs) - return val - def Center(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Center,(self,) + _args, _kwargs) - return val - def Centre(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Centre,(self,) + _args, _kwargs) - return val - def CentreOnParent(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_CentreOnParent,(self,) + _args, _kwargs) - return val - def CenterOnParent(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_CenterOnParent,(self,) + _args, _kwargs) - return val - def CentreOnScreen(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_CentreOnScreen,(self,) + _args, _kwargs) - return val - def CenterOnScreen(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_CenterOnScreen,(self,) + _args, _kwargs) - return val - def Clear(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Clear,(self,) + _args, _kwargs) - return val - def ClientToScreenXY(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ClientToScreenXY,(self,) + _args, _kwargs) - return val - def ClientToScreen(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ClientToScreen,(self,) + _args, _kwargs) - if val: val = wxPointPtr(val) ; val.thisown = 1 - return val - def Close(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Close,(self,) + _args, _kwargs) - return val - def Destroy(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Destroy,(self,) + _args, _kwargs) - return val - def DestroyChildren(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_DestroyChildren,(self,) + _args, _kwargs) - return val - def IsBeingDeleted(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_IsBeingDeleted,(self,) + _args, _kwargs) - return val - def Enable(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Enable,(self,) + _args, _kwargs) - return val - def FindWindowById(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_FindWindowById,(self,) + _args, _kwargs) - return val - def FindWindowByName(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_FindWindowByName,(self,) + _args, _kwargs) - return val - def Fit(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Fit,(self,) + _args, _kwargs) - return val - def GetBackgroundColour(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetBackgroundColour,(self,) + _args, _kwargs) - if val: val = wxColourPtr(val) ; val.thisown = 1 - return val - def GetBorder(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetBorder,(self,) + _args, _kwargs) - return val - def GetChildren(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetChildren,(self,) + _args, _kwargs) - return val - def GetCharHeight(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetCharHeight,(self,) + _args, _kwargs) - return val - def GetCharWidth(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetCharWidth,(self,) + _args, _kwargs) - return val - def GetClientSizeTuple(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetClientSizeTuple,(self,) + _args, _kwargs) - return val - def GetClientSize(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetClientSize,(self,) + _args, _kwargs) - if val: val = wxSizePtr(val) ; val.thisown = 1 - return val - def GetClientAreaOrigin(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetClientAreaOrigin,(self,) + _args, _kwargs) - if val: val = wxPointPtr(val) ; val.thisown = 1 - return val - def GetClientRect(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetClientRect,(self,) + _args, _kwargs) - if val: val = wxRectPtr(val) ; val.thisown = 1 - return val - def GetConstraints(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetConstraints,(self,) + _args, _kwargs) - if val: val = wxLayoutConstraintsPtr(val) - return val - def GetEventHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetEventHandler,(self,) + _args, _kwargs) - return val - def GetFont(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetFont,(self,) + _args, _kwargs) - if val: val = wxFontPtr(val) ; val.thisown = 1 - return val - def GetForegroundColour(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetForegroundColour,(self,) + _args, _kwargs) - if val: val = wxColourPtr(val) ; val.thisown = 1 - return val - def GetGrandParent(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetGrandParent,(self,) + _args, _kwargs) - return val - def GetHandle(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetHandle,(self,) + _args, _kwargs) - return val - def GetId(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetId,(self,) + _args, _kwargs) - return val - def GetLabel(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetLabel,(self,) + _args, _kwargs) - return val - def SetLabel(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetLabel,(self,) + _args, _kwargs) - return val - def GetName(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetName,(self,) + _args, _kwargs) - return val - def GetParent(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetParent,(self,) + _args, _kwargs) - return val - def GetPositionTuple(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetPositionTuple,(self,) + _args, _kwargs) - return val - def GetPosition(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetPosition,(self,) + _args, _kwargs) - if val: val = wxPointPtr(val) ; val.thisown = 1 - return val - def GetRect(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetRect,(self,) + _args, _kwargs) - if val: val = wxRectPtr(val) ; val.thisown = 1 - return val - def GetScrollThumb(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetScrollThumb,(self,) + _args, _kwargs) - return val - def GetScrollPos(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetScrollPos,(self,) + _args, _kwargs) - return val - def GetScrollRange(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetScrollRange,(self,) + _args, _kwargs) - return val - def GetSizeTuple(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetSizeTuple,(self,) + _args, _kwargs) - return val - def GetSize(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetSize,(self,) + _args, _kwargs) - if val: val = wxSizePtr(val) ; val.thisown = 1 - return val - def GetTextExtent(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetTextExtent,(self,) + _args, _kwargs) - return val - def GetFullTextExtent(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetFullTextExtent,(self,) + _args, _kwargs) - return val - def GetTitle(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetTitle,(self,) + _args, _kwargs) - return val - def GetUpdateRegion(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetUpdateRegion,(self,) + _args, _kwargs) - if val: val = wxRegionPtr(val) ; val.thisown = 1 - return val - def GetWindowStyleFlag(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetWindowStyleFlag,(self,) + _args, _kwargs) - return val - def SetWindowStyleFlag(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetWindowStyleFlag,(self,) + _args, _kwargs) - return val - def SetWindowStyle(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetWindowStyle,(self,) + _args, _kwargs) - return val - def HasScrollbar(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_HasScrollbar,(self,) + _args, _kwargs) - return val - def Hide(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Hide,(self,) + _args, _kwargs) - return val - def HitTest(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_HitTest,(self,) + _args, _kwargs) - return val - def InitDialog(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_InitDialog,(self,) + _args, _kwargs) - return val - def IsEnabled(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_IsEnabled,(self,) + _args, _kwargs) - return val - def IsExposed(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_IsExposed,(self,) + _args, _kwargs) - return val - def IsExposedPoint(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_IsExposedPoint,(self,) + _args, _kwargs) - return val - def IsExposedRect(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_IsExposedRect,(self,) + _args, _kwargs) - return val - def IsRetained(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_IsRetained,(self,) + _args, _kwargs) - return val - def IsShown(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_IsShown,(self,) + _args, _kwargs) - return val - def IsTopLevel(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_IsTopLevel,(self,) + _args, _kwargs) - return val - def Layout(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Layout,(self,) + _args, _kwargs) - return val - def LoadFromResource(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_LoadFromResource,(self,) + _args, _kwargs) - return val - def Lower(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Lower,(self,) + _args, _kwargs) - return val - def MakeModal(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_MakeModal,(self,) + _args, _kwargs) - return val - def MoveXY(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_MoveXY,(self,) + _args, _kwargs) - return val - def Move(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Move,(self,) + _args, _kwargs) - return val - def PopEventHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_PopEventHandler,(self,) + _args, _kwargs) - return val - def PushEventHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_PushEventHandler,(self,) + _args, _kwargs) - return val - def RemoveEventHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_RemoveEventHandler,(self,) + _args, _kwargs) - return val - def PopupMenuXY(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_PopupMenuXY,(self,) + _args, _kwargs) - return val - def PopupMenu(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_PopupMenu,(self,) + _args, _kwargs) - return val - def Raise(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Raise,(self,) + _args, _kwargs) - return val - def Refresh(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Refresh,(self,) + _args, _kwargs) - return val - def RefreshRect(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_RefreshRect,(self,) + _args, _kwargs) - return val - def RemoveChild(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_RemoveChild,(self,) + _args, _kwargs) - return val - def Reparent(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Reparent,(self,) + _args, _kwargs) - return val - def ScreenToClientXY(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ScreenToClientXY,(self,) + _args, _kwargs) - return val - def ScreenToClient(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ScreenToClient,(self,) + _args, _kwargs) - if val: val = wxPointPtr(val) ; val.thisown = 1 - return val - def ScrollWindow(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ScrollWindow,(self,) + _args, _kwargs) - return val - def SetAutoLayout(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetAutoLayout,(self,) + _args, _kwargs) - return val - def GetAutoLayout(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetAutoLayout,(self,) + _args, _kwargs) - return val - def SetBackgroundColour(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetBackgroundColour,(self,) + _args, _kwargs) - return val - def SetConstraints(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetConstraints,(self,) + _args, _kwargs) - return val - def UnsetConstraints(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_UnsetConstraints,(self,) + _args, _kwargs) - return val - def SetFocus(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetFocus,(self,) + _args, _kwargs) - return val - def SetFocusFromKbd(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetFocusFromKbd,(self,) + _args, _kwargs) - return val - def AcceptsFocus(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_AcceptsFocus,(self,) + _args, _kwargs) - return val - def SetFont(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetFont,(self,) + _args, _kwargs) - return val - def SetForegroundColour(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetForegroundColour,(self,) + _args, _kwargs) - return val - def SetId(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetId,(self,) + _args, _kwargs) - return val - def SetName(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetName,(self,) + _args, _kwargs) - return val - def SetScrollbar(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetScrollbar,(self,) + _args, _kwargs) - return val - def SetScrollPos(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetScrollPos,(self,) + _args, _kwargs) - return val - def SetDimensions(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetDimensions,(self,) + _args, _kwargs) - return val - def SetSize(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetSize,(self,) + _args, _kwargs) - return val - def SetPosition(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetPosition,(self,) + _args, _kwargs) - return val - def SetRect(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetRect,(self,) + _args, _kwargs) - return val - def SetSizeHints(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetSizeHints,(self,) + _args, _kwargs) - return val - def SetVirtualSizeHints(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetVirtualSizeHints,(self,) + _args, _kwargs) - return val - def SetVirtualSize(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetVirtualSize,(self,) + _args, _kwargs) - return val - def SetVirtualSizeWH(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetVirtualSizeWH,(self,) + _args, _kwargs) - return val - def GetVirtualSize(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetVirtualSize,(self,) + _args, _kwargs) - if val: val = wxSizePtr(val) ; val.thisown = 1 - return val - def GetVirtualSizeTuple(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetVirtualSizeTuple,(self,) + _args, _kwargs) - return val - def SetClientSizeWH(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetClientSizeWH,(self,) + _args, _kwargs) - return val - def SetClientSize(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetClientSize,(self,) + _args, _kwargs) - return val - def SetCursor(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetCursor,(self,) + _args, _kwargs) - return val - def SetEventHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetEventHandler,(self,) + _args, _kwargs) - return val - def SetExtraStyle(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetExtraStyle,(self,) + _args, _kwargs) - return val - def SetTitle(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetTitle,(self,) + _args, _kwargs) - return val - def Show(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Show,(self,) + _args, _kwargs) - return val - def TransferDataFromWindow(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_TransferDataFromWindow,(self,) + _args, _kwargs) - return val - def TransferDataToWindow(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_TransferDataToWindow,(self,) + _args, _kwargs) - return val - def UpdateWindowUI(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_UpdateWindowUI,(self,) + _args, _kwargs) - return val - def Validate(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Validate,(self,) + _args, _kwargs) - return val - def ConvertDialogPointToPixels(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ConvertDialogPointToPixels,(self,) + _args, _kwargs) - if val: val = wxPointPtr(val) ; val.thisown = 1 - return val - def ConvertDialogSizeToPixels(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ConvertDialogSizeToPixels,(self,) + _args, _kwargs) - if val: val = wxSizePtr(val) ; val.thisown = 1 - return val - def DLG_PNT(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_DLG_PNT,(self,) + _args, _kwargs) - if val: val = wxPointPtr(val) ; val.thisown = 1 - return val - def DLG_SZE(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_DLG_SZE,(self,) + _args, _kwargs) - if val: val = wxSizePtr(val) ; val.thisown = 1 - return val - def ConvertPixelPointToDialog(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ConvertPixelPointToDialog,(self,) + _args, _kwargs) - if val: val = wxPointPtr(val) ; val.thisown = 1 - return val - def ConvertPixelSizeToDialog(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ConvertPixelSizeToDialog,(self,) + _args, _kwargs) - if val: val = wxSizePtr(val) ; val.thisown = 1 - return val - def SetToolTipString(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetToolTipString,(self,) + _args, _kwargs) - return val - def SetToolTip(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetToolTip,(self,) + _args, _kwargs) - return val - def GetToolTip(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetToolTip,(self,) + _args, _kwargs) - return val - def SetSizer(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetSizer,(self,) + _args, _kwargs) - return val - def SetSizerAndFit(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetSizerAndFit,(self,) + _args, _kwargs) - return val - def GetSizer(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetSizer,(self,) + _args, _kwargs) - return val - def SetContainingSizer(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetContainingSizer,(self,) + _args, _kwargs) - return val - def GetContainingSizer(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetContainingSizer,(self,) + _args, _kwargs) - return val - def GetValidator(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetValidator,(self,) + _args, _kwargs) - return val - def SetValidator(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetValidator,(self,) + _args, _kwargs) - return val - def GetBestSize(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetBestSize,(self,) + _args, _kwargs) - if val: val = wxSizePtr(val) ; val.thisown = 1 - return val - def GetMaxSize(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetMaxSize,(self,) + _args, _kwargs) - if val: val = wxSizePtr(val) ; val.thisown = 1 - return val - def SetCaret(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetCaret,(self,) + _args, _kwargs) - return val - def GetCaret(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetCaret,(self,) + _args, _kwargs) - if val: val = wxCaretPtr(val) - return val - def Freeze(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Freeze,(self,) + _args, _kwargs) - return val - def Thaw(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Thaw,(self,) + _args, _kwargs) - return val - def Update(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_Update,(self,) + _args, _kwargs) - return val - def GetHelpText(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetHelpText,(self,) + _args, _kwargs) - return val - def SetHelpText(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetHelpText,(self,) + _args, _kwargs) - return val - def SetHelpTextForId(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetHelpTextForId,(self,) + _args, _kwargs) - return val - def ScrollLines(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ScrollLines,(self,) + _args, _kwargs) - return val - def ScrollPages(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ScrollPages,(self,) + _args, _kwargs) - return val - def LineUp(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_LineUp,(self,) + _args, _kwargs) - return val - def LineDown(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_LineDown,(self,) + _args, _kwargs) - return val - def PageUp(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_PageUp,(self,) + _args, _kwargs) - return val - def PageDown(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_PageDown,(self,) + _args, _kwargs) - return val - def SetAcceleratorTable(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetAcceleratorTable,(self,) + _args, _kwargs) - return val - def GetAcceleratorTable(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetAcceleratorTable,(self,) + _args, _kwargs) - if val: val = wxAcceleratorTablePtr(val) - return val - def GetDefaultItem(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_GetDefaultItem,(self,) + _args, _kwargs) - return val - def SetDefaultItem(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_SetDefaultItem,(self,) + _args, _kwargs) - return val - def WarpPointer(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_WarpPointer,(self,) + _args, _kwargs) - return val - def CaptureMouse(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_CaptureMouse,(self,) + _args, _kwargs) - return val - def ReleaseMouse(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_ReleaseMouse,(self,) + _args, _kwargs) - return val - def HasCapture(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_HasCapture,(self,) + _args, _kwargs) - return val + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = SplitterWindow +_windows.SplitterWindow_swigregister(SplitterWindowPtr) + +def PreSplitterWindow(*args, **kwargs): + val = _windows.new_PreSplitterWindow(*args, **kwargs) + val.thisown = 1 + return val + +class SplitterEvent(core.NotifyEvent): + def __init__(self, *args, **kwargs): + newobj = _windows.new_SplitterEvent(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def SetSashPosition(*args, **kwargs): return _windows.SplitterEvent_SetSashPosition(*args, **kwargs) + def GetSashPosition(*args, **kwargs): return _windows.SplitterEvent_GetSashPosition(*args, **kwargs) + def GetWindowBeingRemoved(*args, **kwargs): return _windows.SplitterEvent_GetWindowBeingRemoved(*args, **kwargs) + def GetX(*args, **kwargs): return _windows.SplitterEvent_GetX(*args, **kwargs) + def GetY(*args, **kwargs): return _windows.SplitterEvent_GetY(*args, **kwargs) def __repr__(self): - return "" % (self.this,) - # replaces broken shadow method - def GetCaret(self, *_args, **_kwargs): - from misc2 import wxCaretPtr - val = apply(windowsc.wxWindow_GetCaret,(self,) + _args, _kwargs) - if val: val = wxCaretPtr(val) - return val - -class wxWindow(wxWindowPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(windowsc.new_wxWindow,_args,_kwargs) + return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class SplitterEventPtr(SplitterEvent): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = SplitterEvent +_windows.SplitterEvent_swigregister(SplitterEventPtr) + +wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = _windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED +wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = _windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING +wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = _windows.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED +wxEVT_COMMAND_SPLITTER_UNSPLIT = _windows.wxEVT_COMMAND_SPLITTER_UNSPLIT +EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 1 ) +EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 ) +EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 ) +EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) + +#--------------------------------------------------------------------------- + +SASH_DRAG_NONE = _windows.SASH_DRAG_NONE +SASH_DRAG_DRAGGING = _windows.SASH_DRAG_DRAGGING +SASH_DRAG_LEFT_DOWN = _windows.SASH_DRAG_LEFT_DOWN +SW_NOBORDER = _windows.SW_NOBORDER +SW_BORDER = _windows.SW_BORDER +SW_3DSASH = _windows.SW_3DSASH +SW_3DBORDER = _windows.SW_3DBORDER +SW_3D = _windows.SW_3D +SASH_TOP = _windows.SASH_TOP +SASH_RIGHT = _windows.SASH_RIGHT +SASH_BOTTOM = _windows.SASH_BOTTOM +SASH_LEFT = _windows.SASH_LEFT +SASH_NONE = _windows.SASH_NONE +class SashWindow(core.Window): + def __init__(self, *args, **kwargs): + newobj = _windows.new_SashWindow(*args, **kwargs) + self.this = newobj.this self.thisown = 1 + del newobj.thisown self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.SashWindow_Create(*args, **kwargs) + def SetSashVisible(*args, **kwargs): return _windows.SashWindow_SetSashVisible(*args, **kwargs) + def GetSashVisible(*args, **kwargs): return _windows.SashWindow_GetSashVisible(*args, **kwargs) + def SetSashBorder(*args, **kwargs): return _windows.SashWindow_SetSashBorder(*args, **kwargs) + def HasBorder(*args, **kwargs): return _windows.SashWindow_HasBorder(*args, **kwargs) + def GetEdgeMargin(*args, **kwargs): return _windows.SashWindow_GetEdgeMargin(*args, **kwargs) + def SetDefaultBorderSize(*args, **kwargs): return _windows.SashWindow_SetDefaultBorderSize(*args, **kwargs) + def GetDefaultBorderSize(*args, **kwargs): return _windows.SashWindow_GetDefaultBorderSize(*args, **kwargs) + def SetExtraBorderSize(*args, **kwargs): return _windows.SashWindow_SetExtraBorderSize(*args, **kwargs) + def GetExtraBorderSize(*args, **kwargs): return _windows.SashWindow_GetExtraBorderSize(*args, **kwargs) + def SetMinimumSizeX(*args, **kwargs): return _windows.SashWindow_SetMinimumSizeX(*args, **kwargs) + def SetMinimumSizeY(*args, **kwargs): return _windows.SashWindow_SetMinimumSizeY(*args, **kwargs) + def GetMinimumSizeX(*args, **kwargs): return _windows.SashWindow_GetMinimumSizeX(*args, **kwargs) + def GetMinimumSizeY(*args, **kwargs): return _windows.SashWindow_GetMinimumSizeY(*args, **kwargs) + def SetMaximumSizeX(*args, **kwargs): return _windows.SashWindow_SetMaximumSizeX(*args, **kwargs) + def SetMaximumSizeY(*args, **kwargs): return _windows.SashWindow_SetMaximumSizeY(*args, **kwargs) + def GetMaximumSizeX(*args, **kwargs): return _windows.SashWindow_GetMaximumSizeX(*args, **kwargs) + def GetMaximumSizeY(*args, **kwargs): return _windows.SashWindow_GetMaximumSizeY(*args, **kwargs) + def SashHitTest(*args, **kwargs): return _windows.SashWindow_SashHitTest(*args, **kwargs) + def SizeWindows(*args, **kwargs): return _windows.SashWindow_SizeWindows(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) +class SashWindowPtr(SashWindow): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = SashWindow +_windows.SashWindow_swigregister(SashWindowPtr) - -def wxPreWindow(*_args,**_kwargs): - val = wxWindowPtr(apply(windowsc.new_wxPreWindow,_args,_kwargs)) +def PreSashWindow(*args, **kwargs): + val = _windows.new_PreSashWindow(*args, **kwargs) val.thisown = 1 - val._setOORInfo(val) return val +SASH_STATUS_OK = _windows.SASH_STATUS_OK +SASH_STATUS_OUT_OF_RANGE = _windows.SASH_STATUS_OUT_OF_RANGE +class SashEvent(core.CommandEvent): + def __init__(self, *args, **kwargs): + newobj = _windows.new_SashEvent(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def SetEdge(*args, **kwargs): return _windows.SashEvent_SetEdge(*args, **kwargs) + def GetEdge(*args, **kwargs): return _windows.SashEvent_GetEdge(*args, **kwargs) + def SetDragRect(*args, **kwargs): return _windows.SashEvent_SetDragRect(*args, **kwargs) + def GetDragRect(*args, **kwargs): return _windows.SashEvent_GetDragRect(*args, **kwargs) + def SetDragStatus(*args, **kwargs): return _windows.SashEvent_SetDragStatus(*args, **kwargs) + def GetDragStatus(*args, **kwargs): return _windows.SashEvent_GetDragStatus(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class SashEventPtr(SashEvent): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = SashEvent +_windows.SashEvent_swigregister(SashEventPtr) + +wxEVT_SASH_DRAGGED = _windows.wxEVT_SASH_DRAGGED +EVT_SASH_DRAGGED = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 1 ) +EVT_SASH_DRAGGED_RANGE = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 2 ) + +#--------------------------------------------------------------------------- + +LAYOUT_HORIZONTAL = _windows.LAYOUT_HORIZONTAL +LAYOUT_VERTICAL = _windows.LAYOUT_VERTICAL +LAYOUT_NONE = _windows.LAYOUT_NONE +LAYOUT_TOP = _windows.LAYOUT_TOP +LAYOUT_LEFT = _windows.LAYOUT_LEFT +LAYOUT_RIGHT = _windows.LAYOUT_RIGHT +LAYOUT_BOTTOM = _windows.LAYOUT_BOTTOM +LAYOUT_LENGTH_Y = _windows.LAYOUT_LENGTH_Y +LAYOUT_LENGTH_X = _windows.LAYOUT_LENGTH_X +LAYOUT_MRU_LENGTH = _windows.LAYOUT_MRU_LENGTH +LAYOUT_QUERY = _windows.LAYOUT_QUERY +wxEVT_QUERY_LAYOUT_INFO = _windows.wxEVT_QUERY_LAYOUT_INFO +wxEVT_CALCULATE_LAYOUT = _windows.wxEVT_CALCULATE_LAYOUT +class QueryLayoutInfoEvent(core.Event): + def __init__(self, *args, **kwargs): + newobj = _windows.new_QueryLayoutInfoEvent(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def SetRequestedLength(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetRequestedLength(*args, **kwargs) + def GetRequestedLength(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetRequestedLength(*args, **kwargs) + def SetFlags(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetFlags(*args, **kwargs) + def GetFlags(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetFlags(*args, **kwargs) + def SetSize(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetSize(*args, **kwargs) + def GetSize(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetSize(*args, **kwargs) + def SetOrientation(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetOrientation(*args, **kwargs) + def GetOrientation(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetOrientation(*args, **kwargs) + def SetAlignment(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetAlignment(*args, **kwargs) + def GetAlignment(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetAlignment(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class wxPanelPtr(wxWindowPtr): - def __init__(self,this): +class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent): + def __init__(self, this): self.this = this - self.thisown = 0 - def Create(self, *_args, **_kwargs): - val = apply(windowsc.wxPanel_Create,(self,) + _args, _kwargs) - return val - def InitDialog(self, *_args, **_kwargs): - val = apply(windowsc.wxPanel_InitDialog,(self,) + _args, _kwargs) - return val + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = QueryLayoutInfoEvent +_windows.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr) + +class CalculateLayoutEvent(core.Event): + def __init__(self, *args, **kwargs): + newobj = _windows.new_CalculateLayoutEvent(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def SetFlags(*args, **kwargs): return _windows.CalculateLayoutEvent_SetFlags(*args, **kwargs) + def GetFlags(*args, **kwargs): return _windows.CalculateLayoutEvent_GetFlags(*args, **kwargs) + def SetRect(*args, **kwargs): return _windows.CalculateLayoutEvent_SetRect(*args, **kwargs) + def GetRect(*args, **kwargs): return _windows.CalculateLayoutEvent_GetRect(*args, **kwargs) def __repr__(self): - return "" % (self.this,) -class wxPanel(wxPanelPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(windowsc.new_wxPanel,_args,_kwargs) + return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class CalculateLayoutEventPtr(CalculateLayoutEvent): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = CalculateLayoutEvent +_windows.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr) + +EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO ) +EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT ) + +class SashLayoutWindow(SashWindow): + def __init__(self, *args, **kwargs): + newobj = _windows.new_SashLayoutWindow(*args, **kwargs) + self.this = newobj.this self.thisown = 1 + del newobj.thisown self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.SashLayoutWindow_Create(*args, **kwargs) + def GetAlignment(*args, **kwargs): return _windows.SashLayoutWindow_GetAlignment(*args, **kwargs) + def GetOrientation(*args, **kwargs): return _windows.SashLayoutWindow_GetOrientation(*args, **kwargs) + def SetAlignment(*args, **kwargs): return _windows.SashLayoutWindow_SetAlignment(*args, **kwargs) + def SetDefaultSize(*args, **kwargs): return _windows.SashLayoutWindow_SetDefaultSize(*args, **kwargs) + def SetOrientation(*args, **kwargs): return _windows.SashLayoutWindow_SetOrientation(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) +class SashLayoutWindowPtr(SashLayoutWindow): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = SashLayoutWindow +_windows.SashLayoutWindow_swigregister(SashLayoutWindowPtr) - -def wxPrePanel(*_args,**_kwargs): - val = wxPanelPtr(apply(windowsc.new_wxPrePanel,_args,_kwargs)) +def PreSashLayoutWindow(*args, **kwargs): + val = _windows.new_PreSashLayoutWindow(*args, **kwargs) val.thisown = 1 - val._setOORInfo(val) return val +class LayoutAlgorithm(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_LayoutAlgorithm(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_LayoutAlgorithm): + try: + if self.thisown: destroy(self) + except: pass + def LayoutMDIFrame(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutMDIFrame(*args, **kwargs) + def LayoutFrame(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutFrame(*args, **kwargs) + def LayoutWindow(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutWindow(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class wxScrolledWindowPtr(wxPanelPtr): - def __init__(self,this): +class LayoutAlgorithmPtr(LayoutAlgorithm): + def __init__(self, this): self.this = this - self.thisown = 0 - def Create(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_Create,(self,) + _args, _kwargs) - return val - def EnableScrolling(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_EnableScrolling,(self,) + _args, _kwargs) - return val - def GetScrollPageSize(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_GetScrollPageSize,(self,) + _args, _kwargs) - return val - def GetScrollPixelsPerUnit(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_GetScrollPixelsPerUnit,(self,) + _args, _kwargs) - return val - def GetTargetWindow(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_GetTargetWindow,(self,) + _args, _kwargs) - return val - def IsRetained(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_IsRetained,(self,) + _args, _kwargs) - return val - def PrepareDC(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_PrepareDC,(self,) + _args, _kwargs) - return val - def Scroll(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_Scroll,(self,) + _args, _kwargs) - return val - def SetScrollbars(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_SetScrollbars,(self,) + _args, _kwargs) - return val - def SetScrollPageSize(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_SetScrollPageSize,(self,) + _args, _kwargs) - return val - def SetTargetWindow(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_SetTargetWindow,(self,) + _args, _kwargs) - return val - def GetViewStart(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_GetViewStart,(self,) + _args, _kwargs) - return val - def CalcScrolledPosition1(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_CalcScrolledPosition1,(self,) + _args, _kwargs) - if val: val = wxPointPtr(val) ; val.thisown = 1 - return val - def CalcScrolledPosition2(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_CalcScrolledPosition2,(self,) + _args, _kwargs) - return val - def CalcUnscrolledPosition1(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_CalcUnscrolledPosition1,(self,) + _args, _kwargs) - if val: val = wxPointPtr(val) ; val.thisown = 1 - return val - def CalcUnscrolledPosition2(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_CalcUnscrolledPosition2,(self,) + _args, _kwargs) - return val - def SetScale(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_SetScale,(self,) + _args, _kwargs) - return val - def GetScaleX(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_GetScaleX,(self,) + _args, _kwargs) - return val - def GetScaleY(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_GetScaleY,(self,) + _args, _kwargs) - return val - def AdjustScrollbars(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_AdjustScrollbars,(self,) + _args, _kwargs) - return val - def Layout(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_Layout,(self,) + _args, _kwargs) - return val - def SetScrollRate(self, *_args, **_kwargs): - val = apply(windowsc.wxScrolledWindow_SetScrollRate,(self,) + _args, _kwargs) - return val + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = LayoutAlgorithm +_windows.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr) + +class PopupWindow(core.Window): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PopupWindow(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown def __repr__(self): - return "" % (self.this,) - ViewStart = GetViewStart - - def CalcScrolledPosition(self, *args): - if len(args) == 1: - return apply(self.CalcScrolledPosition1, args) - elif len(args) == 2: - return apply(self.CalcScrolledPosition2, args) - else: - raise TypeError, 'Invalid parameters: only (x,y) or (point) allowed' - - def CalcUnscrolledPosition(self, *args): - if len(args) == 1: - return apply(self.CalcUnscrolledPosition1, args) - elif len(args) == 2: - return apply(self.CalcUnscrolledPosition2, args) - else: - raise TypeError, 'Invalid parameters: only (x,y) or (point) allowed' - -class wxScrolledWindow(wxScrolledWindowPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(windowsc.new_wxScrolledWindow,_args,_kwargs) + return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PopupWindowPtr(PopupWindow): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PopupWindow +_windows.PopupWindow_swigregister(PopupWindowPtr) + +def PrePopupWindow(*args, **kwargs): + val = _windows.new_PrePopupWindow(*args, **kwargs) + val.thisown = 1 + return val + +class PopupTransientWindow(PopupWindow): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PopupTransientWindow(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PopupTransientWindowPtr(PopupTransientWindow): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PopupTransientWindow +_windows.PopupTransientWindow_swigregister(PopupTransientWindowPtr) + +def PrePopupTransientWindow(*args, **kwargs): + val = _windows.new_PrePopupTransientWindow(*args, **kwargs) + val.thisown = 1 + return val + +#--------------------------------------------------------------------------- + +class TipWindow(Frame): + def __init__(self, *args, **kwargs): + newobj = _windows.new_TipWindow(*args, **kwargs) + self.this = newobj.this self.thisown = 1 + del newobj.thisown self._setOORInfo(self) + def SetBoundingRect(*args, **kwargs): return _windows.TipWindow_SetBoundingRect(*args, **kwargs) + def Close(*args, **kwargs): return _windows.TipWindow_Close(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class TipWindowPtr(TipWindow): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = TipWindow +_windows.TipWindow_swigregister(TipWindowPtr) + +#--------------------------------------------------------------------------- + +class VScrolledWindow(Panel): + def __init__(self, *args, **kwargs): + newobj = _windows.new_VScrolledWindow(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self); self._setCallbackInfo(self, VScrolledWindow) + def _setCallbackInfo(*args, **kwargs): return _windows.VScrolledWindow__setCallbackInfo(*args, **kwargs) + def Create(*args, **kwargs): return _windows.VScrolledWindow_Create(*args, **kwargs) + def SetLineCount(*args, **kwargs): return _windows.VScrolledWindow_SetLineCount(*args, **kwargs) + def ScrollToLine(*args, **kwargs): return _windows.VScrolledWindow_ScrollToLine(*args, **kwargs) + def ScrollLines(*args, **kwargs): return _windows.VScrolledWindow_ScrollLines(*args, **kwargs) + def ScrollPages(*args, **kwargs): return _windows.VScrolledWindow_ScrollPages(*args, **kwargs) + def RefreshLine(*args, **kwargs): return _windows.VScrolledWindow_RefreshLine(*args, **kwargs) + def RefreshLines(*args, **kwargs): return _windows.VScrolledWindow_RefreshLines(*args, **kwargs) + def HitTestXT(*args, **kwargs): return _windows.VScrolledWindow_HitTestXT(*args, **kwargs) + def HitTest(*args, **kwargs): return _windows.VScrolledWindow_HitTest(*args, **kwargs) + def RefreshAll(*args, **kwargs): return _windows.VScrolledWindow_RefreshAll(*args, **kwargs) + def GetLineCount(*args, **kwargs): return _windows.VScrolledWindow_GetLineCount(*args, **kwargs) + def GetFirstVisibleLine(*args, **kwargs): return _windows.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs) + def GetLastVisibleLine(*args, **kwargs): return _windows.VScrolledWindow_GetLastVisibleLine(*args, **kwargs) + def IsVisible(*args, **kwargs): return _windows.VScrolledWindow_IsVisible(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class VScrolledWindowPtr(VScrolledWindow): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = VScrolledWindow +_windows.VScrolledWindow_swigregister(VScrolledWindowPtr) + +def PreVScrolledWindow(*args, **kwargs): + val = _windows.new_PreVScrolledWindow(*args, **kwargs) + val.thisown = 1 + return val +class VListBox(VScrolledWindow): + def __init__(self, *args, **kwargs): + newobj = _windows.new_VListBox(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self);self._setCallbackInfo(self, VListBox) + def _setCallbackInfo(*args, **kwargs): return _windows.VListBox__setCallbackInfo(*args, **kwargs) + def Create(*args, **kwargs): return _windows.VListBox_Create(*args, **kwargs) + def GetItemCount(*args, **kwargs): return _windows.VListBox_GetItemCount(*args, **kwargs) + def HasMultipleSelection(*args, **kwargs): return _windows.VListBox_HasMultipleSelection(*args, **kwargs) + def GetSelection(*args, **kwargs): return _windows.VListBox_GetSelection(*args, **kwargs) + def IsCurrent(*args, **kwargs): return _windows.VListBox_IsCurrent(*args, **kwargs) + def IsSelected(*args, **kwargs): return _windows.VListBox_IsSelected(*args, **kwargs) + def GetSelectedCount(*args, **kwargs): return _windows.VListBox_GetSelectedCount(*args, **kwargs) + def GetFirstSelected(*args, **kwargs): return _windows.VListBox_GetFirstSelected(*args, **kwargs) + def GetNextSelected(*args, **kwargs): return _windows.VListBox_GetNextSelected(*args, **kwargs) + def GetMargins(*args, **kwargs): return _windows.VListBox_GetMargins(*args, **kwargs) + def GetSelectionBackground(*args, **kwargs): return _windows.VListBox_GetSelectionBackground(*args, **kwargs) + def SetItemCount(*args, **kwargs): return _windows.VListBox_SetItemCount(*args, **kwargs) + def Clear(*args, **kwargs): return _windows.VListBox_Clear(*args, **kwargs) + def SetSelection(*args, **kwargs): return _windows.VListBox_SetSelection(*args, **kwargs) + def Select(*args, **kwargs): return _windows.VListBox_Select(*args, **kwargs) + def SelectRange(*args, **kwargs): return _windows.VListBox_SelectRange(*args, **kwargs) + def Toggle(*args, **kwargs): return _windows.VListBox_Toggle(*args, **kwargs) + def SelectAll(*args, **kwargs): return _windows.VListBox_SelectAll(*args, **kwargs) + def DeselectAll(*args, **kwargs): return _windows.VListBox_DeselectAll(*args, **kwargs) + def SetMargins(*args, **kwargs): return _windows.VListBox_SetMargins(*args, **kwargs) + def SetMarginsXY(*args, **kwargs): return _windows.VListBox_SetMarginsXY(*args, **kwargs) + def SetSelectionBackground(*args, **kwargs): return _windows.VListBox_SetSelectionBackground(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) +class VListBoxPtr(VListBox): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = VListBox +_windows.VListBox_swigregister(VListBoxPtr) -def wxPreScrolledWindow(*_args,**_kwargs): - val = wxScrolledWindowPtr(apply(windowsc.new_wxPreScrolledWindow,_args,_kwargs)) +def PreVListBox(*args, **kwargs): + val = _windows.new_PreVListBox(*args, **kwargs) val.thisown = 1 - val._setOORInfo(val) return val +class HtmlListBox(VListBox): + def __init__(self, *args, **kwargs): + newobj = _windows.new_HtmlListBox(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self);self._setCallbackInfo(self, HtmlListBox) + def _setCallbackInfo(*args, **kwargs): return _windows.HtmlListBox__setCallbackInfo(*args, **kwargs) + def Create(*args, **kwargs): return _windows.HtmlListBox_Create(*args, **kwargs) + def RefreshAll(*args, **kwargs): return _windows.HtmlListBox_RefreshAll(*args, **kwargs) + def SetItemCount(*args, **kwargs): return _windows.HtmlListBox_SetItemCount(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class wxMenuPtr(wxEvtHandlerPtr): - def __init__(self,this): +class HtmlListBoxPtr(HtmlListBox): + def __init__(self, this): self.this = this - self.thisown = 0 - def Append(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_Append,(self,) + _args, _kwargs) - return val - def AppendMenu(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_AppendMenu,(self,) + _args, _kwargs) - return val - def AppendItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_AppendItem,(self,) + _args, _kwargs) - return val - def AppendCheckItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_AppendCheckItem,(self,) + _args, _kwargs) - return val - def AppendRadioItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_AppendRadioItem,(self,) + _args, _kwargs) - return val - def AppendSeparator(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_AppendSeparator,(self,) + _args, _kwargs) - return val - def Insert(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_Insert,(self,) + _args, _kwargs) - return val - def InsertSeparator(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_InsertSeparator,(self,) + _args, _kwargs) - return val - def InsertCheckItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_InsertCheckItem,(self,) + _args, _kwargs) - return val - def InsertRadioItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_InsertRadioItem,(self,) + _args, _kwargs) - return val - def InsertMenu(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_InsertMenu,(self,) + _args, _kwargs) - return val - def InsertItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_InsertItem,(self,) + _args, _kwargs) - return val - def Prepend(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_Prepend,(self,) + _args, _kwargs) - return val - def PrependSeparator(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_PrependSeparator,(self,) + _args, _kwargs) - return val - def PrependCheckItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_PrependCheckItem,(self,) + _args, _kwargs) - return val - def PrependRadioItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_PrependRadioItem,(self,) + _args, _kwargs) - return val - def PrependMenu(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_PrependMenu,(self,) + _args, _kwargs) - return val - def PrependItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_PrependItem,(self,) + _args, _kwargs) - return val - def Break(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_Break,(self,) + _args, _kwargs) - return val - def Check(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_Check,(self,) + _args, _kwargs) - return val - def IsChecked(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_IsChecked,(self,) + _args, _kwargs) - return val - def Enable(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_Enable,(self,) + _args, _kwargs) - return val - def IsEnabled(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_IsEnabled,(self,) + _args, _kwargs) - return val - def FindItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_FindItem,(self,) + _args, _kwargs) - return val - def FindItemById(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_FindItemById,(self,) + _args, _kwargs) - return val - def GetTitle(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_GetTitle,(self,) + _args, _kwargs) - return val - def SetTitle(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_SetTitle,(self,) + _args, _kwargs) - return val - def GetLabel(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_GetLabel,(self,) + _args, _kwargs) - return val - def SetLabel(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_SetLabel,(self,) + _args, _kwargs) - return val - def GetHelpString(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_GetHelpString,(self,) + _args, _kwargs) - return val - def SetHelpString(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_SetHelpString,(self,) + _args, _kwargs) - return val - def UpdateUI(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_UpdateUI,(self,) + _args, _kwargs) - return val - def Delete(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_Delete,(self,) + _args, _kwargs) - return val - def DeleteItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_DeleteItem,(self,) + _args, _kwargs) - return val - def Remove(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_Remove,(self,) + _args, _kwargs) - return val - def RemoveItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_RemoveItem,(self,) + _args, _kwargs) - return val - def Destroy(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_Destroy,(self,) + _args, _kwargs) - return val - def DestroyId(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_DestroyId,(self,) + _args, _kwargs) - return val - def DestroyItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_DestroyItem,(self,) + _args, _kwargs) - return val - def GetMenuItemCount(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_GetMenuItemCount,(self,) + _args, _kwargs) - return val - def GetMenuItems(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_GetMenuItems,(self,) + _args, _kwargs) - return val - def SetEventHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_SetEventHandler,(self,) + _args, _kwargs) - return val - def GetEventHandler(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_GetEventHandler,(self,) + _args, _kwargs) - return val - def SetInvokingWindow(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_SetInvokingWindow,(self,) + _args, _kwargs) - return val - def GetInvokingWindow(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_GetInvokingWindow,(self,) + _args, _kwargs) - return val - def GetStyle(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_GetStyle,(self,) + _args, _kwargs) - return val - def IsAttached(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_IsAttached,(self,) + _args, _kwargs) - return val - def SetParent(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_SetParent,(self,) + _args, _kwargs) - return val - def GetParent(self, *_args, **_kwargs): - val = apply(windowsc.wxMenu_GetParent,(self,) + _args, _kwargs) - return val + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = HtmlListBox +_windows.HtmlListBox_swigregister(HtmlListBoxPtr) + +def PreHtmlListBox(*args, **kwargs): + val = _windows.new_PreHtmlListBox(*args, **kwargs) + val.thisown = 1 + return val + +#--------------------------------------------------------------------------- + +class TaskBarIcon(core.EvtHandler): + def __init__(self, *args, **kwargs): + newobj = _windows.new_TaskBarIcon(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_TaskBarIcon): + try: + if self.thisown: destroy(self) + except: pass + def __repr__(self): + return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class TaskBarIconPtr(TaskBarIcon): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = TaskBarIcon +_windows.TaskBarIcon_swigregister(TaskBarIconPtr) + +class TaskBarIconEvent(core.Event): + def __init__(self, *args, **kwargs): + newobj = _windows.new_TaskBarIconEvent(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __repr__(self): + return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class TaskBarIconEventPtr(TaskBarIconEvent): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = TaskBarIconEvent +_windows.TaskBarIconEvent_swigregister(TaskBarIconEventPtr) + +wxEVT_TASKBAR_MOVE = _windows.wxEVT_TASKBAR_MOVE +wxEVT_TASKBAR_LEFT_DOWN = _windows.wxEVT_TASKBAR_LEFT_DOWN +wxEVT_TASKBAR_LEFT_UP = _windows.wxEVT_TASKBAR_LEFT_UP +wxEVT_TASKBAR_RIGHT_DOWN = _windows.wxEVT_TASKBAR_RIGHT_DOWN +wxEVT_TASKBAR_RIGHT_UP = _windows.wxEVT_TASKBAR_RIGHT_UP +wxEVT_TASKBAR_LEFT_DCLICK = _windows.wxEVT_TASKBAR_LEFT_DCLICK +wxEVT_TASKBAR_RIGHT_DCLICK = _windows.wxEVT_TASKBAR_RIGHT_DCLICK +EVT_TASKBAR_MOVE = wx.PyEventBinder ( wxEVT_TASKBAR_MOVE ) +EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN ) +EVT_TASKBAR_LEFT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP ) +EVT_TASKBAR_RIGHT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN ) +EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP ) +EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK ) +EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK ) + +#--------------------------------------------------------------------------- + +class ColourData(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_ColourData(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_ColourData): + try: + if self.thisown: destroy(self) + except: pass + def GetChooseFull(*args, **kwargs): return _windows.ColourData_GetChooseFull(*args, **kwargs) + def GetColour(*args, **kwargs): return _windows.ColourData_GetColour(*args, **kwargs) + def GetCustomColour(*args, **kwargs): return _windows.ColourData_GetCustomColour(*args, **kwargs) + def SetChooseFull(*args, **kwargs): return _windows.ColourData_SetChooseFull(*args, **kwargs) + def SetColour(*args, **kwargs): return _windows.ColourData_SetColour(*args, **kwargs) + def SetCustomColour(*args, **kwargs): return _windows.ColourData_SetCustomColour(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class ColourDataPtr(ColourData): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = ColourData +_windows.ColourData_swigregister(ColourDataPtr) + +class ColourDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_ColourDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def GetColourData(*args, **kwargs): return _windows.ColourDialog_GetColourData(*args, **kwargs) + def ShowModal(*args, **kwargs): return _windows.ColourDialog_ShowModal(*args, **kwargs) def __repr__(self): - return "" % (self.this,) -class wxMenu(wxMenuPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(windowsc.new_wxMenu,_args,_kwargs) + return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class ColourDialogPtr(ColourDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = ColourDialog +_windows.ColourDialog_swigregister(ColourDialogPtr) + +class DirDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_DirDialog(*args, **kwargs) + self.this = newobj.this self.thisown = 1 + del newobj.thisown self._setOORInfo(self) + def GetPath(*args, **kwargs): return _windows.DirDialog_GetPath(*args, **kwargs) + def GetMessage(*args, **kwargs): return _windows.DirDialog_GetMessage(*args, **kwargs) + def GetStyle(*args, **kwargs): return _windows.DirDialog_GetStyle(*args, **kwargs) + def SetMessage(*args, **kwargs): return _windows.DirDialog_SetMessage(*args, **kwargs) + def SetPath(*args, **kwargs): return _windows.DirDialog_SetPath(*args, **kwargs) + def ShowModal(*args, **kwargs): return _windows.DirDialog_ShowModal(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class DirDialogPtr(DirDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = DirDialog +_windows.DirDialog_swigregister(DirDialogPtr) +class FileDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_FileDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def SetMessage(*args, **kwargs): return _windows.FileDialog_SetMessage(*args, **kwargs) + def SetPath(*args, **kwargs): return _windows.FileDialog_SetPath(*args, **kwargs) + def SetDirectory(*args, **kwargs): return _windows.FileDialog_SetDirectory(*args, **kwargs) + def SetFilename(*args, **kwargs): return _windows.FileDialog_SetFilename(*args, **kwargs) + def SetWildcard(*args, **kwargs): return _windows.FileDialog_SetWildcard(*args, **kwargs) + def SetStyle(*args, **kwargs): return _windows.FileDialog_SetStyle(*args, **kwargs) + def SetFilterIndex(*args, **kwargs): return _windows.FileDialog_SetFilterIndex(*args, **kwargs) + def GetMessage(*args, **kwargs): return _windows.FileDialog_GetMessage(*args, **kwargs) + def GetPath(*args, **kwargs): return _windows.FileDialog_GetPath(*args, **kwargs) + def GetDirectory(*args, **kwargs): return _windows.FileDialog_GetDirectory(*args, **kwargs) + def GetFilename(*args, **kwargs): return _windows.FileDialog_GetFilename(*args, **kwargs) + def GetWildcard(*args, **kwargs): return _windows.FileDialog_GetWildcard(*args, **kwargs) + def GetStyle(*args, **kwargs): return _windows.FileDialog_GetStyle(*args, **kwargs) + def GetFilterIndex(*args, **kwargs): return _windows.FileDialog_GetFilterIndex(*args, **kwargs) + def GetFilenames(*args, **kwargs): return _windows.FileDialog_GetFilenames(*args, **kwargs) + def GetPaths(*args, **kwargs): return _windows.FileDialog_GetPaths(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) +class FileDialogPtr(FileDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = FileDialog +_windows.FileDialog_swigregister(FileDialogPtr) +CHOICEDLG_STYLE = _windows.CHOICEDLG_STYLE +class MultiChoiceDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_MultiChoiceDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def SetSelections(*args, **kwargs): return _windows.MultiChoiceDialog_SetSelections(*args, **kwargs) + def GetSelections(*args, **kwargs): return _windows.MultiChoiceDialog_GetSelections(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class wxMenuBarPtr(wxWindowPtr): - def __init__(self,this): +class MultiChoiceDialogPtr(MultiChoiceDialog): + def __init__(self, this): self.this = this - self.thisown = 0 - def Append(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_Append,(self,) + _args, _kwargs) - return val - def Insert(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_Insert,(self,) + _args, _kwargs) - return val - def GetMenuCount(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_GetMenuCount,(self,) + _args, _kwargs) - return val - def GetMenu(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_GetMenu,(self,) + _args, _kwargs) - return val - def Replace(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_Replace,(self,) + _args, _kwargs) - return val - def Remove(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_Remove,(self,) + _args, _kwargs) - return val - def EnableTop(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_EnableTop,(self,) + _args, _kwargs) - return val - def SetLabelTop(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_SetLabelTop,(self,) + _args, _kwargs) - return val - def GetLabelTop(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_GetLabelTop,(self,) + _args, _kwargs) - return val - def FindMenu(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_FindMenu,(self,) + _args, _kwargs) - return val - def FindMenuItem(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_FindMenuItem,(self,) + _args, _kwargs) - return val - def FindItemById(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_FindItemById,(self,) + _args, _kwargs) - return val - def Enable(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_Enable,(self,) + _args, _kwargs) - return val - def Check(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_Check,(self,) + _args, _kwargs) - return val - def IsChecked(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_IsChecked,(self,) + _args, _kwargs) - return val - def IsEnabled(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_IsEnabled,(self,) + _args, _kwargs) - return val - def SetLabel(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_SetLabel,(self,) + _args, _kwargs) - return val - def GetLabel(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_GetLabel,(self,) + _args, _kwargs) - return val - def SetHelpString(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_SetHelpString,(self,) + _args, _kwargs) - return val - def GetHelpString(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuBar_GetHelpString,(self,) + _args, _kwargs) - return val + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = MultiChoiceDialog +_windows.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr) + +class SingleChoiceDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_SingleChoiceDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def GetSelection(*args, **kwargs): return _windows.SingleChoiceDialog_GetSelection(*args, **kwargs) + def GetStringSelection(*args, **kwargs): return _windows.SingleChoiceDialog_GetStringSelection(*args, **kwargs) + def SetSelection(*args, **kwargs): return _windows.SingleChoiceDialog_SetSelection(*args, **kwargs) + def ShowModal(*args, **kwargs): return _windows.SingleChoiceDialog_ShowModal(*args, **kwargs) def __repr__(self): - return "" % (self.this,) -class wxMenuBar(wxMenuBarPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(windowsc.new_wxMenuBar,_args,_kwargs) + return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class SingleChoiceDialogPtr(SingleChoiceDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = SingleChoiceDialog +_windows.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr) + +class TextEntryDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_TextEntryDialog(*args, **kwargs) + self.this = newobj.this self.thisown = 1 + del newobj.thisown self._setOORInfo(self) + def GetValue(*args, **kwargs): return _windows.TextEntryDialog_GetValue(*args, **kwargs) + def SetValue(*args, **kwargs): return _windows.TextEntryDialog_SetValue(*args, **kwargs) + def ShowModal(*args, **kwargs): return _windows.TextEntryDialog_ShowModal(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) +class TextEntryDialogPtr(TextEntryDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = TextEntryDialog +_windows.TextEntryDialog_swigregister(TextEntryDialogPtr) + +class FontData(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_FontData(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_FontData): + try: + if self.thisown: destroy(self) + except: pass + def EnableEffects(*args, **kwargs): return _windows.FontData_EnableEffects(*args, **kwargs) + def GetAllowSymbols(*args, **kwargs): return _windows.FontData_GetAllowSymbols(*args, **kwargs) + def GetColour(*args, **kwargs): return _windows.FontData_GetColour(*args, **kwargs) + def GetChosenFont(*args, **kwargs): return _windows.FontData_GetChosenFont(*args, **kwargs) + def GetEnableEffects(*args, **kwargs): return _windows.FontData_GetEnableEffects(*args, **kwargs) + def GetInitialFont(*args, **kwargs): return _windows.FontData_GetInitialFont(*args, **kwargs) + def GetShowHelp(*args, **kwargs): return _windows.FontData_GetShowHelp(*args, **kwargs) + def SetAllowSymbols(*args, **kwargs): return _windows.FontData_SetAllowSymbols(*args, **kwargs) + def SetChosenFont(*args, **kwargs): return _windows.FontData_SetChosenFont(*args, **kwargs) + def SetColour(*args, **kwargs): return _windows.FontData_SetColour(*args, **kwargs) + def SetInitialFont(*args, **kwargs): return _windows.FontData_SetInitialFont(*args, **kwargs) + def SetRange(*args, **kwargs): return _windows.FontData_SetRange(*args, **kwargs) + def SetShowHelp(*args, **kwargs): return _windows.FontData_SetShowHelp(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) +class FontDataPtr(FontData): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = FontData +_windows.FontData_swigregister(FontDataPtr) +class FontDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_FontDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def GetFontData(*args, **kwargs): return _windows.FontDialog_GetFontData(*args, **kwargs) + def ShowModal(*args, **kwargs): return _windows.FontDialog_ShowModal(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class wxMenuItemPtr(wxObjectPtr): - def __init__(self,this): +class FontDialogPtr(FontDialog): + def __init__(self, this): self.this = this - self.thisown = 0 - def GetMenu(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_GetMenu,(self,) + _args, _kwargs) - return val - def SetId(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_SetId,(self,) + _args, _kwargs) - return val - def GetId(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_GetId,(self,) + _args, _kwargs) - return val - def IsSeparator(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_IsSeparator,(self,) + _args, _kwargs) - return val - def SetText(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_SetText,(self,) + _args, _kwargs) - return val - def GetLabel(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_GetLabel,(self,) + _args, _kwargs) - return val - def GetText(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_GetText,(self,) + _args, _kwargs) - return val - def GetKind(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_GetKind,(self,) + _args, _kwargs) - return val - def SetCheckable(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_SetCheckable,(self,) + _args, _kwargs) - return val - def IsCheckable(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_IsCheckable,(self,) + _args, _kwargs) - return val - def IsSubMenu(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_IsSubMenu,(self,) + _args, _kwargs) - return val - def SetSubMenu(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_SetSubMenu,(self,) + _args, _kwargs) - return val - def GetSubMenu(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_GetSubMenu,(self,) + _args, _kwargs) - return val - def Enable(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_Enable,(self,) + _args, _kwargs) - return val - def IsEnabled(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_IsEnabled,(self,) + _args, _kwargs) - return val - def Check(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_Check,(self,) + _args, _kwargs) - return val - def IsChecked(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_IsChecked,(self,) + _args, _kwargs) - return val - def Toggle(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_Toggle,(self,) + _args, _kwargs) - return val - def SetHelp(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_SetHelp,(self,) + _args, _kwargs) - return val - def GetHelp(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_GetHelp,(self,) + _args, _kwargs) - return val - def GetAccel(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_GetAccel,(self,) + _args, _kwargs) - if val: val = wxAcceleratorEntryPtr(val) - return val - def SetAccel(self, *_args, **_kwargs): - val = apply(windowsc.wxMenuItem_SetAccel,(self,) + _args, _kwargs) - return val + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = FontDialog +_windows.FontDialog_swigregister(FontDialogPtr) + +class MessageDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_MessageDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def ShowModal(*args, **kwargs): return _windows.MessageDialog_ShowModal(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class MessageDialogPtr(MessageDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = MessageDialog +_windows.MessageDialog_swigregister(MessageDialogPtr) + +class ProgressDialog(Frame): + def __init__(self, *args, **kwargs): + newobj = _windows.new_ProgressDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def Update(*args, **kwargs): return _windows.ProgressDialog_Update(*args, **kwargs) + def Resume(*args, **kwargs): return _windows.ProgressDialog_Resume(*args, **kwargs) def __repr__(self): - return "" % (self.this,) -class wxMenuItem(wxMenuItemPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(windowsc.new_wxMenuItem,_args,_kwargs) + return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class ProgressDialogPtr(ProgressDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = ProgressDialog +_windows.ProgressDialog_swigregister(ProgressDialogPtr) + +FR_DOWN = _windows.FR_DOWN +FR_WHOLEWORD = _windows.FR_WHOLEWORD +FR_MATCHCASE = _windows.FR_MATCHCASE +FR_REPLACEDIALOG = _windows.FR_REPLACEDIALOG +FR_NOUPDOWN = _windows.FR_NOUPDOWN +FR_NOMATCHCASE = _windows.FR_NOMATCHCASE +FR_NOWHOLEWORD = _windows.FR_NOWHOLEWORD +wxEVT_COMMAND_FIND = _windows.wxEVT_COMMAND_FIND +wxEVT_COMMAND_FIND_NEXT = _windows.wxEVT_COMMAND_FIND_NEXT +wxEVT_COMMAND_FIND_REPLACE = _windows.wxEVT_COMMAND_FIND_REPLACE +wxEVT_COMMAND_FIND_REPLACE_ALL = _windows.wxEVT_COMMAND_FIND_REPLACE_ALL +wxEVT_COMMAND_FIND_CLOSE = _windows.wxEVT_COMMAND_FIND_CLOSE +EVT_FIND = wx.PyEventBinder( wxEVT_COMMAND_FIND, 1 ) +EVT_FIND_NEXT = wx.PyEventBinder( wxEVT_COMMAND_FIND_NEXT, 1 ) +EVT_FIND_REPLACE = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE, 1 ) +EVT_FIND_REPLACE_ALL = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL, 1 ) +EVT_FIND_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE, 1 ) + +# For backwards compatibility. Should they be removed? +EVT_COMMAND_FIND = EVT_FIND +EVT_COMMAND_FIND_NEXT = EVT_FIND_NEXT +EVT_COMMAND_FIND_REPLACE = EVT_FIND_REPLACE +EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL +EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE + +class FindDialogEvent(core.CommandEvent): + def __init__(self, *args, **kwargs): + newobj = _windows.new_FindDialogEvent(*args, **kwargs) + self.this = newobj.this self.thisown = 1 + del newobj.thisown + def GetFlags(*args, **kwargs): return _windows.FindDialogEvent_GetFlags(*args, **kwargs) + def GetFindString(*args, **kwargs): return _windows.FindDialogEvent_GetFindString(*args, **kwargs) + def GetReplaceString(*args, **kwargs): return _windows.FindDialogEvent_GetReplaceString(*args, **kwargs) + def GetDialog(*args, **kwargs): return _windows.FindDialogEvent_GetDialog(*args, **kwargs) + def SetFlags(*args, **kwargs): return _windows.FindDialogEvent_SetFlags(*args, **kwargs) + def SetFindString(*args, **kwargs): return _windows.FindDialogEvent_SetFindString(*args, **kwargs) + def SetReplaceString(*args, **kwargs): return _windows.FindDialogEvent_SetReplaceString(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) +class FindDialogEventPtr(FindDialogEvent): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = FindDialogEvent +_windows.FindDialogEvent_swigregister(FindDialogEventPtr) +class FindReplaceData(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_FindReplaceData(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_FindReplaceData): + try: + if self.thisown: destroy(self) + except: pass + def GetFindString(*args, **kwargs): return _windows.FindReplaceData_GetFindString(*args, **kwargs) + def GetReplaceString(*args, **kwargs): return _windows.FindReplaceData_GetReplaceString(*args, **kwargs) + def GetFlags(*args, **kwargs): return _windows.FindReplaceData_GetFlags(*args, **kwargs) + def SetFlags(*args, **kwargs): return _windows.FindReplaceData_SetFlags(*args, **kwargs) + def SetFindString(*args, **kwargs): return _windows.FindReplaceData_SetFindString(*args, **kwargs) + def SetReplaceString(*args, **kwargs): return _windows.FindReplaceData_SetReplaceString(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) +class FindReplaceDataPtr(FindReplaceData): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = FindReplaceData +_windows.FindReplaceData_swigregister(FindReplaceDataPtr) +class FindReplaceDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_FindReplaceDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.FindReplaceDialog_Create(*args, **kwargs) + def GetData(*args, **kwargs): return _windows.FindReplaceDialog_GetData(*args, **kwargs) + def SetData(*args, **kwargs): return _windows.FindReplaceDialog_SetData(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) +class FindReplaceDialogPtr(FindReplaceDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = FindReplaceDialog +_windows.FindReplaceDialog_swigregister(FindReplaceDialogPtr) -#-------------- FUNCTION WRAPPERS ------------------ +def PreFindReplaceDialog(*args, **kwargs): + val = _windows.new_PreFindReplaceDialog(*args, **kwargs) + val.thisown = 1 + return val -wxValidator_IsSilent = windowsc.wxValidator_IsSilent +#--------------------------------------------------------------------------- -wxValidator_SetBellOnError = windowsc.wxValidator_SetBellOnError +IDM_WINDOWTILE = _windows.IDM_WINDOWTILE +IDM_WINDOWTILEHOR = _windows.IDM_WINDOWTILEHOR +IDM_WINDOWCASCADE = _windows.IDM_WINDOWCASCADE +IDM_WINDOWICONS = _windows.IDM_WINDOWICONS +IDM_WINDOWNEXT = _windows.IDM_WINDOWNEXT +IDM_WINDOWTILEVERT = _windows.IDM_WINDOWTILEVERT +FIRST_MDI_CHILD = _windows.FIRST_MDI_CHILD +LAST_MDI_CHILD = _windows.LAST_MDI_CHILD +class MDIParentFrame(Frame): + def __init__(self, *args, **kwargs): + newobj = _windows.new_MDIParentFrame(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.MDIParentFrame_Create(*args, **kwargs) + def ActivateNext(*args, **kwargs): return _windows.MDIParentFrame_ActivateNext(*args, **kwargs) + def ActivatePrevious(*args, **kwargs): return _windows.MDIParentFrame_ActivatePrevious(*args, **kwargs) + def ArrangeIcons(*args, **kwargs): return _windows.MDIParentFrame_ArrangeIcons(*args, **kwargs) + def Cascade(*args, **kwargs): return _windows.MDIParentFrame_Cascade(*args, **kwargs) + def GetActiveChild(*args, **kwargs): return _windows.MDIParentFrame_GetActiveChild(*args, **kwargs) + def GetClientWindow(*args, **kwargs): return _windows.MDIParentFrame_GetClientWindow(*args, **kwargs) + def GetToolBar(*args, **kwargs): return _windows.MDIParentFrame_GetToolBar(*args, **kwargs) + def Tile(*args, **kwargs): return _windows.MDIParentFrame_Tile(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -def wxWindow_FindFocus(*_args, **_kwargs): - val = apply(windowsc.wxWindow_FindFocus,_args,_kwargs) +class MDIParentFramePtr(MDIParentFrame): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = MDIParentFrame +_windows.MDIParentFrame_swigregister(MDIParentFramePtr) + +def PreMDIParentFrame(*args, **kwargs): + val = _windows.new_PreMDIParentFrame(*args, **kwargs) + val.thisown = 1 return val -wxWindow_NewControlId = windowsc.wxWindow_NewControlId +class MDIChildFrame(Frame): + def __init__(self, *args, **kwargs): + newobj = _windows.new_MDIChildFrame(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.MDIChildFrame_Create(*args, **kwargs) + def Activate(*args, **kwargs): return _windows.MDIChildFrame_Activate(*args, **kwargs) + def Maximize(*args, **kwargs): return _windows.MDIChildFrame_Maximize(*args, **kwargs) + def Restore(*args, **kwargs): return _windows.MDIChildFrame_Restore(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -wxWindow_NextControlId = windowsc.wxWindow_NextControlId +class MDIChildFramePtr(MDIChildFrame): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = MDIChildFrame +_windows.MDIChildFrame_swigregister(MDIChildFramePtr) -wxWindow_PrevControlId = windowsc.wxWindow_PrevControlId +def PreMDIChildFrame(*args, **kwargs): + val = _windows.new_PreMDIChildFrame(*args, **kwargs) + val.thisown = 1 + return val -def wxWindow_GetCapture(*_args, **_kwargs): - val = apply(windowsc.wxWindow_GetCapture,_args,_kwargs) +class MDIClientWindow(core.Window): + def __init__(self, *args, **kwargs): + newobj = _windows.new_MDIClientWindow(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def Create(*args, **kwargs): return _windows.MDIClientWindow_Create(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class MDIClientWindowPtr(MDIClientWindow): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = MDIClientWindow +_windows.MDIClientWindow_swigregister(MDIClientWindowPtr) + +def PreMDIClientWindow(*args, **kwargs): + val = _windows.new_PreMDIClientWindow(*args, **kwargs) + val.thisown = 1 return val -wxMenuItem_GetLabelFromText = windowsc.wxMenuItem_GetLabelFromText +#--------------------------------------------------------------------------- + +class PyWindow(core.Window): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PyWindow(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self); self._setCallbackInfo(self, PyWindow) + def _setCallbackInfo(*args, **kwargs): return _windows.PyWindow__setCallbackInfo(*args, **kwargs) + def base_DoMoveWindow(*args, **kwargs): return _windows.PyWindow_base_DoMoveWindow(*args, **kwargs) + def base_DoSetSize(*args, **kwargs): return _windows.PyWindow_base_DoSetSize(*args, **kwargs) + def base_DoSetClientSize(*args, **kwargs): return _windows.PyWindow_base_DoSetClientSize(*args, **kwargs) + def base_DoSetVirtualSize(*args, **kwargs): return _windows.PyWindow_base_DoSetVirtualSize(*args, **kwargs) + def base_DoGetSize(*args, **kwargs): return _windows.PyWindow_base_DoGetSize(*args, **kwargs) + def base_DoGetClientSize(*args, **kwargs): return _windows.PyWindow_base_DoGetClientSize(*args, **kwargs) + def base_DoGetPosition(*args, **kwargs): return _windows.PyWindow_base_DoGetPosition(*args, **kwargs) + def base_DoGetVirtualSize(*args, **kwargs): return _windows.PyWindow_base_DoGetVirtualSize(*args, **kwargs) + def base_DoGetBestSize(*args, **kwargs): return _windows.PyWindow_base_DoGetBestSize(*args, **kwargs) + def base_InitDialog(*args, **kwargs): return _windows.PyWindow_base_InitDialog(*args, **kwargs) + def base_TransferDataToWindow(*args, **kwargs): return _windows.PyWindow_base_TransferDataToWindow(*args, **kwargs) + def base_TransferDataFromWindow(*args, **kwargs): return _windows.PyWindow_base_TransferDataFromWindow(*args, **kwargs) + def base_Validate(*args, **kwargs): return _windows.PyWindow_base_Validate(*args, **kwargs) + def base_AcceptsFocus(*args, **kwargs): return _windows.PyWindow_base_AcceptsFocus(*args, **kwargs) + def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _windows.PyWindow_base_AcceptsFocusFromKeyboard(*args, **kwargs) + def base_GetMaxSize(*args, **kwargs): return _windows.PyWindow_base_GetMaxSize(*args, **kwargs) + def base_AddChild(*args, **kwargs): return _windows.PyWindow_base_AddChild(*args, **kwargs) + def base_RemoveChild(*args, **kwargs): return _windows.PyWindow_base_RemoveChild(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PyWindowPtr(PyWindow): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PyWindow +_windows.PyWindow_swigregister(PyWindowPtr) + +class PyPanel(Panel): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PyPanel(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self); self._setCallbackInfo(self, PyPanel) + def _setCallbackInfo(*args, **kwargs): return _windows.PyPanel__setCallbackInfo(*args, **kwargs) + def base_DoMoveWindow(*args, **kwargs): return _windows.PyPanel_base_DoMoveWindow(*args, **kwargs) + def base_DoSetSize(*args, **kwargs): return _windows.PyPanel_base_DoSetSize(*args, **kwargs) + def base_DoSetClientSize(*args, **kwargs): return _windows.PyPanel_base_DoSetClientSize(*args, **kwargs) + def base_DoSetVirtualSize(*args, **kwargs): return _windows.PyPanel_base_DoSetVirtualSize(*args, **kwargs) + def base_DoGetSize(*args, **kwargs): return _windows.PyPanel_base_DoGetSize(*args, **kwargs) + def base_DoGetClientSize(*args, **kwargs): return _windows.PyPanel_base_DoGetClientSize(*args, **kwargs) + def base_DoGetPosition(*args, **kwargs): return _windows.PyPanel_base_DoGetPosition(*args, **kwargs) + def base_DoGetVirtualSize(*args, **kwargs): return _windows.PyPanel_base_DoGetVirtualSize(*args, **kwargs) + def base_DoGetBestSize(*args, **kwargs): return _windows.PyPanel_base_DoGetBestSize(*args, **kwargs) + def base_InitDialog(*args, **kwargs): return _windows.PyPanel_base_InitDialog(*args, **kwargs) + def base_TransferDataToWindow(*args, **kwargs): return _windows.PyPanel_base_TransferDataToWindow(*args, **kwargs) + def base_TransferDataFromWindow(*args, **kwargs): return _windows.PyPanel_base_TransferDataFromWindow(*args, **kwargs) + def base_Validate(*args, **kwargs): return _windows.PyPanel_base_Validate(*args, **kwargs) + def base_AcceptsFocus(*args, **kwargs): return _windows.PyPanel_base_AcceptsFocus(*args, **kwargs) + def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _windows.PyPanel_base_AcceptsFocusFromKeyboard(*args, **kwargs) + def base_GetMaxSize(*args, **kwargs): return _windows.PyPanel_base_GetMaxSize(*args, **kwargs) + def base_AddChild(*args, **kwargs): return _windows.PyPanel_base_AddChild(*args, **kwargs) + def base_RemoveChild(*args, **kwargs): return _windows.PyPanel_base_RemoveChild(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PyPanelPtr(PyPanel): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PyPanel +_windows.PyPanel_swigregister(PyPanelPtr) + +#--------------------------------------------------------------------------- + +PRINT_MODE_NONE = _windows.PRINT_MODE_NONE +PRINT_MODE_PREVIEW = _windows.PRINT_MODE_PREVIEW +PRINT_MODE_FILE = _windows.PRINT_MODE_FILE +PRINT_MODE_PRINTER = _windows.PRINT_MODE_PRINTER +class PrintData(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PrintData(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_PrintData): + try: + if self.thisown: destroy(self) + except: pass + def GetNoCopies(*args, **kwargs): return _windows.PrintData_GetNoCopies(*args, **kwargs) + def GetCollate(*args, **kwargs): return _windows.PrintData_GetCollate(*args, **kwargs) + def GetOrientation(*args, **kwargs): return _windows.PrintData_GetOrientation(*args, **kwargs) + def Ok(*args, **kwargs): return _windows.PrintData_Ok(*args, **kwargs) + def GetPrinterName(*args, **kwargs): return _windows.PrintData_GetPrinterName(*args, **kwargs) + def GetColour(*args, **kwargs): return _windows.PrintData_GetColour(*args, **kwargs) + def GetDuplex(*args, **kwargs): return _windows.PrintData_GetDuplex(*args, **kwargs) + def GetPaperId(*args, **kwargs): return _windows.PrintData_GetPaperId(*args, **kwargs) + def GetPaperSize(*args, **kwargs): return _windows.PrintData_GetPaperSize(*args, **kwargs) + def GetQuality(*args, **kwargs): return _windows.PrintData_GetQuality(*args, **kwargs) + def SetNoCopies(*args, **kwargs): return _windows.PrintData_SetNoCopies(*args, **kwargs) + def SetCollate(*args, **kwargs): return _windows.PrintData_SetCollate(*args, **kwargs) + def SetOrientation(*args, **kwargs): return _windows.PrintData_SetOrientation(*args, **kwargs) + def SetPrinterName(*args, **kwargs): return _windows.PrintData_SetPrinterName(*args, **kwargs) + def SetColour(*args, **kwargs): return _windows.PrintData_SetColour(*args, **kwargs) + def SetDuplex(*args, **kwargs): return _windows.PrintData_SetDuplex(*args, **kwargs) + def SetPaperId(*args, **kwargs): return _windows.PrintData_SetPaperId(*args, **kwargs) + def SetPaperSize(*args, **kwargs): return _windows.PrintData_SetPaperSize(*args, **kwargs) + def SetQuality(*args, **kwargs): return _windows.PrintData_SetQuality(*args, **kwargs) + def GetPrinterCommand(*args, **kwargs): return _windows.PrintData_GetPrinterCommand(*args, **kwargs) + def GetPrinterOptions(*args, **kwargs): return _windows.PrintData_GetPrinterOptions(*args, **kwargs) + def GetPreviewCommand(*args, **kwargs): return _windows.PrintData_GetPreviewCommand(*args, **kwargs) + def GetFilename(*args, **kwargs): return _windows.PrintData_GetFilename(*args, **kwargs) + def GetFontMetricPath(*args, **kwargs): return _windows.PrintData_GetFontMetricPath(*args, **kwargs) + def GetPrinterScaleX(*args, **kwargs): return _windows.PrintData_GetPrinterScaleX(*args, **kwargs) + def GetPrinterScaleY(*args, **kwargs): return _windows.PrintData_GetPrinterScaleY(*args, **kwargs) + def GetPrinterTranslateX(*args, **kwargs): return _windows.PrintData_GetPrinterTranslateX(*args, **kwargs) + def GetPrinterTranslateY(*args, **kwargs): return _windows.PrintData_GetPrinterTranslateY(*args, **kwargs) + def GetPrintMode(*args, **kwargs): return _windows.PrintData_GetPrintMode(*args, **kwargs) + def SetPrinterCommand(*args, **kwargs): return _windows.PrintData_SetPrinterCommand(*args, **kwargs) + def SetPrinterOptions(*args, **kwargs): return _windows.PrintData_SetPrinterOptions(*args, **kwargs) + def SetPreviewCommand(*args, **kwargs): return _windows.PrintData_SetPreviewCommand(*args, **kwargs) + def SetFilename(*args, **kwargs): return _windows.PrintData_SetFilename(*args, **kwargs) + def SetFontMetricPath(*args, **kwargs): return _windows.PrintData_SetFontMetricPath(*args, **kwargs) + def SetPrinterScaleX(*args, **kwargs): return _windows.PrintData_SetPrinterScaleX(*args, **kwargs) + def SetPrinterScaleY(*args, **kwargs): return _windows.PrintData_SetPrinterScaleY(*args, **kwargs) + def SetPrinterScaling(*args, **kwargs): return _windows.PrintData_SetPrinterScaling(*args, **kwargs) + def SetPrinterTranslateX(*args, **kwargs): return _windows.PrintData_SetPrinterTranslateX(*args, **kwargs) + def SetPrinterTranslateY(*args, **kwargs): return _windows.PrintData_SetPrinterTranslateY(*args, **kwargs) + def SetPrinterTranslation(*args, **kwargs): return _windows.PrintData_SetPrinterTranslation(*args, **kwargs) + def SetPrintMode(*args, **kwargs): return _windows.PrintData_SetPrintMode(*args, **kwargs) + def __nonzero__(self): return self.Ok() + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PrintDataPtr(PrintData): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PrintData +_windows.PrintData_swigregister(PrintDataPtr) + +class PageSetupDialogData(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PageSetupDialogData(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_PageSetupDialogData): + try: + if self.thisown: destroy(self) + except: pass + def EnableHelp(*args, **kwargs): return _windows.PageSetupDialogData_EnableHelp(*args, **kwargs) + def EnableMargins(*args, **kwargs): return _windows.PageSetupDialogData_EnableMargins(*args, **kwargs) + def EnableOrientation(*args, **kwargs): return _windows.PageSetupDialogData_EnableOrientation(*args, **kwargs) + def EnablePaper(*args, **kwargs): return _windows.PageSetupDialogData_EnablePaper(*args, **kwargs) + def EnablePrinter(*args, **kwargs): return _windows.PageSetupDialogData_EnablePrinter(*args, **kwargs) + def GetDefaultMinMargins(*args, **kwargs): return _windows.PageSetupDialogData_GetDefaultMinMargins(*args, **kwargs) + def GetEnableMargins(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableMargins(*args, **kwargs) + def GetEnableOrientation(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableOrientation(*args, **kwargs) + def GetEnablePaper(*args, **kwargs): return _windows.PageSetupDialogData_GetEnablePaper(*args, **kwargs) + def GetEnablePrinter(*args, **kwargs): return _windows.PageSetupDialogData_GetEnablePrinter(*args, **kwargs) + def GetEnableHelp(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableHelp(*args, **kwargs) + def GetDefaultInfo(*args, **kwargs): return _windows.PageSetupDialogData_GetDefaultInfo(*args, **kwargs) + def GetMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_GetMarginTopLeft(*args, **kwargs) + def GetMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_GetMarginBottomRight(*args, **kwargs) + def GetMinMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_GetMinMarginTopLeft(*args, **kwargs) + def GetMinMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_GetMinMarginBottomRight(*args, **kwargs) + def GetPaperId(*args, **kwargs): return _windows.PageSetupDialogData_GetPaperId(*args, **kwargs) + def GetPaperSize(*args, **kwargs): return _windows.PageSetupDialogData_GetPaperSize(*args, **kwargs) + def GetPrintData(*args, **kwargs): return _windows.PageSetupDialogData_GetPrintData(*args, **kwargs) + def Ok(*args, **kwargs): return _windows.PageSetupDialogData_Ok(*args, **kwargs) + def SetDefaultInfo(*args, **kwargs): return _windows.PageSetupDialogData_SetDefaultInfo(*args, **kwargs) + def SetDefaultMinMargins(*args, **kwargs): return _windows.PageSetupDialogData_SetDefaultMinMargins(*args, **kwargs) + def SetMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_SetMarginTopLeft(*args, **kwargs) + def SetMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_SetMarginBottomRight(*args, **kwargs) + def SetMinMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_SetMinMarginTopLeft(*args, **kwargs) + def SetMinMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_SetMinMarginBottomRight(*args, **kwargs) + def SetPaperId(*args, **kwargs): return _windows.PageSetupDialogData_SetPaperId(*args, **kwargs) + def SetPaperSize(*args, **kwargs): return _windows.PageSetupDialogData_SetPaperSize(*args, **kwargs) + def SetPrintData(*args, **kwargs): return _windows.PageSetupDialogData_SetPrintData(*args, **kwargs) + def __nonzero__(self): return self.Ok() + def __repr__(self): + return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PageSetupDialogDataPtr(PageSetupDialogData): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PageSetupDialogData +_windows.PageSetupDialogData_swigregister(PageSetupDialogDataPtr) + +class PageSetupDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PageSetupDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def GetPageSetupData(*args, **kwargs): return _windows.PageSetupDialog_GetPageSetupData(*args, **kwargs) + def ShowModal(*args, **kwargs): return _windows.PageSetupDialog_ShowModal(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PageSetupDialogPtr(PageSetupDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PageSetupDialog +_windows.PageSetupDialog_swigregister(PageSetupDialogPtr) + +class PrintDialogData(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PrintDialogData(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_PrintDialogData): + try: + if self.thisown: destroy(self) + except: pass + def GetFromPage(*args, **kwargs): return _windows.PrintDialogData_GetFromPage(*args, **kwargs) + def GetToPage(*args, **kwargs): return _windows.PrintDialogData_GetToPage(*args, **kwargs) + def GetMinPage(*args, **kwargs): return _windows.PrintDialogData_GetMinPage(*args, **kwargs) + def GetMaxPage(*args, **kwargs): return _windows.PrintDialogData_GetMaxPage(*args, **kwargs) + def GetNoCopies(*args, **kwargs): return _windows.PrintDialogData_GetNoCopies(*args, **kwargs) + def GetAllPages(*args, **kwargs): return _windows.PrintDialogData_GetAllPages(*args, **kwargs) + def GetSelection(*args, **kwargs): return _windows.PrintDialogData_GetSelection(*args, **kwargs) + def GetCollate(*args, **kwargs): return _windows.PrintDialogData_GetCollate(*args, **kwargs) + def GetPrintToFile(*args, **kwargs): return _windows.PrintDialogData_GetPrintToFile(*args, **kwargs) + def GetSetupDialog(*args, **kwargs): return _windows.PrintDialogData_GetSetupDialog(*args, **kwargs) + def SetFromPage(*args, **kwargs): return _windows.PrintDialogData_SetFromPage(*args, **kwargs) + def SetToPage(*args, **kwargs): return _windows.PrintDialogData_SetToPage(*args, **kwargs) + def SetMinPage(*args, **kwargs): return _windows.PrintDialogData_SetMinPage(*args, **kwargs) + def SetMaxPage(*args, **kwargs): return _windows.PrintDialogData_SetMaxPage(*args, **kwargs) + def SetNoCopies(*args, **kwargs): return _windows.PrintDialogData_SetNoCopies(*args, **kwargs) + def SetAllPages(*args, **kwargs): return _windows.PrintDialogData_SetAllPages(*args, **kwargs) + def SetSelection(*args, **kwargs): return _windows.PrintDialogData_SetSelection(*args, **kwargs) + def SetCollate(*args, **kwargs): return _windows.PrintDialogData_SetCollate(*args, **kwargs) + def SetPrintToFile(*args, **kwargs): return _windows.PrintDialogData_SetPrintToFile(*args, **kwargs) + def SetSetupDialog(*args, **kwargs): return _windows.PrintDialogData_SetSetupDialog(*args, **kwargs) + def EnablePrintToFile(*args, **kwargs): return _windows.PrintDialogData_EnablePrintToFile(*args, **kwargs) + def EnableSelection(*args, **kwargs): return _windows.PrintDialogData_EnableSelection(*args, **kwargs) + def EnablePageNumbers(*args, **kwargs): return _windows.PrintDialogData_EnablePageNumbers(*args, **kwargs) + def EnableHelp(*args, **kwargs): return _windows.PrintDialogData_EnableHelp(*args, **kwargs) + def GetEnablePrintToFile(*args, **kwargs): return _windows.PrintDialogData_GetEnablePrintToFile(*args, **kwargs) + def GetEnableSelection(*args, **kwargs): return _windows.PrintDialogData_GetEnableSelection(*args, **kwargs) + def GetEnablePageNumbers(*args, **kwargs): return _windows.PrintDialogData_GetEnablePageNumbers(*args, **kwargs) + def GetEnableHelp(*args, **kwargs): return _windows.PrintDialogData_GetEnableHelp(*args, **kwargs) + def Ok(*args, **kwargs): return _windows.PrintDialogData_Ok(*args, **kwargs) + def GetPrintData(*args, **kwargs): return _windows.PrintDialogData_GetPrintData(*args, **kwargs) + def SetPrintData(*args, **kwargs): return _windows.PrintDialogData_SetPrintData(*args, **kwargs) + def __nonzero__(self): return self.Ok() + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PrintDialogDataPtr(PrintDialogData): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PrintDialogData +_windows.PrintDialogData_swigregister(PrintDialogDataPtr) + +class PrintDialog(Dialog): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PrintDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + def GetPrintDialogData(*args, **kwargs): return _windows.PrintDialog_GetPrintDialogData(*args, **kwargs) + def GetPrintDC(*args, **kwargs): return _windows.PrintDialog_GetPrintDC(*args, **kwargs) + def ShowModal(*args, **kwargs): return _windows.PrintDialog_ShowModal(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PrintDialogPtr(PrintDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PrintDialog +_windows.PrintDialog_swigregister(PrintDialogPtr) + +PRINTER_NO_ERROR = _windows.PRINTER_NO_ERROR +PRINTER_CANCELLED = _windows.PRINTER_CANCELLED +PRINTER_ERROR = _windows.PRINTER_ERROR +class Printer(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_Printer(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_windows.delete_Printer): + try: + if self.thisown: destroy(self) + except: pass + def CreateAbortWindow(*args, **kwargs): return _windows.Printer_CreateAbortWindow(*args, **kwargs) + def GetPrintDialogData(*args, **kwargs): return _windows.Printer_GetPrintDialogData(*args, **kwargs) + def Print(*args, **kwargs): return _windows.Printer_Print(*args, **kwargs) + def PrintDialog(*args, **kwargs): return _windows.Printer_PrintDialog(*args, **kwargs) + def ReportError(*args, **kwargs): return _windows.Printer_ReportError(*args, **kwargs) + def Setup(*args, **kwargs): return _windows.Printer_Setup(*args, **kwargs) + def GetAbort(*args, **kwargs): return _windows.Printer_GetAbort(*args, **kwargs) + GetLastError = staticmethod(_windows.Printer_GetLastError) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PrinterPtr(Printer): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Printer +_windows.Printer_swigregister(PrinterPtr) +Printer_GetLastError = _windows.Printer_GetLastError +class Printout(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_Printout(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setCallbackInfo(self, Printout) + def _setCallbackInfo(*args, **kwargs): return _windows.Printout__setCallbackInfo(*args, **kwargs) + def GetTitle(*args, **kwargs): return _windows.Printout_GetTitle(*args, **kwargs) + def GetDC(*args, **kwargs): return _windows.Printout_GetDC(*args, **kwargs) + def SetDC(*args, **kwargs): return _windows.Printout_SetDC(*args, **kwargs) + def GetPageSizePixels(*args, **kwargs): return _windows.Printout_GetPageSizePixels(*args, **kwargs) + def SetPageSizePixels(*args, **kwargs): return _windows.Printout_SetPageSizePixels(*args, **kwargs) + def SetPageSizeMM(*args, **kwargs): return _windows.Printout_SetPageSizeMM(*args, **kwargs) + def GetPageSizeMM(*args, **kwargs): return _windows.Printout_GetPageSizeMM(*args, **kwargs) + def SetPPIScreen(*args, **kwargs): return _windows.Printout_SetPPIScreen(*args, **kwargs) + def GetPPIScreen(*args, **kwargs): return _windows.Printout_GetPPIScreen(*args, **kwargs) + def SetPPIPrinter(*args, **kwargs): return _windows.Printout_SetPPIPrinter(*args, **kwargs) + def GetPPIPrinter(*args, **kwargs): return _windows.Printout_GetPPIPrinter(*args, **kwargs) + def IsPreview(*args, **kwargs): return _windows.Printout_IsPreview(*args, **kwargs) + def SetIsPreview(*args, **kwargs): return _windows.Printout_SetIsPreview(*args, **kwargs) + def base_OnBeginDocument(*args, **kwargs): return _windows.Printout_base_OnBeginDocument(*args, **kwargs) + def base_OnEndDocument(*args, **kwargs): return _windows.Printout_base_OnEndDocument(*args, **kwargs) + def base_OnBeginPrinting(*args, **kwargs): return _windows.Printout_base_OnBeginPrinting(*args, **kwargs) + def base_OnEndPrinting(*args, **kwargs): return _windows.Printout_base_OnEndPrinting(*args, **kwargs) + def base_OnPreparePrinting(*args, **kwargs): return _windows.Printout_base_OnPreparePrinting(*args, **kwargs) + def base_GetPageInfo(*args, **kwargs): return _windows.Printout_base_GetPageInfo(*args, **kwargs) + def base_HasPage(*args, **kwargs): return _windows.Printout_base_HasPage(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PrintoutPtr(Printout): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = Printout +_windows.Printout_swigregister(PrintoutPtr) + +class PreviewCanvas(ScrolledWindow): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PreviewCanvas(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._self._setOORInfo(self) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PreviewCanvasPtr(PreviewCanvas): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PreviewCanvas +_windows.PreviewCanvas_swigregister(PreviewCanvasPtr) + +class PreviewFrame(Frame): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PreviewFrame(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._self._setOORInfo(self) + def Initialize(*args, **kwargs): return _windows.PreviewFrame_Initialize(*args, **kwargs) + def CreateControlBar(*args, **kwargs): return _windows.PreviewFrame_CreateControlBar(*args, **kwargs) + def CreateCanvas(*args, **kwargs): return _windows.PreviewFrame_CreateCanvas(*args, **kwargs) + def GetControlBar(*args, **kwargs): return _windows.PreviewFrame_GetControlBar(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PreviewFramePtr(PreviewFrame): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PreviewFrame +_windows.PreviewFrame_swigregister(PreviewFramePtr) + +PREVIEW_PRINT = _windows.PREVIEW_PRINT +PREVIEW_PREVIOUS = _windows.PREVIEW_PREVIOUS +PREVIEW_NEXT = _windows.PREVIEW_NEXT +PREVIEW_ZOOM = _windows.PREVIEW_ZOOM +PREVIEW_FIRST = _windows.PREVIEW_FIRST +PREVIEW_LAST = _windows.PREVIEW_LAST +PREVIEW_GOTO = _windows.PREVIEW_GOTO +PREVIEW_DEFAULT = _windows.PREVIEW_DEFAULT +ID_PREVIEW_CLOSE = _windows.ID_PREVIEW_CLOSE +ID_PREVIEW_NEXT = _windows.ID_PREVIEW_NEXT +ID_PREVIEW_PREVIOUS = _windows.ID_PREVIEW_PREVIOUS +ID_PREVIEW_PRINT = _windows.ID_PREVIEW_PRINT +ID_PREVIEW_ZOOM = _windows.ID_PREVIEW_ZOOM +ID_PREVIEW_FIRST = _windows.ID_PREVIEW_FIRST +ID_PREVIEW_LAST = _windows.ID_PREVIEW_LAST +ID_PREVIEW_GOTO = _windows.ID_PREVIEW_GOTO +class PreviewControlBar(Panel): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PreviewControlBar(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._self._setOORInfo(self) + def GetZoomControl(*args, **kwargs): return _windows.PreviewControlBar_GetZoomControl(*args, **kwargs) + def SetZoomControl(*args, **kwargs): return _windows.PreviewControlBar_SetZoomControl(*args, **kwargs) + def GetPrintPreview(*args, **kwargs): return _windows.PreviewControlBar_GetPrintPreview(*args, **kwargs) + def OnNext(*args, **kwargs): return _windows.PreviewControlBar_OnNext(*args, **kwargs) + def OnPrevious(*args, **kwargs): return _windows.PreviewControlBar_OnPrevious(*args, **kwargs) + def OnFirst(*args, **kwargs): return _windows.PreviewControlBar_OnFirst(*args, **kwargs) + def OnLast(*args, **kwargs): return _windows.PreviewControlBar_OnLast(*args, **kwargs) + def OnGoto(*args, **kwargs): return _windows.PreviewControlBar_OnGoto(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PreviewControlBarPtr(PreviewControlBar): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PreviewControlBar +_windows.PreviewControlBar_swigregister(PreviewControlBarPtr) + +class PrintPreview(core.Object): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PrintPreview(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def SetCurrentPage(*args, **kwargs): return _windows.PrintPreview_SetCurrentPage(*args, **kwargs) + def GetCurrentPage(*args, **kwargs): return _windows.PrintPreview_GetCurrentPage(*args, **kwargs) + def SetPrintout(*args, **kwargs): return _windows.PrintPreview_SetPrintout(*args, **kwargs) + def GetPrintout(*args, **kwargs): return _windows.PrintPreview_GetPrintout(*args, **kwargs) + def GetPrintoutForPrinting(*args, **kwargs): return _windows.PrintPreview_GetPrintoutForPrinting(*args, **kwargs) + def SetFrame(*args, **kwargs): return _windows.PrintPreview_SetFrame(*args, **kwargs) + def SetCanvas(*args, **kwargs): return _windows.PrintPreview_SetCanvas(*args, **kwargs) + def GetFrame(*args, **kwargs): return _windows.PrintPreview_GetFrame(*args, **kwargs) + def GetCanvas(*args, **kwargs): return _windows.PrintPreview_GetCanvas(*args, **kwargs) + def PaintPage(*args, **kwargs): return _windows.PrintPreview_PaintPage(*args, **kwargs) + def DrawBlankPage(*args, **kwargs): return _windows.PrintPreview_DrawBlankPage(*args, **kwargs) + def RenderPage(*args, **kwargs): return _windows.PrintPreview_RenderPage(*args, **kwargs) + def AdjustScrollbars(*args, **kwargs): return _windows.PrintPreview_AdjustScrollbars(*args, **kwargs) + def GetPrintDialogData(*args, **kwargs): return _windows.PrintPreview_GetPrintDialogData(*args, **kwargs) + def SetZoom(*args, **kwargs): return _windows.PrintPreview_SetZoom(*args, **kwargs) + def GetZoom(*args, **kwargs): return _windows.PrintPreview_GetZoom(*args, **kwargs) + def GetMaxPage(*args, **kwargs): return _windows.PrintPreview_GetMaxPage(*args, **kwargs) + def GetMinPage(*args, **kwargs): return _windows.PrintPreview_GetMinPage(*args, **kwargs) + def Ok(*args, **kwargs): return _windows.PrintPreview_Ok(*args, **kwargs) + def SetOk(*args, **kwargs): return _windows.PrintPreview_SetOk(*args, **kwargs) + def Print(*args, **kwargs): return _windows.PrintPreview_Print(*args, **kwargs) + def DetermineScaling(*args, **kwargs): return _windows.PrintPreview_DetermineScaling(*args, **kwargs) + def __nonzero__(self): return self.Ok() + def __repr__(self): + return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PrintPreviewPtr(PrintPreview): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PrintPreview +_windows.PrintPreview_swigregister(PrintPreviewPtr) + +class PyPrintPreview(PrintPreview): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PyPrintPreview(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setCallbackInfo(self, PyPrintPreview) + def _setCallbackInfo(*args, **kwargs): return _windows.PyPrintPreview__setCallbackInfo(*args, **kwargs) + def base_SetCurrentPage(*args, **kwargs): return _windows.PyPrintPreview_base_SetCurrentPage(*args, **kwargs) + def base_PaintPage(*args, **kwargs): return _windows.PyPrintPreview_base_PaintPage(*args, **kwargs) + def base_DrawBlankPage(*args, **kwargs): return _windows.PyPrintPreview_base_DrawBlankPage(*args, **kwargs) + def base_RenderPage(*args, **kwargs): return _windows.PyPrintPreview_base_RenderPage(*args, **kwargs) + def base_SetZoom(*args, **kwargs): return _windows.PyPrintPreview_base_SetZoom(*args, **kwargs) + def base_Print(*args, **kwargs): return _windows.PyPrintPreview_base_Print(*args, **kwargs) + def base_DetermineScaling(*args, **kwargs): return _windows.PyPrintPreview_base_DetermineScaling(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PyPrintPreviewPtr(PyPrintPreview): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PyPrintPreview +_windows.PyPrintPreview_swigregister(PyPrintPreviewPtr) + +class PyPreviewFrame(PreviewFrame): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PyPreviewFrame(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self) + def _setCallbackInfo(*args, **kwargs): return _windows.PyPreviewFrame__setCallbackInfo(*args, **kwargs) + def SetPreviewCanvas(*args, **kwargs): return _windows.PyPreviewFrame_SetPreviewCanvas(*args, **kwargs) + def SetControlBar(*args, **kwargs): return _windows.PyPreviewFrame_SetControlBar(*args, **kwargs) + def base_Initialize(*args, **kwargs): return _windows.PyPreviewFrame_base_Initialize(*args, **kwargs) + def base_CreateCanvas(*args, **kwargs): return _windows.PyPreviewFrame_base_CreateCanvas(*args, **kwargs) + def base_CreateControlBar(*args, **kwargs): return _windows.PyPreviewFrame_base_CreateControlBar(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PyPreviewFramePtr(PyPreviewFrame): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PyPreviewFrame +_windows.PyPreviewFrame_swigregister(PyPreviewFramePtr) + +class PyPreviewControlBar(PreviewControlBar): + def __init__(self, *args, **kwargs): + newobj = _windows.new_PyPreviewControlBar(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setCallbackInfo(self, PyPreviewControlBar); self._setOORInfo(self) + def _setCallbackInfo(*args, **kwargs): return _windows.PyPreviewControlBar__setCallbackInfo(*args, **kwargs) + def SetPrintPreview(*args, **kwargs): return _windows.PyPreviewControlBar_SetPrintPreview(*args, **kwargs) + def base_CreateButtons(*args, **kwargs): return _windows.PyPreviewControlBar_base_CreateButtons(*args, **kwargs) + def base_SetZoomControl(*args, **kwargs): return _windows.PyPreviewControlBar_base_SetZoomControl(*args, **kwargs) + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + +class PyPreviewControlBarPtr(PyPreviewControlBar): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = PyPreviewControlBar +_windows.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr) -#-------------- VARIABLE WRAPPERS ------------------