X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/704eda0cdc33dfb009dfd578fdf78ee29e159f23..923608c3ac95e2c705fb0f49ab48fbe62fc871bd:/wxPython/src/msw/_misc.py diff --git a/wxPython/src/msw/_misc.py b/wxPython/src/msw/_misc.py index c3732160db..edeab7b2ca 100644 --- a/wxPython/src/msw/_misc.py +++ b/wxPython/src/msw/_misc.py @@ -295,10 +295,18 @@ def IsStockID(*args, **kwargs): def IsStockLabel(*args, **kwargs): """IsStockLabel(int id, String label) -> bool""" return _misc_.IsStockLabel(*args, **kwargs) +STOCK_NOFLAGS = _misc_.STOCK_NOFLAGS +STOCK_WITH_MNEMONIC = _misc_.STOCK_WITH_MNEMONIC +STOCK_WITH_ACCELERATOR = _misc_.STOCK_WITH_ACCELERATOR def GetStockLabel(*args, **kwargs): - """GetStockLabel(int id, bool withCodes=True, String accelerator=EmptyString) -> String""" + """GetStockLabel(int id, long flags=STOCK_WITH_MNEMONIC) -> String""" return _misc_.GetStockLabel(*args, **kwargs) +STOCK_MENU = _misc_.STOCK_MENU + +def GetStockHelpString(*args, **kwargs): + """GetStockHelpString(int id, int client=STOCK_MENU) -> String""" + return _misc_.GetStockHelpString(*args, **kwargs) def Bell(*args): """Bell()""" @@ -337,6 +345,14 @@ def GetOsDescription(*args): """GetOsDescription() -> String""" return _misc_.GetOsDescription(*args) +def IsPlatformLittleEndian(*args): + """IsPlatformLittleEndian() -> bool""" + return _misc_.IsPlatformLittleEndian(*args) + +def IsPlatform64Bit(*args): + """IsPlatform64Bit() -> bool""" + return _misc_.IsPlatform64Bit(*args) + def GetFreeMemory(*args): """GetFreeMemory() -> wxMemorySize""" return _misc_.GetFreeMemory(*args) @@ -476,6 +492,14 @@ def MessageBox(*args, **kwargs): """ return _misc_.MessageBox(*args, **kwargs) +def GetNumberFromUser(*args, **kwargs): + """ + GetNumberFromUser(String message, String prompt, String caption, long value, + long min=0, long max=100, Window parent=None, + Point pos=DefaultPosition) -> long + """ + return _misc_.GetNumberFromUser(*args, **kwargs) + def ColourDisplay(*args): """ColourDisplay() -> bool""" return _misc_.ColourDisplay(*args) @@ -859,6 +883,9 @@ class Caret(object): return _misc_.Caret_SetBlinkTime(*args, **kwargs) SetBlinkTime = staticmethod(SetBlinkTime) + Position = property(GetPosition,doc="See `GetPosition`") + Size = property(GetSize,SetSize,doc="See `GetSize` and `SetSize`") + Window = property(GetWindow,doc="See `GetWindow`") _misc_.Caret_swigregister(Caret) def Caret_GetBlinkTime(*args): @@ -982,6 +1009,10 @@ class FileHistory(_core.Object): return _misc_.FileHistory_GetCount(*args, **kwargs) GetNoHistoryFiles = GetCount + Count = property(GetCount,doc="See `GetCount`") + HistoryFile = property(GetHistoryFile,doc="See `GetHistoryFile`") + MaxFiles = property(GetMaxFiles,doc="See `GetMaxFiles`") + NoHistoryFiles = property(GetNoHistoryFiles,doc="See `GetNoHistoryFiles`") _misc_.FileHistory_swigregister(FileHistory) class SingleInstanceChecker(object): @@ -1008,6 +1039,155 @@ def PreSingleInstanceChecker(*args, **kwargs): val = _misc_.new_PreSingleInstanceChecker(*args, **kwargs) return val +#--------------------------------------------------------------------------- + +OS_UNKNOWN = _misc_.OS_UNKNOWN +OS_MAC_OS = _misc_.OS_MAC_OS +OS_MAC_OSX_DARWIN = _misc_.OS_MAC_OSX_DARWIN +OS_MAC = _misc_.OS_MAC +OS_WINDOWS_9X = _misc_.OS_WINDOWS_9X +OS_WINDOWS_NT = _misc_.OS_WINDOWS_NT +OS_WINDOWS_MICRO = _misc_.OS_WINDOWS_MICRO +OS_WINDOWS_CE = _misc_.OS_WINDOWS_CE +OS_WINDOWS = _misc_.OS_WINDOWS +OS_UNIX_LINUX = _misc_.OS_UNIX_LINUX +OS_UNIX_FREEBSD = _misc_.OS_UNIX_FREEBSD +OS_UNIX_OPENBSD = _misc_.OS_UNIX_OPENBSD +OS_UNIX_NETBSD = _misc_.OS_UNIX_NETBSD +OS_UNIX_SOLARIS = _misc_.OS_UNIX_SOLARIS +OS_UNIX_AIX = _misc_.OS_UNIX_AIX +OS_UNIX_HPUX = _misc_.OS_UNIX_HPUX +OS_UNIX = _misc_.OS_UNIX +OS_DOS = _misc_.OS_DOS +OS_OS2 = _misc_.OS_OS2 +PORT_UNKNOWN = _misc_.PORT_UNKNOWN +PORT_BASE = _misc_.PORT_BASE +PORT_MSW = _misc_.PORT_MSW +PORT_MOTIF = _misc_.PORT_MOTIF +PORT_GTK = _misc_.PORT_GTK +PORT_MGL = _misc_.PORT_MGL +PORT_X11 = _misc_.PORT_X11 +PORT_PM = _misc_.PORT_PM +PORT_OS2 = _misc_.PORT_OS2 +PORT_MAC = _misc_.PORT_MAC +PORT_COCOA = _misc_.PORT_COCOA +PORT_WINCE = _misc_.PORT_WINCE +PORT_PALMOS = _misc_.PORT_PALMOS +PORT_DFB = _misc_.PORT_DFB +ARCH_INVALID = _misc_.ARCH_INVALID +ARCH_32 = _misc_.ARCH_32 +ARCH_64 = _misc_.ARCH_64 +ARCH_MAX = _misc_.ARCH_MAX +ENDIAN_INVALID = _misc_.ENDIAN_INVALID +ENDIAN_BIG = _misc_.ENDIAN_BIG +ENDIAN_LITTLE = _misc_.ENDIAN_LITTLE +ENDIAN_PDP = _misc_.ENDIAN_PDP +ENDIAN_MAX = _misc_.ENDIAN_MAX +class PlatformInformation(object): + """Proxy of C++ PlatformInformation class""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """__init__(self) -> PlatformInformation""" + _misc_.PlatformInformation_swiginit(self,_misc_.new_PlatformInformation(*args, **kwargs)) + def __eq__(*args, **kwargs): + """__eq__(self, PlatformInformation t) -> bool""" + return _misc_.PlatformInformation___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(self, PlatformInformation t) -> bool""" + return _misc_.PlatformInformation___ne__(*args, **kwargs) + + def GetOSMajorVersion(*args, **kwargs): + """GetOSMajorVersion(self) -> int""" + return _misc_.PlatformInformation_GetOSMajorVersion(*args, **kwargs) + + def GetOSMinorVersion(*args, **kwargs): + """GetOSMinorVersion(self) -> int""" + return _misc_.PlatformInformation_GetOSMinorVersion(*args, **kwargs) + + def GetToolkitMajorVersion(*args, **kwargs): + """GetToolkitMajorVersion(self) -> int""" + return _misc_.PlatformInformation_GetToolkitMajorVersion(*args, **kwargs) + + def GetToolkitMinorVersion(*args, **kwargs): + """GetToolkitMinorVersion(self) -> int""" + return _misc_.PlatformInformation_GetToolkitMinorVersion(*args, **kwargs) + + def IsUsingUniversalWidgets(*args, **kwargs): + """IsUsingUniversalWidgets(self) -> bool""" + return _misc_.PlatformInformation_IsUsingUniversalWidgets(*args, **kwargs) + + def GetOperatingSystemId(*args, **kwargs): + """GetOperatingSystemId(self) -> int""" + return _misc_.PlatformInformation_GetOperatingSystemId(*args, **kwargs) + + def GetPortId(*args, **kwargs): + """GetPortId(self) -> int""" + return _misc_.PlatformInformation_GetPortId(*args, **kwargs) + + def GetArchitecture(*args, **kwargs): + """GetArchitecture(self) -> int""" + return _misc_.PlatformInformation_GetArchitecture(*args, **kwargs) + + def GetEndianness(*args, **kwargs): + """GetEndianness(self) -> int""" + return _misc_.PlatformInformation_GetEndianness(*args, **kwargs) + + def GetOperatingSystemFamilyName(*args, **kwargs): + """GetOperatingSystemFamilyName(self) -> String""" + return _misc_.PlatformInformation_GetOperatingSystemFamilyName(*args, **kwargs) + + def GetOperatingSystemIdName(*args, **kwargs): + """GetOperatingSystemIdName(self) -> String""" + return _misc_.PlatformInformation_GetOperatingSystemIdName(*args, **kwargs) + + def GetPortIdName(*args, **kwargs): + """GetPortIdName(self) -> String""" + return _misc_.PlatformInformation_GetPortIdName(*args, **kwargs) + + def GetPortIdShortName(*args, **kwargs): + """GetPortIdShortName(self) -> String""" + return _misc_.PlatformInformation_GetPortIdShortName(*args, **kwargs) + + def GetArchName(*args, **kwargs): + """GetArchName(self) -> String""" + return _misc_.PlatformInformation_GetArchName(*args, **kwargs) + + def GetEndiannessName(*args, **kwargs): + """GetEndiannessName(self) -> String""" + return _misc_.PlatformInformation_GetEndiannessName(*args, **kwargs) + + def SetOSVersion(*args, **kwargs): + """SetOSVersion(self, int major, int minor)""" + return _misc_.PlatformInformation_SetOSVersion(*args, **kwargs) + + def SetToolkitVersion(*args, **kwargs): + """SetToolkitVersion(self, int major, int minor)""" + return _misc_.PlatformInformation_SetToolkitVersion(*args, **kwargs) + + def SetOperatingSystemId(*args, **kwargs): + """SetOperatingSystemId(self, int n)""" + return _misc_.PlatformInformation_SetOperatingSystemId(*args, **kwargs) + + def SetPortId(*args, **kwargs): + """SetPortId(self, int n)""" + return _misc_.PlatformInformation_SetPortId(*args, **kwargs) + + def SetArchitecture(*args, **kwargs): + """SetArchitecture(self, int n)""" + return _misc_.PlatformInformation_SetArchitecture(*args, **kwargs) + + def SetEndianness(*args, **kwargs): + """SetEndianness(self, int n)""" + return _misc_.PlatformInformation_SetEndianness(*args, **kwargs) + + def IsOk(*args, **kwargs): + """IsOk(self) -> bool""" + return _misc_.PlatformInformation_IsOk(*args, **kwargs) + +_misc_.PlatformInformation_swigregister(PlatformInformation) + def DrawWindowOnDC(*args, **kwargs): """DrawWindowOnDC(Window window, DC dc) -> bool""" @@ -1256,6 +1436,16 @@ class Log(object): return _misc_.Log_DontCreateOnDemand(*args, **kwargs) DontCreateOnDemand = staticmethod(DontCreateOnDemand) + def SetRepetitionCounting(*args, **kwargs): + """SetRepetitionCounting(bool bRepetCounting=True)""" + return _misc_.Log_SetRepetitionCounting(*args, **kwargs) + + SetRepetitionCounting = staticmethod(SetRepetitionCounting) + def GetRepetitionCounting(*args, **kwargs): + """GetRepetitionCounting() -> bool""" + return _misc_.Log_GetRepetitionCounting(*args, **kwargs) + + GetRepetitionCounting = staticmethod(GetRepetitionCounting) def SetTraceMask(*args, **kwargs): """SetTraceMask(TraceMask ulMask)""" return _misc_.Log_SetTraceMask(*args, **kwargs) @@ -1368,6 +1558,14 @@ def Log_DontCreateOnDemand(*args): """Log_DontCreateOnDemand()""" return _misc_.Log_DontCreateOnDemand(*args) +def Log_SetRepetitionCounting(*args, **kwargs): + """Log_SetRepetitionCounting(bool bRepetCounting=True)""" + return _misc_.Log_SetRepetitionCounting(*args, **kwargs) + +def Log_GetRepetitionCounting(*args): + """Log_GetRepetitionCounting() -> bool""" + return _misc_.Log_GetRepetitionCounting(*args) + def Log_SetTraceMask(*args, **kwargs): """Log_SetTraceMask(TraceMask ulMask)""" return _misc_.Log_SetTraceMask(*args, **kwargs) @@ -1470,6 +1668,8 @@ class LogWindow(Log): """PassMessages(self, bool bDoPass)""" return _misc_.LogWindow_PassMessages(*args, **kwargs) + Frame = property(GetFrame,doc="See `GetFrame`") + OldLog = property(GetOldLog,doc="See `GetOldLog`") _misc_.LogWindow_swigregister(LogWindow) class LogChain(Log): @@ -1495,6 +1695,7 @@ class LogChain(Log): """GetOldLog(self) -> Log""" return _misc_.LogChain_GetOldLog(*args, **kwargs) + OldLog = property(GetOldLog,doc="See `GetOldLog`") _misc_.LogChain_swigregister(LogChain) class LogBuffer(Log): @@ -1508,6 +1709,7 @@ class LogBuffer(Log): """GetBuffer(self) -> String""" return _misc_.LogBuffer_GetBuffer(*args, **kwargs) + Buffer = property(GetBuffer,doc="See `GetBuffer`") _misc_.LogBuffer_swigregister(LogBuffer) @@ -1940,6 +2142,37 @@ class Joystick(object): return _misc_.Joystick_ReleaseCapture(*args, **kwargs) def __nonzero__(self): return self.IsOk() + ButtonState = property(GetButtonState,doc="See `GetButtonState`") + ManufacturerId = property(GetManufacturerId,doc="See `GetManufacturerId`") + MaxAxes = property(GetMaxAxes,doc="See `GetMaxAxes`") + MaxButtons = property(GetMaxButtons,doc="See `GetMaxButtons`") + MovementThreshold = property(GetMovementThreshold,SetMovementThreshold,doc="See `GetMovementThreshold` and `SetMovementThreshold`") + NumberAxes = property(GetNumberAxes,doc="See `GetNumberAxes`") + NumberButtons = property(GetNumberButtons,doc="See `GetNumberButtons`") + NumberJoysticks = property(GetNumberJoysticks,doc="See `GetNumberJoysticks`") + POVCTSPosition = property(GetPOVCTSPosition,doc="See `GetPOVCTSPosition`") + POVPosition = property(GetPOVPosition,doc="See `GetPOVPosition`") + PollingMax = property(GetPollingMax,doc="See `GetPollingMax`") + PollingMin = property(GetPollingMin,doc="See `GetPollingMin`") + Position = property(GetPosition,doc="See `GetPosition`") + ProductId = property(GetProductId,doc="See `GetProductId`") + ProductName = property(GetProductName,doc="See `GetProductName`") + RudderMax = property(GetRudderMax,doc="See `GetRudderMax`") + RudderMin = property(GetRudderMin,doc="See `GetRudderMin`") + RudderPosition = property(GetRudderPosition,doc="See `GetRudderPosition`") + UMax = property(GetUMax,doc="See `GetUMax`") + UMin = property(GetUMin,doc="See `GetUMin`") + UPosition = property(GetUPosition,doc="See `GetUPosition`") + VMax = property(GetVMax,doc="See `GetVMax`") + VMin = property(GetVMin,doc="See `GetVMin`") + VPosition = property(GetVPosition,doc="See `GetVPosition`") + XMax = property(GetXMax,doc="See `GetXMax`") + XMin = property(GetXMin,doc="See `GetXMin`") + YMax = property(GetYMax,doc="See `GetYMax`") + YMin = property(GetYMin,doc="See `GetYMin`") + ZMax = property(GetZMax,doc="See `GetZMax`") + ZMin = property(GetZMin,doc="See `GetZMin`") + ZPosition = property(GetZPosition,doc="See `GetZPosition`") _misc_.Joystick_swigregister(Joystick) wxEVT_JOY_BUTTON_DOWN = _misc_.wxEVT_JOY_BUTTON_DOWN @@ -2026,6 +2259,11 @@ class JoystickEvent(_core.Event): m_buttonState = property(GetButtonState, SetButtonState) m_joyStick = property(GetJoystick, SetJoystick) + ButtonChange = property(GetButtonChange,SetButtonChange,doc="See `GetButtonChange` and `SetButtonChange`") + ButtonState = property(GetButtonState,SetButtonState,doc="See `GetButtonState` and `SetButtonState`") + Joystick = property(GetJoystick,SetJoystick,doc="See `GetJoystick` and `SetJoystick`") + Position = property(GetPosition,SetPosition,doc="See `GetPosition` and `SetPosition`") + ZPosition = property(GetZPosition,SetZPosition,doc="See `GetZPosition` and `SetZPosition`") _misc_.JoystickEvent_swigregister(JoystickEvent) EVT_JOY_BUTTON_DOWN = wx.PyEventBinder( wxEVT_JOY_BUTTON_DOWN ) @@ -2158,6 +2396,15 @@ class FileTypeInfo(object): """GetIconIndex(self) -> int""" return _misc_.FileTypeInfo_GetIconIndex(*args, **kwargs) + Description = property(GetDescription,doc="See `GetDescription`") + Extensions = property(GetExtensions,doc="See `GetExtensions`") + ExtensionsCount = property(GetExtensionsCount,doc="See `GetExtensionsCount`") + IconFile = property(GetIconFile,doc="See `GetIconFile`") + IconIndex = property(GetIconIndex,doc="See `GetIconIndex`") + MimeType = property(GetMimeType,doc="See `GetMimeType`") + OpenCommand = property(GetOpenCommand,doc="See `GetOpenCommand`") + PrintCommand = property(GetPrintCommand,doc="See `GetPrintCommand`") + ShortDesc = property(GetShortDesc,SetShortDesc,doc="See `GetShortDesc` and `SetShortDesc`") _misc_.FileTypeInfo_swigregister(FileTypeInfo) def FileTypeInfoSequence(*args, **kwargs): @@ -2232,6 +2479,15 @@ class FileType(object): return _misc_.FileType_ExpandCommand(*args, **kwargs) ExpandCommand = staticmethod(ExpandCommand) + AllCommands = property(GetAllCommands,doc="See `GetAllCommands`") + Description = property(GetDescription,doc="See `GetDescription`") + Extensions = property(GetExtensions,doc="See `GetExtensions`") + Icon = property(GetIcon,doc="See `GetIcon`") + IconInfo = property(GetIconInfo,doc="See `GetIconInfo`") + MimeType = property(GetMimeType,doc="See `GetMimeType`") + MimeTypes = property(GetMimeTypes,doc="See `GetMimeTypes`") + OpenCommand = property(GetOpenCommand,doc="See `GetOpenCommand`") + PrintCommand = property(GetPrintCommand,doc="See `GetPrintCommand`") _misc_.FileType_swigregister(FileType) def FileType_ExpandCommand(*args, **kwargs): @@ -2363,6 +2619,15 @@ class ArtProvider(object): return _misc_.ArtProvider_PushProvider(*args, **kwargs) PushProvider = staticmethod(PushProvider) + def InsertProvider(*args, **kwargs): + """ + InsertProvider(ArtProvider provider) + + Add new provider to the bottom of providers stack. + """ + return _misc_.ArtProvider_InsertProvider(*args, **kwargs) + + InsertProvider = staticmethod(InsertProvider) def PopProvider(*args, **kwargs): """ PopProvider() -> bool @@ -2486,6 +2751,14 @@ def ArtProvider_PushProvider(*args, **kwargs): """ return _misc_.ArtProvider_PushProvider(*args, **kwargs) +def ArtProvider_InsertProvider(*args, **kwargs): + """ + ArtProvider_InsertProvider(ArtProvider provider) + + Add new provider to the bottom of providers stack. + """ + return _misc_.ArtProvider_InsertProvider(*args, **kwargs) + def ArtProvider_PopProvider(*args): """ ArtProvider_PopProvider() -> bool @@ -2903,6 +3176,17 @@ class ConfigBase(object): """GetStyle(self) -> long""" return _misc_.ConfigBase_GetStyle(*args, **kwargs) + AppName = property(GetAppName,SetAppName,doc="See `GetAppName` and `SetAppName`") + EntryType = property(GetEntryType,doc="See `GetEntryType`") + FirstEntry = property(GetFirstEntry,doc="See `GetFirstEntry`") + FirstGroup = property(GetFirstGroup,doc="See `GetFirstGroup`") + NextEntry = property(GetNextEntry,doc="See `GetNextEntry`") + NextGroup = property(GetNextGroup,doc="See `GetNextGroup`") + NumberOfEntries = property(GetNumberOfEntries,doc="See `GetNumberOfEntries`") + NumberOfGroups = property(GetNumberOfGroups,doc="See `GetNumberOfGroups`") + Path = property(GetPath,SetPath,doc="See `GetPath` and `SetPath`") + Style = property(GetStyle,SetStyle,doc="See `GetStyle` and `SetStyle`") + VendorName = property(GetVendorName,SetVendorName,doc="See `GetVendorName` and `SetVendorName`") _misc_.ConfigBase_swigregister(ConfigBase) def ConfigBase_Set(*args, **kwargs): @@ -3676,6 +3960,30 @@ class DateTime(object): else: return "INVALID DateTime" + Day = property(GetDay,SetDay,doc="See `GetDay` and `SetDay`") + DayOfYear = property(GetDayOfYear,doc="See `GetDayOfYear`") + Hour = property(GetHour,SetHour,doc="See `GetHour` and `SetHour`") + JDN = property(GetJDN,SetJDN,doc="See `GetJDN` and `SetJDN`") + JulianDayNumber = property(GetJulianDayNumber,doc="See `GetJulianDayNumber`") + LastMonthDay = property(GetLastMonthDay,doc="See `GetLastMonthDay`") + LastWeekDay = property(GetLastWeekDay,doc="See `GetLastWeekDay`") + MJD = property(GetMJD,doc="See `GetMJD`") + Millisecond = property(GetMillisecond,SetMillisecond,doc="See `GetMillisecond` and `SetMillisecond`") + Minute = property(GetMinute,SetMinute,doc="See `GetMinute` and `SetMinute`") + ModifiedJulianDayNumber = property(GetModifiedJulianDayNumber,doc="See `GetModifiedJulianDayNumber`") + Month = property(GetMonth,SetMonth,doc="See `GetMonth` and `SetMonth`") + NextWeekDay = property(GetNextWeekDay,doc="See `GetNextWeekDay`") + PrevWeekDay = property(GetPrevWeekDay,doc="See `GetPrevWeekDay`") + RataDie = property(GetRataDie,doc="See `GetRataDie`") + Second = property(GetSecond,SetSecond,doc="See `GetSecond` and `SetSecond`") + Ticks = property(GetTicks,doc="See `GetTicks`") + Week = property(GetWeek,doc="See `GetWeek`") + WeekDay = property(GetWeekDay,doc="See `GetWeekDay`") + WeekDayInSameWeek = property(GetWeekDayInSameWeek,doc="See `GetWeekDayInSameWeek`") + WeekOfMonth = property(GetWeekOfMonth,doc="See `GetWeekOfMonth`") + WeekOfYear = property(GetWeekOfYear,doc="See `GetWeekOfYear`") + Year = property(GetYear,SetYear,doc="See `GetYear` and `SetYear`") + YearDay = property(GetYearDay,doc="See `GetYearDay`") _misc_.DateTime_swigregister(DateTime) DefaultDateTimeFormat = cvar.DefaultDateTimeFormat DefaultTimeSpanFormat = cvar.DefaultTimeSpanFormat @@ -4186,6 +4494,11 @@ class DateSpan(object): """__ne__(self, DateSpan other) -> bool""" return _misc_.DateSpan___ne__(*args, **kwargs) + Days = property(GetDays,SetDays,doc="See `GetDays` and `SetDays`") + Months = property(GetMonths,SetMonths,doc="See `GetMonths` and `SetMonths`") + TotalDays = property(GetTotalDays,doc="See `GetTotalDays`") + Weeks = property(GetWeeks,SetWeeks,doc="See `GetWeeks` and `SetWeeks`") + Years = property(GetYears,SetYears,doc="See `GetYears` and `SetYears`") _misc_.DateSpan_swigregister(DateSpan) def DateSpan_Days(*args, **kwargs): @@ -4327,6 +4640,8 @@ class DataFormat(object): """ return _misc_.DataFormat_SetId(*args, **kwargs) + Id = property(GetId,SetId,doc="See `GetId` and `SetId`") + Type = property(GetType,SetType,doc="See `GetType` and `SetType`") _misc_.DataFormat_swigregister(DataFormat) DefaultDateTime = cvar.DefaultDateTime @@ -4424,6 +4739,11 @@ class DataObject(object): """ return _misc_.DataObject_SetData(*args, **kwargs) + AllFormats = property(GetAllFormats,doc="See `GetAllFormats`") + DataHere = property(GetDataHere,doc="See `GetDataHere`") + DataSize = property(GetDataSize,doc="See `GetDataSize`") + FormatCount = property(GetFormatCount,doc="See `GetFormatCount`") + PreferredFormat = property(GetPreferredFormat,doc="See `GetPreferredFormat`") _misc_.DataObject_swigregister(DataObject) FormatInvalid = cvar.FormatInvalid @@ -4492,6 +4812,7 @@ class DataObjectSimple(DataObject): """ return _misc_.DataObjectSimple_SetData(*args, **kwargs) + Format = property(GetFormat,SetFormat,doc="See `GetFormat` and `SetFormat`") _misc_.DataObjectSimple_swigregister(DataObjectSimple) class PyDataObjectSimple(DataObjectSimple): @@ -4580,6 +4901,7 @@ class DataObjectComposite(DataObject): """ return _misc_.DataObjectComposite_GetReceivedFormat(*args, **kwargs) + ReceivedFormat = property(GetReceivedFormat,doc="See `GetReceivedFormat`") _misc_.DataObjectComposite_swigregister(DataObjectComposite) class TextDataObject(DataObjectSimple): @@ -4710,6 +5032,7 @@ class BitmapDataObject(DataObjectSimple): """ return _misc_.BitmapDataObject_SetBitmap(*args, **kwargs) + Bitmap = property(GetBitmap,SetBitmap,doc="See `GetBitmap` and `SetBitmap`") _misc_.BitmapDataObject_swigregister(BitmapDataObject) class PyBitmapDataObject(BitmapDataObject): @@ -4769,6 +5092,7 @@ class FileDataObject(DataObjectSimple): """ return _misc_.FileDataObject_AddFile(*args, **kwargs) + Filenames = property(GetFilenames,doc="See `GetFilenames`") _misc_.FileDataObject_swigregister(FileDataObject) class CustomDataObject(DataObjectSimple): @@ -4819,6 +5143,8 @@ class CustomDataObject(DataObjectSimple): """ return _misc_.CustomDataObject_GetData(*args, **kwargs) + Data = property(GetData,SetData,doc="See `GetData` and `SetData`") + Size = property(GetSize,doc="See `GetSize`") _misc_.CustomDataObject_swigregister(CustomDataObject) class URLDataObject(DataObject): @@ -4830,7 +5156,7 @@ class URLDataObject(DataObject): __repr__ = _swig_repr def __init__(self, *args, **kwargs): """ - __init__(self) -> URLDataObject + __init__(self, String url=EmptyString) -> URLDataObject This data object holds a URL in a format that is compatible with some browsers such that it is able to be dragged to or from them. @@ -4929,6 +5255,7 @@ class DropSource(object): base_GiveFeedback = wx._deprecated(base_GiveFeedback, "Please use DropSource.GiveFeedback instead.") + DataObject = property(GetDataObject,SetData,doc="See `GetDataObject` and `SetData`") _misc_.DropSource_swigregister(DropSource) def DROP_ICON(filename): @@ -5014,6 +5341,9 @@ class DropTarget(object): """GetDefaultAction(self) -> int""" return _misc_.DropTarget_GetDefaultAction(*args, **kwargs) + Data = property(GetData,doc="See `GetData`") + DataObject = property(GetDataObject,SetDataObject,doc="See `GetDataObject` and `SetDataObject`") + DefaultAction = property(GetDefaultAction,SetDefaultAction,doc="See `GetDefaultAction` and `SetDefaultAction`") _misc_.DropTarget_swigregister(DropTarget) PyDropTarget = DropTarget @@ -5289,6 +5619,7 @@ class Clipboard(_core.Object): return _misc_.Clipboard_Get(*args, **kwargs) Get = staticmethod(Get) + Data = property(GetData,SetData,doc="See `GetData` and `SetData`") _misc_.Clipboard_swigregister(Clipboard) def Clipboard_Get(*args): @@ -5559,6 +5890,11 @@ class Display(object): """ return _misc_.Display_ResetMode(*args, **kwargs) + ClientArea = property(GetClientArea,doc="See `GetClientArea`") + CurrentMode = property(GetCurrentMode,doc="See `GetCurrentMode`") + Geometry = property(GetGeometry,doc="See `GetGeometry`") + Modes = property(GetModes,doc="See `GetModes`") + Name = property(GetName,doc="See `GetName`") _misc_.Display_swigregister(Display) DefaultVideoMode = cvar.DefaultVideoMode