X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b39fe9514578dc76bd595e243e88e412be70bb61..53cc4e7005aec8a3edd29093b505aceec7ad888c:/wxPython/src/mac/_misc.py diff --git a/wxPython/src/mac/_misc.py b/wxPython/src/mac/_misc.py index 55eaa292c3..40d2696f99 100644 --- a/wxPython/src/mac/_misc.py +++ b/wxPython/src/mac/_misc.py @@ -941,6 +941,8 @@ class StopWatch(object): def __init__(self, *args, **kwargs): """__init__(self) -> StopWatch""" _misc_.StopWatch_swiginit(self,_misc_.new_StopWatch(*args, **kwargs)) + __swig_destroy__ = _misc_.delete_StopWatch + __del__ = lambda self : None; def Start(*args, **kwargs): """Start(self, long t0=0)""" return _misc_.StopWatch_Start(*args, **kwargs) @@ -1884,6 +1886,16 @@ class Process(_core.EvtHandler): _misc_.Process_swiginit(self,_misc_.new_Process(*args, **kwargs)) self._setCallbackInfo(self, Process) + __swig_destroy__ = _misc_.delete_Process + __del__ = lambda self : None; + def GetPid(*args, **kwargs): + """ + GetPid(self) -> long + + get the process ID of the process executed by Open() + """ + return _misc_.Process_GetPid(*args, **kwargs) + def _setCallbackInfo(*args, **kwargs): """_setCallbackInfo(self, PyObject self, PyObject _class)""" return _misc_.Process__setCallbackInfo(*args, **kwargs) @@ -3367,6 +3379,7 @@ class DateTime(object): GMT10 = _misc_.DateTime_GMT10 GMT11 = _misc_.DateTime_GMT11 GMT12 = _misc_.DateTime_GMT12 + GMT13 = _misc_.DateTime_GMT13 WET = _misc_.DateTime_WET WEST = _misc_.DateTime_WEST CET = _misc_.DateTime_CET @@ -3392,6 +3405,8 @@ class DateTime(object): A_CST = _misc_.DateTime_A_CST A_EST = _misc_.DateTime_A_EST A_ESST = _misc_.DateTime_A_ESST + NZST = _misc_.DateTime_NZST + NZDT = _misc_.DateTime_NZDT UTC = _misc_.DateTime_UTC Gregorian = _misc_.DateTime_Gregorian Julian = _misc_.DateTime_Julian @@ -6137,6 +6152,14 @@ class StandardPaths(object): """ return _misc_.StandardPaths_GetDocumentsDir(*args, **kwargs) + def GetTempDir(*args, **kwargs): + """ + GetTempDir(self) -> String + + Return the user's directory for temporary files. + """ + return _misc_.StandardPaths_GetTempDir(*args, **kwargs) + def SetInstallPrefix(*args, **kwargs): """ SetInstallPrefix(self, String prefix) @@ -6231,11 +6254,11 @@ def GetBatteryState(*args): class AboutDialogInfo(object): """ - `wx.AboutDialogInfo contains information shown in the standard About - dialog displayed by the `wx.AboutBox` function. This class contains - the general information about the program, such as its name, version, - copyright and so on, as well as lists of the program developers, - documentation writers, artists and translators. + `wx.AboutDialogInfo` contains information to be shown in the standard + About dialog displayed by the `wx.AboutBox` function. This class + contains the general information about the program, such as its name, + version, copyright and so on, as well as lists of the program + developers, documentation writers, artists and translators. While all the main platforms have a native implementation of the about dialog, they are often more limited than the generic version provided @@ -6254,11 +6277,11 @@ class AboutDialogInfo(object): """ __init__(self) -> AboutDialogInfo - `wx.AboutDialogInfo contains information shown in the standard About - dialog displayed by the `wx.AboutBox` function. This class contains - the general information about the program, such as its name, version, - copyright and so on, as well as lists of the program developers, - documentation writers, artists and translators. + `wx.AboutDialogInfo` contains information to be shown in the standard + About dialog displayed by the `wx.AboutBox` function. This class + contains the general information about the program, such as its name, + version, copyright and so on, as well as lists of the program + developers, documentation writers, artists and translators. While all the main platforms have a native implementation of the about dialog, they are often more limited than the generic version provided @@ -6631,8 +6654,8 @@ def AboutBox(*args, **kwargs): This function shows the standard about dialog containing the information specified in ``info``. If the current platform has a native about dialog which is capable of showing all the fields in - ``info``, the native dialog is used, otherwise the function falls back - to the generic wxWidgets version of the dialog. + `wx.AboutDialogInfo`, the native dialog is used, otherwise the + function falls back to the generic wxWidgets version of the dialog. """ return _misc_.AboutBox(*args, **kwargs)