SYS_SCREEN_SMALL = _misc.SYS_SCREEN_SMALL
SYS_SCREEN_DESKTOP = _misc.SYS_SCREEN_DESKTOP
class SystemSettings(object):
- """"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
"""SystemSettings_SetScreenType(wxSystemScreenType screen)"""
return _misc.SystemSettings_SetScreenType(*args, **kwargs)
+# backwards compatibility aliasses
+SystemSettings_GetSystemColour = SystemSettings_GetColour
+SystemSettings_GetSystemFont = SystemSettings_GetFont
+SystemSettings_GetSystemMetric = SystemSettings_GetMetric
+
class SystemOptions(core.Object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
return _misc.GetElapsedTime(*args, **kwargs)
def GetMousePosition(*args, **kwargs):
- """GetMousePosition(int OUTPUT, int OUTPUT)"""
+ """GetMousePosition() -> (x,y)"""
return _misc.GetMousePosition(*args, **kwargs)
def IsBusy(*args, **kwargs):
return _misc.StartTimer(*args, **kwargs)
def GetOsVersion(*args, **kwargs):
- """GetOsVersion(int OUTPUT, int OUTPUT) -> int"""
+ """GetOsVersion() -> (platform, major, minor)"""
return _misc.GetOsVersion(*args, **kwargs)
def GetOsDescription(*args, **kwargs):
return _misc.Trap(*args, **kwargs)
def FileSelector(*args, **kwargs):
- """FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString,
- wxString default_filename=wxPyEmptyString,
- wxString default_extension=wxPyEmptyString,
- wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
- int flags=0,
- Window parent=None, int x=-1, int y=-1) -> wxString"""
+ """
+ FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString,
+ wxString default_filename=wxPyEmptyString,
+ wxString default_extension=wxPyEmptyString,
+ wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
+ int flags=0,
+ Window parent=None, int x=-1, int y=-1) -> wxString
+ """
return _misc.FileSelector(*args, **kwargs)
def LoadFileSelector(*args, **kwargs):
- """LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString,
- Window parent=None) -> wxString"""
+ """
+ LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString,
+ Window parent=None) -> wxString
+ """
return _misc.LoadFileSelector(*args, **kwargs)
def SaveFileSelector(*args, **kwargs):
- """SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString,
- Window parent=None) -> wxString"""
+ """
+ SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString,
+ Window parent=None) -> wxString
+ """
return _misc.SaveFileSelector(*args, **kwargs)
def DirSelector(*args, **kwargs):
- """DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString,
- long style=DD_DEFAULT_STYLE,
- Point pos=DefaultPosition, Window parent=None) -> wxString"""
+ """
+ DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString,
+ long style=DD_DEFAULT_STYLE,
+ Point pos=DefaultPosition, Window parent=None) -> wxString
+ """
return _misc.DirSelector(*args, **kwargs)
def GetTextFromUser(*args, **kwargs):
- """GetTextFromUser(wxString message, wxString caption=wxPyEmptyString,
- wxString default_value=wxPyEmptyString, Window parent=None,
- int x=-1, int y=-1, bool centre=True) -> wxString"""
+ """
+ GetTextFromUser(wxString message, wxString caption=wxPyEmptyString,
+ wxString default_value=wxPyEmptyString, Window parent=None,
+ int x=-1, int y=-1, bool centre=True) -> wxString
+ """
return _misc.GetTextFromUser(*args, **kwargs)
def GetPasswordFromUser(*args, **kwargs):
- """GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString,
- wxString default_value=wxPyEmptyString, Window parent=None) -> wxString"""
+ """
+ GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString,
+ wxString default_value=wxPyEmptyString, Window parent=None) -> wxString
+ """
return _misc.GetPasswordFromUser(*args, **kwargs)
def GetSingleChoice(*args, **kwargs):
- """GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array,
- Window parent=None, int x=-1,
- int y=-1, bool centre=True, int width=150,
- int height=200) -> wxString"""
+ """
+ GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array,
+ Window parent=None, int x=-1,
+ int y=-1, bool centre=True, int width=150,
+ int height=200) -> wxString
+ """
return _misc.GetSingleChoice(*args, **kwargs)
def GetSingleChoiceIndex(*args, **kwargs):
- """GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array,
- Window parent=None, int x=-1,
- int y=-1, bool centre=True, int width=150,
- int height=200) -> int"""
+ """
+ GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array,
+ Window parent=None, int x=-1,
+ int y=-1, bool centre=True, int width=150,
+ int height=200) -> int
+ """
return _misc.GetSingleChoiceIndex(*args, **kwargs)
def MessageBox(*args, **kwargs):
- """MessageBox(wxString message, wxString caption=wxPyEmptyString,
- int style=wxOK|wxCENTRE, Window parent=None,
- int x=-1, int y=-1) -> int"""
+ """
+ MessageBox(wxString message, wxString caption=wxPyEmptyString,
+ int style=wxOK|wxCENTRE, Window parent=None,
+ int x=-1, int y=-1) -> int
+ """
return _misc.MessageBox(*args, **kwargs)
def GetNumberFromUser(*args, **kwargs):
- """GetNumberFromUser(wxString message, wxString prompt, wxString caption,
- long value, long min=0, long max=100, Window parent=None,
- Point pos=DefaultPosition) -> long"""
+ """
+ GetNumberFromUser(wxString message, wxString prompt, wxString caption,
+ long value, long min=0, long max=100, Window parent=None,
+ Point pos=DefaultPosition) -> long
+ """
return _misc.GetNumberFromUser(*args, **kwargs)
def ColourDisplay(*args, **kwargs):
return _misc.GetDisplayDepth(*args, **kwargs)
def DisplaySize(*args, **kwargs):
- """DisplaySize(int OUTPUT, int OUTPUT)"""
+ """DisplaySize() -> (width, height)"""
return _misc.DisplaySize(*args, **kwargs)
def GetDisplaySize(*args, **kwargs):
return _misc.GetDisplaySize(*args, **kwargs)
def DisplaySizeMM(*args, **kwargs):
- """DisplaySizeMM(int OUTPUT, int OUTPUT)"""
+ """DisplaySizeMM() -> (width, height)"""
return _misc.DisplaySizeMM(*args, **kwargs)
def GetDisplaySizeMM(*args, **kwargs):
return _misc.GetDisplaySizeMM(*args, **kwargs)
def ClientDisplayRect(*args, **kwargs):
- """ClientDisplayRect(int OUTPUT, int OUTPUT, int OUTPUT, int OUTPUT)"""
+ """ClientDisplayRect() -> (x, y, width, height)"""
return _misc.ClientDisplayRect(*args, **kwargs)
def GetClientDisplayRect(*args, **kwargs):
"""MutexGuiLeave()"""
return _misc.MutexGuiLeave(*args, **kwargs)
class MutexGuiLocker(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
#---------------------------------------------------------------------------
class ToolTip(core.Object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
return _misc.ToolTip_SetDelay(*args, **kwargs)
class Caret(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""IsVisible() -> bool"""
return _misc.Caret_IsVisible(*args, **kwargs)
- def GetPositionTuple(*args, **kwargs):
- """GetPositionTuple(int OUTPUT, int OUTPUT)"""
- return _misc.Caret_GetPositionTuple(*args, **kwargs)
-
def GetPosition(*args, **kwargs):
"""GetPosition() -> Point"""
return _misc.Caret_GetPosition(*args, **kwargs)
- def GetSizeTuple(*args, **kwargs):
- """GetSizeTuple(int OUTPUT, int OUTPUT)"""
- return _misc.Caret_GetSizeTuple(*args, **kwargs)
+ def GetPositionTuple(*args, **kwargs):
+ """GetPositionTuple() -> (x,y)"""
+ return _misc.Caret_GetPositionTuple(*args, **kwargs)
def GetSize(*args, **kwargs):
"""GetSize() -> Size"""
return _misc.Caret_GetSize(*args, **kwargs)
+ def GetSizeTuple(*args, **kwargs):
+ """GetSizeTuple() -> (width, height)"""
+ return _misc.Caret_GetSizeTuple(*args, **kwargs)
+
def GetWindow(*args, **kwargs):
"""GetWindow() -> Window"""
return _misc.Caret_GetWindow(*args, **kwargs)
"""Hide()"""
return _misc.Caret_Hide(*args, **kwargs)
+ def __nonzero__(self): return self.IsOk()
class CaretPtr(Caret):
def __init__(self, this):
"""Caret_SetBlinkTime(int milliseconds)"""
return _misc.Caret_SetBlinkTime(*args, **kwargs)
class BusyCursor(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.BusyCursor_swigregister(BusyCursorPtr)
class WindowDisabler(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.WindowDisabler_swigregister(WindowDisablerPtr)
class BusyInfo(core.Object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.BusyInfo_swigregister(BusyInfoPtr)
class StopWatch(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.StopWatch_swigregister(StopWatchPtr)
class FileHistory(core.Object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.FileHistory_swigregister(FileHistoryPtr)
class SingleInstanceChecker(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
#---------------------------------------------------------------------------
class TipProvider(object):
- """"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
_misc.TipProvider_swigregister(TipProviderPtr)
class PyTipProvider(TipProvider):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
TIMER_ONE_SHOT = _misc.TIMER_ONE_SHOT
wxEVT_TIMER = _misc.wxEVT_TIMER
class Timer(core.EvtHandler):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
self.this = newobj.this
self.thisown = 1
del newobj.thisown
+ self._setCallbackInfo(self, Timer)
+
def __del__(self, destroy=_misc.delete_Timer):
"""__del__()"""
try:
if self.thisown: destroy(self)
except: pass
+ def _setCallbackInfo(*args, **kwargs):
+ """_setCallbackInfo(PyObject self, PyObject _class)"""
+ return _misc.Timer__setCallbackInfo(*args, **kwargs)
+
def SetOwner(*args, **kwargs):
"""SetOwner(EvtHandler owner, int id=-1)"""
return _misc.Timer_SetOwner(*args, **kwargs)
"""Stop()"""
return _misc.Timer_Stop(*args, **kwargs)
- def Notify(*args, **kwargs):
- """Notify()"""
- return _misc.Timer_Notify(*args, **kwargs)
-
def IsRunning(*args, **kwargs):
"""IsRunning() -> bool"""
return _misc.Timer_IsRunning(*args, **kwargs)
"""IsOneShot() -> bool"""
return _misc.Timer_IsOneShot(*args, **kwargs)
+ def GetId(*args, **kwargs):
+ """GetId() -> int"""
+ return _misc.Timer_GetId(*args, **kwargs)
+
class TimerPtr(Timer):
def __init__(self, this):
class TimerEvent(core.Event):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.TimerEvent_swigregister(TimerEventPtr)
class TimerRunner(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
- """__init__(wxTimer timer) -> TimerRunner
-__init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner"""
+ """
+ __init__(wxTimer timer) -> TimerRunner
+ __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner
+ """
newobj = _misc.new_TimerRunner(*args)
self.this = newobj.this
self.thisown = 1
TraceRefCount = _misc.TraceRefCount
TraceOleCalls = _misc.TraceOleCalls
class Log(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
return _misc.Log_TimeStamp(*args, **kwargs)
class LogStderr(Log):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.LogStderr_swigregister(LogStderrPtr)
class LogTextCtrl(Log):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.LogTextCtrl_swigregister(LogTextCtrlPtr)
class LogGui(Log):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.LogGui_swigregister(LogGuiPtr)
class LogWindow(Log):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(wxFrame pParent, wxString szTitle, bool bShow=True,
- bool bPassToOld=True) -> LogWindow"""
+ """
+ __init__(wxFrame pParent, wxString szTitle, bool bShow=True,
+ bool bPassToOld=True) -> LogWindow
+ """
newobj = _misc.new_LogWindow(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
_misc.LogWindow_swigregister(LogWindowPtr)
class LogChain(Log):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""LogSysError(wxString msg)"""
return _misc.LogSysError(*args, **kwargs)
-def LogTrace(*args, **kwargs):
- """LogTrace(wxString msg)"""
- return _misc.LogTrace(*args, **kwargs)
-
-def LogTraceMask(*args, **kwargs):
- """LogTraceMask(wxString mask, wxString msg)"""
- return _misc.LogTraceMask(*args, **kwargs)
-
def LogGeneric(*args, **kwargs):
"""LogGeneric(unsigned long level, wxString msg)"""
return _misc.LogGeneric(*args, **kwargs)
"""SafeShowMessage(wxString title, wxString text)"""
return _misc.SafeShowMessage(*args, **kwargs)
class LogNull(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
self.__class__ = LogNull
_misc.LogNull_swigregister(LogNullPtr)
+def LogTrace(*args):
+ """
+ LogTrace(unsigned long mask, wxString msg)
+ LogTrace(wxString mask, wxString msg)
+ """
+ return _misc.LogTrace(*args)
+
class PyLog(Log):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
SIGALRM = _misc.SIGALRM
SIGTERM = _misc.SIGTERM
class Process(core.EvtHandler):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Kill(*args, **kwargs):
return _misc.Process_Open(*args, **kwargs)
class ProcessEvent(core.Event):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
JOY_BUTTON3 = _misc.JOY_BUTTON3
JOY_BUTTON4 = _misc.JOY_BUTTON4
class Joystick(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
wxEVT_JOY_MOVE = _misc.wxEVT_JOY_MOVE
wxEVT_JOY_ZMOVE = _misc.wxEVT_JOY_ZMOVE
class JoystickEvent(core.Event):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
m_pos = property(_misc.JoystickEvent_m_pos_get, _misc.JoystickEvent_m_pos_set)
m_buttonState = property(_misc.JoystickEvent_m_buttonState_get, _misc.JoystickEvent_m_buttonState_set)
m_joyStick = property(_misc.JoystickEvent_m_joyStick_get, _misc.JoystickEvent_m_joyStick_set)
def __init__(self, *args, **kwargs):
- """__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,
- int change=0) -> JoystickEvent"""
+ """
+ __init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,
+ int change=0) -> JoystickEvent
+ """
newobj = _misc.new_JoystickEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
#---------------------------------------------------------------------------
class Wave(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
MAILCAP_GNOME = _misc.MAILCAP_GNOME
MAILCAP_ALL = _misc.MAILCAP_ALL
class FileTypeInfo(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(wxString mimeType, wxString openCmd, wxString printCmd,
- wxString desc) -> FileTypeInfo"""
+ """
+ __init__(wxString mimeType, wxString openCmd, wxString printCmd,
+ wxString desc) -> FileTypeInfo
+ """
newobj = _misc.new_FileTypeInfo(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
return val
class FileType(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
return _misc.FileType_ExpandCommand(*args, **kwargs)
class MimeTypesManager(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def IsOfType(*args, **kwargs):
#---------------------------------------------------------------------------
class ArtProvider(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
del newobj.thisown
self._setCallbackInfo(self, ArtProvider)
- def __del__(self, destroy=_misc.delete_ArtProvider):
- """__del__()"""
- try:
- if self.thisown: destroy(self)
- except: pass
-
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(PyObject self, PyObject _class)"""
return _misc.ArtProvider__setCallbackInfo(*args, **kwargs)
def PushProvider(*args, **kwargs):
- """ArtProvider.PushProvider(ArtProvider provider)"""
+ """
+ ArtProvider.PushProvider(ArtProvider provider)
+
+ Add new provider to the top of providers stack.
+ """
return _misc.ArtProvider_PushProvider(*args, **kwargs)
PushProvider = staticmethod(PushProvider)
def PopProvider(*args, **kwargs):
- """ArtProvider.PopProvider() -> bool"""
+ """
+ ArtProvider.PopProvider() -> bool
+
+ Remove latest added provider and delete it.
+ """
return _misc.ArtProvider_PopProvider(*args, **kwargs)
PopProvider = staticmethod(PopProvider)
def RemoveProvider(*args, **kwargs):
- """ArtProvider.RemoveProvider(ArtProvider provider) -> bool"""
+ """
+ ArtProvider.RemoveProvider(ArtProvider provider) -> bool
+
+ Remove provider. The provider must have been added previously!
+ The provider is _not_ deleted.
+ """
return _misc.ArtProvider_RemoveProvider(*args, **kwargs)
RemoveProvider = staticmethod(RemoveProvider)
def GetBitmap(*args, **kwargs):
- """ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap"""
+ """
+ ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap
+
+ Query the providers for bitmap with given ID and return it. Return
+ wx.NullBitmap if no provider provides it.
+ """
return _misc.ArtProvider_GetBitmap(*args, **kwargs)
GetBitmap = staticmethod(GetBitmap)
def GetIcon(*args, **kwargs):
- """ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon"""
+ """
+ ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon
+
+ Query the providers for icon with given ID and return it. Return
+ wx.NullIcon if no provider provides it.
+ """
return _misc.ArtProvider_GetIcon(*args, **kwargs)
GetIcon = staticmethod(GetIcon)
+ def Destroy(*args, **kwargs):
+ """Destroy()"""
+ return _misc.ArtProvider_Destroy(*args, **kwargs)
+
class ArtProviderPtr(ArtProvider):
def __init__(self, this):
ART_MISSING_IMAGE = cvar.ART_MISSING_IMAGE
def ArtProvider_PushProvider(*args, **kwargs):
- """ArtProvider_PushProvider(ArtProvider provider)"""
+ """
+ ArtProvider_PushProvider(ArtProvider provider)
+
+ Add new provider to the top of providers stack.
+ """
return _misc.ArtProvider_PushProvider(*args, **kwargs)
def ArtProvider_PopProvider(*args, **kwargs):
- """ArtProvider_PopProvider() -> bool"""
+ """
+ ArtProvider_PopProvider() -> bool
+
+ Remove latest added provider and delete it.
+ """
return _misc.ArtProvider_PopProvider(*args, **kwargs)
def ArtProvider_RemoveProvider(*args, **kwargs):
- """ArtProvider_RemoveProvider(ArtProvider provider) -> bool"""
+ """
+ ArtProvider_RemoveProvider(ArtProvider provider) -> bool
+
+ Remove provider. The provider must have been added previously!
+ The provider is _not_ deleted.
+ """
return _misc.ArtProvider_RemoveProvider(*args, **kwargs)
def ArtProvider_GetBitmap(*args, **kwargs):
- """ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap"""
+ """
+ ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap
+
+ Query the providers for bitmap with given ID and return it. Return
+ wx.NullBitmap if no provider provides it.
+ """
return _misc.ArtProvider_GetBitmap(*args, **kwargs)
def ArtProvider_GetIcon(*args, **kwargs):
- """ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon"""
+ """
+ ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon
+
+ Query the providers for icon with given ID and return it. Return
+ wx.NullIcon if no provider provides it.
+ """
return _misc.ArtProvider_GetIcon(*args, **kwargs)
#---------------------------------------------------------------------------
CONFIG_USE_RELATIVE_PATH = _misc.CONFIG_USE_RELATIVE_PATH
CONFIG_USE_NO_ESCAPE_CHARACTERS = _misc.CONFIG_USE_NO_ESCAPE_CHARACTERS
class ConfigBase(object):
- """"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
return _misc.ConfigBase_DontCreateOnDemand(*args, **kwargs)
class ConfigPathChanger(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.ConfigPathChanger_swigregister(ConfigPathChangerPtr)
class Config(ConfigBase):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString,
- wxString localFilename=wxPyEmptyString,
- wxString globalFilename=wxPyEmptyString,
- long style=0) -> Config"""
+ """
+ __init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString,
+ wxString localFilename=wxPyEmptyString,
+ wxString globalFilename=wxPyEmptyString,
+ long style=0) -> Config
+ """
newobj = _misc.new_Config(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
_misc.Config_swigregister(ConfigPtr)
class FileConfig(ConfigBase):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString,
- wxString localFilename=wxPyEmptyString,
- wxString globalFilename=wxPyEmptyString,
- long style=0) -> FileConfig"""
+ """
+ __init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString,
+ wxString localFilename=wxPyEmptyString,
+ wxString globalFilename=wxPyEmptyString,
+ long style=0) -> FileConfig
+ """
newobj = _misc.new_FileConfig(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
#---------------------------------------------------------------------------
class DateTime(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
Local = _misc.DateTime_Local
GetCentury = staticmethod(GetCentury)
def GetNumberOfDaysinYear(*args, **kwargs):
- """DateTime.GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t"""
+ """DateTime.GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> int"""
return _misc.DateTime_GetNumberOfDaysinYear(*args, **kwargs)
GetNumberOfDaysinYear = staticmethod(GetNumberOfDaysinYear)
def GetNumberOfDaysInMonth(*args, **kwargs):
- """DateTime.GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t"""
+ """DateTime.GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> int"""
return _misc.DateTime_GetNumberOfDaysInMonth(*args, **kwargs)
GetNumberOfDaysInMonth = staticmethod(GetNumberOfDaysInMonth)
GetWeekDayName = staticmethod(GetWeekDayName)
def GetAmPmStrings(*args, **kwargs):
- """DateTime.GetAmPmStrings(wxString OUTPUT, wxString OUTPUT)"""
+ """
+ GetAmPmStrings() -> (am, pm)
+
+ Get the AM and PM strings in the current locale (may be empty)
+ """
return _misc.DateTime_GetAmPmStrings(*args, **kwargs)
GetAmPmStrings = staticmethod(GetAmPmStrings)
return _misc.DateTime_SetJDN(*args, **kwargs)
def SetHMS(*args, **kwargs):
- """SetHMS(wxDateTime_t hour, wxDateTime_t minute=0, wxDateTime_t second=0,
- wxDateTime_t millisec=0) -> DateTime"""
+ """SetHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime"""
return _misc.DateTime_SetHMS(*args, **kwargs)
def Set(*args, **kwargs):
- """Set(wxDateTime_t day, wxDateTime::Month month=Inv_Month,
- int year=Inv_Year, wxDateTime_t hour=0, wxDateTime_t minute=0,
- wxDateTime_t second=0, wxDateTime_t millisec=0) -> DateTime"""
+ """
+ Set(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year,
+ int hour=0, int minute=0, int second=0,
+ int millisec=0) -> DateTime
+ """
return _misc.DateTime_Set(*args, **kwargs)
def ResetTime(*args, **kwargs):
return _misc.DateTime_SetMonth(*args, **kwargs)
def SetDay(*args, **kwargs):
- """SetDay(wxDateTime_t day) -> DateTime"""
+ """SetDay(int day) -> DateTime"""
return _misc.DateTime_SetDay(*args, **kwargs)
def SetHour(*args, **kwargs):
- """SetHour(wxDateTime_t hour) -> DateTime"""
+ """SetHour(int hour) -> DateTime"""
return _misc.DateTime_SetHour(*args, **kwargs)
def SetMinute(*args, **kwargs):
- """SetMinute(wxDateTime_t minute) -> DateTime"""
+ """SetMinute(int minute) -> DateTime"""
return _misc.DateTime_SetMinute(*args, **kwargs)
def SetSecond(*args, **kwargs):
- """SetSecond(wxDateTime_t second) -> DateTime"""
+ """SetSecond(int second) -> DateTime"""
return _misc.DateTime_SetSecond(*args, **kwargs)
def SetMillisecond(*args, **kwargs):
- """SetMillisecond(wxDateTime_t millisecond) -> DateTime"""
+ """SetMillisecond(int millisecond) -> DateTime"""
return _misc.DateTime_SetMillisecond(*args, **kwargs)
def SetToWeekDayInSameWeek(*args, **kwargs):
return _misc.DateTime_GetPrevWeekDay(*args, **kwargs)
def SetToWeekDay(*args, **kwargs):
- """SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month,
- int year=Inv_Year) -> bool"""
+ """
+ SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month,
+ int year=Inv_Year) -> bool
+ """
return _misc.DateTime_SetToWeekDay(*args, **kwargs)
def SetToLastWeekDay(*args, **kwargs):
- """SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month,
- int year=Inv_Year) -> bool"""
+ """
+ SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month,
+ int year=Inv_Year) -> bool
+ """
return _misc.DateTime_SetToLastWeekDay(*args, **kwargs)
def GetLastWeekDay(*args, **kwargs):
- """GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month,
- int year=Inv_Year) -> DateTime"""
+ """
+ GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month,
+ int year=Inv_Year) -> DateTime
+ """
return _misc.DateTime_GetLastWeekDay(*args, **kwargs)
def SetToTheWeek(*args, **kwargs):
- """SetToTheWeek(wxDateTime_t numWeek, wxDateTime::WeekDay weekday=Mon,
- wxDateTime::WeekFlags flags=Monday_First) -> bool"""
+ """SetToTheWeek(int numWeek, wxDateTime::WeekDay weekday=Mon, wxDateTime::WeekFlags flags=Monday_First) -> bool"""
return _misc.DateTime_SetToTheWeek(*args, **kwargs)
def GetWeek(*args, **kwargs):
- """GetWeek(wxDateTime_t numWeek, wxDateTime::WeekDay weekday=Mon,
- wxDateTime::WeekFlags flags=Monday_First) -> DateTime"""
+ """GetWeek(int numWeek, wxDateTime::WeekDay weekday=Mon, wxDateTime::WeekFlags flags=Monday_First) -> DateTime"""
return _misc.DateTime_GetWeek(*args, **kwargs)
def SetToLastMonthDay(*args, **kwargs):
return _misc.DateTime_GetLastMonthDay(*args, **kwargs)
def SetToYearDay(*args, **kwargs):
- """SetToYearDay(wxDateTime_t yday) -> DateTime"""
+ """SetToYearDay(int yday) -> DateTime"""
return _misc.DateTime_SetToYearDay(*args, **kwargs)
def GetYearDay(*args, **kwargs):
- """GetYearDay(wxDateTime_t yday) -> DateTime"""
+ """GetYearDay(int yday) -> DateTime"""
return _misc.DateTime_GetYearDay(*args, **kwargs)
def GetJulianDayNumber(*args, **kwargs):
return _misc.DateTime_GetMonth(*args, **kwargs)
def GetDay(*args, **kwargs):
- """GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t"""
+ """GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
return _misc.DateTime_GetDay(*args, **kwargs)
def GetWeekDay(*args, **kwargs):
return _misc.DateTime_GetWeekDay(*args, **kwargs)
def GetHour(*args, **kwargs):
- """GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t"""
+ """GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
return _misc.DateTime_GetHour(*args, **kwargs)
def GetMinute(*args, **kwargs):
- """GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t"""
+ """GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
return _misc.DateTime_GetMinute(*args, **kwargs)
def GetSecond(*args, **kwargs):
- """GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t"""
+ """GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
return _misc.DateTime_GetSecond(*args, **kwargs)
def GetMillisecond(*args, **kwargs):
- """GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t"""
+ """GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
return _misc.DateTime_GetMillisecond(*args, **kwargs)
def GetDayOfYear(*args, **kwargs):
- """GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t"""
+ """GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
return _misc.DateTime_GetDayOfYear(*args, **kwargs)
def GetWeekOfYear(*args, **kwargs):
- """GetWeekOfYear(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t"""
+ """GetWeekOfYear(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
return _misc.DateTime_GetWeekOfYear(*args, **kwargs)
def GetWeekOfMonth(*args, **kwargs):
- """GetWeekOfMonth(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime_t"""
+ """GetWeekOfMonth(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
return _misc.DateTime_GetWeekOfMonth(*args, **kwargs)
def IsWorkDay(*args, **kwargs):
return _misc.DateTime_Subtract(*args, **kwargs)
def __iadd__(*args):
- """__iadd__(TimeSpan diff) -> DateTime
-__iadd__(DateSpan diff) -> DateTime"""
+ """
+ __iadd__(TimeSpan diff) -> DateTime
+ __iadd__(DateSpan diff) -> DateTime
+ """
return _misc.DateTime___iadd__(*args)
def __isub__(*args):
- """__isub__(TimeSpan diff) -> DateTime
-__isub__(DateSpan diff) -> DateTime"""
+ """
+ __isub__(TimeSpan diff) -> DateTime
+ __isub__(DateSpan diff) -> DateTime
+ """
return _misc.DateTime___isub__(*args)
def __add__(*args):
- """__add__(TimeSpan other) -> DateTime
-__add__(DateSpan other) -> DateTime"""
+ """
+ __add__(TimeSpan other) -> DateTime
+ __add__(DateSpan other) -> DateTime
+ """
return _misc.DateTime___add__(*args)
def __sub__(*args):
- """__sub__(DateTime other) -> TimeSpan
-__sub__(TimeSpan other) -> DateTime
-__sub__(DateSpan other) -> DateTime"""
+ """
+ __sub__(DateTime other) -> TimeSpan
+ __sub__(TimeSpan other) -> DateTime
+ __sub__(DateSpan other) -> DateTime
+ """
return _misc.DateTime___sub__(*args)
def __lt__(*args):
return _misc.DateTime_GetCentury(*args, **kwargs)
def DateTime_GetNumberOfDaysinYear(*args, **kwargs):
- """DateTime_GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t"""
+ """DateTime_GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> int"""
return _misc.DateTime_GetNumberOfDaysinYear(*args, **kwargs)
def DateTime_GetNumberOfDaysInMonth(*args, **kwargs):
- """DateTime_GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> wxDateTime_t"""
+ """DateTime_GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> int"""
return _misc.DateTime_GetNumberOfDaysInMonth(*args, **kwargs)
def DateTime_GetMonthName(*args, **kwargs):
return _misc.DateTime_GetWeekDayName(*args, **kwargs)
def DateTime_GetAmPmStrings(*args, **kwargs):
- """DateTime_GetAmPmStrings(wxString OUTPUT, wxString OUTPUT)"""
+ """
+ GetAmPmStrings() -> (am, pm)
+
+ Get the AM and PM strings in the current locale (may be empty)
+ """
return _misc.DateTime_GetAmPmStrings(*args, **kwargs)
def DateTime_IsDSTApplicable(*args, **kwargs):
return val
def DateTimeFromHMS(*args, **kwargs):
- """DateTimeFromHMS(wxDateTime_t hour, wxDateTime_t minute=0, wxDateTime_t second=0,
- wxDateTime_t millisec=0) -> DateTime"""
+ """DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime"""
val = _misc.new_DateTimeFromHMS(*args, **kwargs)
val.thisown = 1
return val
def DateTimeFromDMY(*args, **kwargs):
- """DateTimeFromDMY(wxDateTime_t day, wxDateTime::Month month=Inv_Month,
- int year=Inv_Year, wxDateTime_t hour=0, wxDateTime_t minute=0,
- wxDateTime_t second=0, wxDateTime_t millisec=0) -> DateTime"""
+ """
+ DateTimeFromDMY(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year,
+ int hour=0, int minute=0, int second=0,
+ int millisec=0) -> DateTime
+ """
val = _misc.new_DateTimeFromDMY(*args, **kwargs)
val.thisown = 1
return val
class TimeSpan(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Seconds(*args, **kwargs):
return _misc.TimeSpan_Week(*args, **kwargs)
class DateSpan(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
DF_HTML = _misc.DF_HTML
DF_MAX = _misc.DF_MAX
class DataFormat(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
except: pass
def __eq__(*args):
- """__eq__(wxDataFormatId format) -> bool
-__eq__(DataFormat format) -> bool"""
+ """
+ __eq__(wxDataFormatId format) -> bool
+ __eq__(DataFormat format) -> bool
+ """
return _misc.DataFormat___eq__(*args)
def __ne__(*args):
- """__ne__(wxDataFormatId format) -> bool
-__ne__(DataFormat format) -> bool"""
+ """
+ __ne__(wxDataFormatId format) -> bool
+ __ne__(DataFormat format) -> bool
+ """
return _misc.DataFormat___ne__(*args)
def SetType(*args, **kwargs):
return val
class DataObject(object):
- """"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
FormatInvalid = cvar.FormatInvalid
class DataObjectSimple(DataObject):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.DataObjectSimple_swigregister(DataObjectSimplePtr)
class PyDataObjectSimple(DataObjectSimple):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr)
class DataObjectComposite(DataObject):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.DataObjectComposite_swigregister(DataObjectCompositePtr)
class TextDataObject(DataObjectSimple):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.TextDataObject_swigregister(TextDataObjectPtr)
class PyTextDataObject(TextDataObject):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.PyTextDataObject_swigregister(PyTextDataObjectPtr)
class BitmapDataObject(DataObjectSimple):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.BitmapDataObject_swigregister(BitmapDataObjectPtr)
class PyBitmapDataObject(BitmapDataObject):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr)
class FileDataObject(DataObjectSimple):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.FileDataObject_swigregister(FileDataObjectPtr)
class CustomDataObject(DataObjectSimple):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.CustomDataObject_swigregister(CustomDataObjectPtr)
class URLDataObject(DataObjectComposite):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.URLDataObject_swigregister(URLDataObjectPtr)
class MetafileDataObject(DataObjectSimple):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""IsDragResultOk(wxDragResult res) -> bool"""
return _misc.IsDragResultOk(*args, **kwargs)
class DropSource(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window win=None, wxCursor copy=wxNullCursor, wxCursor move=wxNullCursor,
- wxCursor none=wxNullCursor) -> DropSource"""
+ """
+ __init__(Window win=None, wxCursor copy=wxNullCursor, wxCursor move=wxNullCursor,
+ wxCursor none=wxNullCursor) -> DropSource
+ """
newobj = _misc.new_DropSource(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
_misc.DropSource_swigregister(DropSourcePtr)
class DropTarget(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
self.this = newobj.this
self.thisown = 1
del newobj.thisown
- if args: args[1].thisown = 0; self._setCallbackInfo(self, DropTarget)
+ if args: args[0].thisown = 0;
+ self._setCallbackInfo(self, DropTarget)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(PyObject self, PyObject _class)"""
PyDropTarget = DropTarget
class TextDropTarget(DropTarget):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.TextDropTarget_swigregister(TextDropTargetPtr)
class FileDropTarget(DropTarget):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
#---------------------------------------------------------------------------
class Clipboard(core.Object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_misc.Clipboard_swigregister(ClipboardPtr)
class ClipboardLocker(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):