X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f401080887e8a60e83ee972c871a478d0889c3e..e3f9e20cb15c62bd347a8e52d2d36529adbdb3d6:/wxPython/docs/xml/wxPython-metadata.xml?ds=inline
diff --git a/wxPython/docs/xml/wxPython-metadata.xml b/wxPython/docs/xml/wxPython-metadata.xml
index cda9834f52..50c344832c 100644
--- a/wxPython/docs/xml/wxPython-metadata.xml
+++ b/wxPython/docs/xml/wxPython-metadata.xml
@@ -890,16 +890,16 @@ it is moved to the left or top respectively.
FindNext() -> String
- FileSystem.AddHandler(CPPFileSystemHandler handler)
+ AddHandler(CPPFileSystemHandler handler)
- FileSystem.CleanUpHandlers()
+ CleanUpHandlers()
- FileSystem.FileNameToURL(String filename) -> String
+ FileNameToURL(String filename) -> String
@@ -998,7 +998,7 @@ def MemoryFSHandler_AddFile(filename, a, b=''):
__init__() -> MemoryFSHandler
- MemoryFSHandler.RemoveFile(String filename)
+ RemoveFile(String filename)
@@ -1080,7 +1080,7 @@ def MemoryFSHandler_AddFile(filename, a, b=''):
__init__() -> ImageHistogram
- ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long
+ MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long
Get the key in the histogram for the given RGB values
@@ -1267,13 +1267,13 @@ values.
- Image.CanRead(String name) -> bool
+ CanRead(String name) -> bool
- Image.GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int
+ GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int
@@ -1310,7 +1310,7 @@ values.
- Image.CanReadStream(InputStream stream) -> bool
+ CanReadStream(InputStream stream) -> bool
@@ -1506,25 +1506,25 @@ values.
- Image.AddHandler(ImageHandler handler)
+ AddHandler(ImageHandler handler)
- Image.InsertHandler(ImageHandler handler)
+ InsertHandler(ImageHandler handler)
- Image.RemoveHandler(String name) -> bool
+ RemoveHandler(String name) -> bool
- Image.GetImageExtWildcard() -> String
+ GetImageExtWildcard() -> String
ConvertToBitmap() -> Bitmap
@@ -1886,10 +1886,6 @@ EVT_COMMAND_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK, 1)
EVT_COMMAND_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE, 1)
EVT_COMMAND_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL, 1)
-EVT_SPIN_UP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP, 1)
-EVT_SPIN_DOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN, 1)
-EVT_SPIN = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK, 1)
-
EVT_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_BUTTON_CLICKED, 1)
EVT_CHECKBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKBOX_CLICKED, 1)
EVT_CHOICE = wx.PyEventBinder( wxEVT_COMMAND_CHOICE_SELECTED, 1)
@@ -2765,31 +2761,31 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
- UpdateUIEvent.SetUpdateInterval(long updateInterval)
+ SetUpdateInterval(long updateInterval)
- UpdateUIEvent.GetUpdateInterval() -> long
+ GetUpdateInterval() -> long
- UpdateUIEvent.CanUpdate(Window win) -> bool
+ CanUpdate(Window win) -> bool
- UpdateUIEvent.ResetUpdateTime()
+ ResetUpdateTime()
- UpdateUIEvent.SetMode(int mode)
+ SetMode(int mode)
- UpdateUIEvent.GetMode() -> int
+ GetMode() -> int
@@ -2972,16 +2968,16 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
MoreRequested() -> bool
- IdleEvent.SetMode(int mode)
+ SetMode(int mode)
- IdleEvent.GetMode() -> int
+ GetMode() -> int
- IdleEvent.CanSend(Window win) -> bool
+ CanSend(Window win) -> bool
@@ -3041,6 +3037,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
__init__() -> PyApp
+ Create a new application object, starting the bootstrap process.
__del__()
@@ -3231,46 +3228,46 @@ may be or'd together:
Get the current OnAssert behaviour setting.
- PyApp.GetMacSupportPCMenuShortcuts() -> bool
+ GetMacSupportPCMenuShortcuts() -> bool
- PyApp.GetMacAboutMenuItemId() -> long
+ GetMacAboutMenuItemId() -> long
- PyApp.GetMacPreferencesMenuItemId() -> long
+ GetMacPreferencesMenuItemId() -> long
- PyApp.GetMacExitMenuItemId() -> long
+ GetMacExitMenuItemId() -> long
- PyApp.GetMacHelpMenuTitleName() -> String
+ GetMacHelpMenuTitleName() -> String
- PyApp.SetMacSupportPCMenuShortcuts(bool val)
+ SetMacSupportPCMenuShortcuts(bool val)
- PyApp.SetMacAboutMenuItemId(long val)
+ SetMacAboutMenuItemId(long val)
- PyApp.SetMacPreferencesMenuItemId(long val)
+ SetMacPreferencesMenuItemId(long val)
- PyApp.SetMacExitMenuItemId(long val)
+ SetMacExitMenuItemId(long val)
- PyApp.SetMacHelpMenuTitleName(String val)
+ SetMacHelpMenuTitleName(String val)
@@ -3280,7 +3277,7 @@ may be or'd together:
For internal use only
- PyApp.GetComCtl32Version() -> int
+ GetComCtl32Version() -> int
Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it
wasn't found at all. Raises an exception on non-Windows platforms.
@@ -3358,6 +3355,7 @@ class PyOnDemandOutputWindow:
style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE)
self.text = wx.TextCtrl(self.frame, -1, "",
style = wx.TE_MULTILINE | wx.TE_READONLY)
+ self.text.AppendText(st)
self.frame.SetSize((450, 300))
self.frame.Show(True)
EVT_CLOSE(self.frame, self.OnCloseWindow)
@@ -3700,16 +3698,16 @@ _sys.__wxPythonCleanup = __wxPyCleanup()
GetId() -> int
- Window.NewControlId() -> int
+ NewControlId() -> int
- Window.NextControlId(int winid) -> int
+ NextControlId(int winid) -> int
- Window.PrevControlId(int winid) -> int
+ PrevControlId(int winid) -> int
@@ -4029,7 +4027,7 @@ more or less independent of the screen window size.
SetFocusFromKbd()
- Window.FindFocus() -> Window
+ FindFocus() -> Window
AcceptsFocus() -> bool
@@ -4203,7 +4201,7 @@ more or less independent of the screen window size.
ReleaseMouse()
- Window.GetCapture() -> Window
+ GetCapture() -> Window
HasCapture() -> bool
@@ -4645,10 +4643,10 @@ def DLG_SZE(win, size_width, height=None):
- Validator.IsSilent() -> bool
+ IsSilent() -> bool
- Validator.SetBellOnError(int doIt=True)
+ SetBellOnError(int doIt=True)
@@ -4680,8 +4678,8 @@ def DLG_SZE(win, size_width, height=None):
-
- Append(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL)
+
+ Append(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem
@@ -4689,27 +4687,27 @@ def DLG_SZE(win, size_width, height=None):
-
- AppendSeparator()
+
+ AppendSeparator() -> MenuItem
-
- AppendCheckItem(int id, String text, String help=EmptyString)
+
+ AppendCheckItem(int id, String text, String help=EmptyString) -> MenuItem
-
- AppendRadioItem(int id, String text, String help=EmptyString)
+
+ AppendRadioItem(int id, String text, String help=EmptyString) -> MenuItem
-
- AppendMenu(int id, String text, Menu submenu, String help=EmptyString)
+
+ AppendMenu(int id, String text, Menu submenu, String help=EmptyString) -> MenuItem
@@ -4717,8 +4715,8 @@ def DLG_SZE(win, size_width, height=None):
-
- AppendItem(MenuItem item)
+
+ AppendItem(MenuItem item) -> MenuItem
@@ -4726,16 +4724,16 @@ def DLG_SZE(win, size_width, height=None):
Break()
-
- InsertItem(size_t pos, MenuItem item) -> bool
+
+ InsertItem(size_t pos, MenuItem item) -> MenuItem
-
+
Insert(size_t pos, int id, String text, String help=EmptyString,
- int kind=ITEM_NORMAL)
+ int kind=ITEM_NORMAL) -> MenuItem
@@ -4744,14 +4742,14 @@ def DLG_SZE(win, size_width, height=None):
-
- InsertSeparator(size_t pos)
+
+ InsertSeparator(size_t pos) -> MenuItem
-
- InsertCheckItem(size_t pos, int id, String text, String help=EmptyString)
+
+ InsertCheckItem(size_t pos, int id, String text, String help=EmptyString) -> MenuItem
@@ -4759,8 +4757,8 @@ def DLG_SZE(win, size_width, height=None):
-
- InsertRadioItem(size_t pos, int id, String text, String help=EmptyString)
+
+ InsertRadioItem(size_t pos, int id, String text, String help=EmptyString) -> MenuItem
@@ -4768,8 +4766,8 @@ def DLG_SZE(win, size_width, height=None):
-
- InsertMenu(size_t pos, int id, String text, Menu submenu, String help=EmptyString)
+
+ InsertMenu(size_t pos, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem
@@ -4778,14 +4776,14 @@ def DLG_SZE(win, size_width, height=None):
-
- PrependItem(MenuItem item)
+
+ PrependItem(MenuItem item) -> MenuItem
-
- Prepend(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL)
+
+ Prepend(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem
@@ -4793,27 +4791,27 @@ def DLG_SZE(win, size_width, height=None):
-
- PrependSeparator()
+
+ PrependSeparator() -> MenuItem
-
- PrependCheckItem(int id, String text, String help=EmptyString)
+
+ PrependCheckItem(int id, String text, String help=EmptyString) -> MenuItem
-
- PrependRadioItem(int id, String text, String help=EmptyString)
+
+ PrependRadioItem(int id, String text, String help=EmptyString) -> MenuItem
-
- PrependMenu(int id, String text, Menu submenu, String help=EmptyString)
+
+ PrependMenu(int id, String text, Menu submenu, String help=EmptyString) -> MenuItem
@@ -5214,7 +5212,7 @@ def DLG_SZE(win, size_width, height=None):
GetText() -> String
- MenuItem.GetLabelFromText(String text) -> String
+ GetLabelFromText(String text) -> String
@@ -5283,7 +5281,7 @@ def DLG_SZE(win, size_width, height=None):
- MenuItem.GetDefaultMarginWidth() -> int
+ GetDefaultMarginWidth() -> int
SetBitmap(Bitmap bitmap)
@@ -6831,6 +6829,11 @@ _core._wxPyFixStockObjects()
Get() -> PyObject
+
+ Color = Colour
+ NamedColor = NamedColour
+ ColorRGB = ColourRGB
+
@@ -6940,6 +6943,12 @@ _core._wxPyFixStockObjects()
GetDashes() -> PyObject
+
+ __eq__(Pen pen) -> bool
+
+
+
+
GetDashCount() -> int
@@ -7178,29 +7187,23 @@ in a device context, the unmasked area of the bitmap will be drawn, and the
masked area will not be drawn.
- __init__(Bitmap bitmap) -> Mask
- Constructs a mask from a monochrome bitmap.
-
-
-
-
-
- MaskColour(Bitmap bitmap, Colour colour) -> Mask
- Constructs a mask from a bitmap and a colour in that bitmap that indicates the
-background.
+ __init__(Bitmap bitmap, Colour colour=NullColour) -> Mask
+ Constructs a mask from a bitmap and a colour in that bitmap that indicates
+the transparent portions of the mask, by default BLACK is used.
-
+
+ MaskColour = Mask
- __init__(String name, long flags, int desiredWidth=-1, int desiredHeight=-1) -> Icon
+ __init__(String name, int type, int desiredWidth=-1, int desiredHeight=-1) -> Icon
-
+
@@ -7230,10 +7233,10 @@ background.
__del__()
- LoadFile(String name, long flags) -> bool
+ LoadFile(String name, int type) -> bool
-
+
@@ -7755,10 +7758,10 @@ background.
__del__()
- FontMapper.Get() -> FontMapper
+ Get() -> FontMapper
- FontMapper.Set(FontMapper mapper) -> FontMapper
+ Set(FontMapper mapper) -> FontMapper
@@ -7771,22 +7774,22 @@ background.
- FontMapper.GetSupportedEncodingsCount() -> size_t
+ GetSupportedEncodingsCount() -> size_t
- FontMapper.GetEncoding(size_t n) -> int
+ GetEncoding(size_t n) -> int
- FontMapper.GetEncodingName(int encoding) -> String
+ GetEncodingName(int encoding) -> String
- FontMapper.GetEncodingDescription(int encoding) -> String
+ GetEncodingDescription(int encoding) -> String
@@ -7804,7 +7807,7 @@ background.
- FontMapper.GetDefaultConfigPath() -> String
+ GetDefaultConfigPath() -> String
GetAltForEncoding(int encoding, String facename=EmptyString, bool interactive=True) -> PyObject
@@ -8006,10 +8009,10 @@ background.
GetNoAntiAliasing() -> bool
- Font.GetDefaultEncoding() -> int
+ GetDefaultEncoding() -> int
- Font.SetDefaultEncoding(int encoding)
+ SetDefaultEncoding(int encoding)
@@ -8092,13 +8095,13 @@ background.
- Locale.GetSystemLanguage() -> int
+ GetSystemLanguage() -> int
- Locale.GetSystemEncoding() -> int
+ GetSystemEncoding() -> int
- Locale.GetSystemEncodingName() -> String
+ GetSystemEncodingName() -> String
IsOk() -> bool
@@ -8116,7 +8119,7 @@ background.
GetCanonicalName() -> String
- Locale.AddCatalogLookupPathPrefix(String prefix)
+ AddCatalogLookupPathPrefix(String prefix)
@@ -8134,25 +8137,25 @@ background.
- Locale.GetLanguageInfo(int lang) -> LanguageInfo
+ GetLanguageInfo(int lang) -> LanguageInfo
- Locale.GetLanguageName(int lang) -> String
+ GetLanguageName(int lang) -> String
- Locale.FindLanguageInfo(String locale) -> LanguageInfo
+ FindLanguageInfo(String locale) -> LanguageInfo
- Locale.AddLanguage(LanguageInfo info)
+ AddLanguage(LanguageInfo info)
@@ -8173,15 +8176,15 @@ background.
-
+
- GetTranslation(String sz) -> String
-GetTranslation(String sz1, String sz2, size_t n) -> String
+ GetTranslation(String str) -> String
+GetTranslation(String str, String strPlural, size_t n) -> String
-
-
+
+
@@ -8211,20 +8214,20 @@ GetTranslation(String sz1, String sz2, size_t n) -> String
- EncodingConverter.GetPlatformEquivalents(int enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray
+ GetPlatformEquivalents(int enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray
- EncodingConverter.GetAllEquivalents(int enc) -> wxFontEncodingArray
+ GetAllEquivalents(int enc) -> wxFontEncodingArray
- EncodingConverter.CanConvert(int encIn, int encOut) -> bool
+ CanConvert(int encIn, int encOut) -> bool
@@ -8758,6 +8761,12 @@ Works for single as well as multi-line strings.
+
+ GetPartialTextExtents(String text) -> wxArrayInt
+
+
+
+
GetSize() -> Size
Get the DC size in device units.
@@ -9082,18 +9091,27 @@ Works for single as well as multi-line strings.
-
- __init__(DC dc, Bitmap buffer) -> BufferedDC
+
+
+ __init__(DC dc, Bitmap buffer) -> BufferedDC
+__init__(DC dc, Size area, int flags=BUFFER_DC_DEFAULT) -> BufferedDC
+
+
+
+
+
+
- BufferedDCInternalBuffer(DC dc, Size area) -> BufferedDC
+ BufferedDCInternalBuffer(DC dc, Size area, int flags=BUFFER_DC_DEFAULT) -> BufferedDC
+
@@ -9102,11 +9120,18 @@ Works for single as well as multi-line strings.
-
- __init__(Window window, Bitmap buffer=NullBitmap) -> BufferedPaintDC
+
-
+
+
+
+
+ __init__(Window window, Bitmap buffer) -> BufferedPaintDC
+__init__(Window window, int flags=BUFFER_DC_DEFAULT) -> BufferedPaintDC
+
+
+
@@ -9204,13 +9229,13 @@ Works for single as well as multi-line strings.
- PostScriptDC.SetResolution(int ppi)
+ SetResolution(int ppi)
- PostScriptDC.GetResolution() -> int
+ GetResolution() -> int
@@ -9248,6 +9273,258 @@ Works for single as well as multi-line strings.
+ class DC_old(DC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = DC.FloodFillXY
+ GetPixel = DC.GetPixelXY
+ DrawLine = DC.DrawLineXY
+ CrossHair = DC.CrossHairXY
+ DrawArc = DC.DrawArcXY
+ DrawCheckMark = DC.DrawCheckMarkXY
+ DrawEllipticArc = DC.DrawEllipticArcXY
+ DrawPoint = DC.DrawPointXY
+ DrawRectangle = DC.DrawRectangleXY
+ DrawRoundedRectangle = DC.DrawRoundedRectangleXY
+ DrawCircle = DC.DrawCircleXY
+ DrawEllipse = DC.DrawEllipseXY
+ DrawIcon = DC.DrawIconXY
+ DrawBitmap = DC.DrawBitmapXY
+ DrawText = DC.DrawTextXY
+ DrawRotatedText = DC.DrawRotatedTextXY
+ Blit = DC.BlitXY
+
+
+ class MemoryDC_old(MemoryDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = MemoryDC.FloodFillXY
+ GetPixel = MemoryDC.GetPixelXY
+ DrawLine = MemoryDC.DrawLineXY
+ CrossHair = MemoryDC.CrossHairXY
+ DrawArc = MemoryDC.DrawArcXY
+ DrawCheckMark = MemoryDC.DrawCheckMarkXY
+ DrawEllipticArc = MemoryDC.DrawEllipticArcXY
+ DrawPoint = MemoryDC.DrawPointXY
+ DrawRectangle = MemoryDC.DrawRectangleXY
+ DrawRoundedRectangle = MemoryDC.DrawRoundedRectangleXY
+ DrawCircle = MemoryDC.DrawCircleXY
+ DrawEllipse = MemoryDC.DrawEllipseXY
+ DrawIcon = MemoryDC.DrawIconXY
+ DrawBitmap = MemoryDC.DrawBitmapXY
+ DrawText = MemoryDC.DrawTextXY
+ DrawRotatedText = MemoryDC.DrawRotatedTextXY
+ Blit = MemoryDC.BlitXY
+
+
+ class BufferedDC_old(BufferedDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = BufferedDC.FloodFillXY
+ GetPixel = BufferedDC.GetPixelXY
+ DrawLine = BufferedDC.DrawLineXY
+ CrossHair = BufferedDC.CrossHairXY
+ DrawArc = BufferedDC.DrawArcXY
+ DrawCheckMark = BufferedDC.DrawCheckMarkXY
+ DrawEllipticArc = BufferedDC.DrawEllipticArcXY
+ DrawPoint = BufferedDC.DrawPointXY
+ DrawRectangle = BufferedDC.DrawRectangleXY
+ DrawRoundedRectangle = BufferedDC.DrawRoundedRectangleXY
+ DrawCircle = BufferedDC.DrawCircleXY
+ DrawEllipse = BufferedDC.DrawEllipseXY
+ DrawIcon = BufferedDC.DrawIconXY
+ DrawBitmap = BufferedDC.DrawBitmapXY
+ DrawText = BufferedDC.DrawTextXY
+ DrawRotatedText = BufferedDC.DrawRotatedTextXY
+ Blit = BufferedDC.BlitXY
+
+
+ class BufferedPaintDC_old(BufferedPaintDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = BufferedPaintDC.FloodFillXY
+ GetPixel = BufferedPaintDC.GetPixelXY
+ DrawLine = BufferedPaintDC.DrawLineXY
+ CrossHair = BufferedPaintDC.CrossHairXY
+ DrawArc = BufferedPaintDC.DrawArcXY
+ DrawCheckMark = BufferedPaintDC.DrawCheckMarkXY
+ DrawEllipticArc = BufferedPaintDC.DrawEllipticArcXY
+ DrawPoint = BufferedPaintDC.DrawPointXY
+ DrawRectangle = BufferedPaintDC.DrawRectangleXY
+ DrawRoundedRectangle = BufferedPaintDC.DrawRoundedRectangleXY
+ DrawCircle = BufferedPaintDC.DrawCircleXY
+ DrawEllipse = BufferedPaintDC.DrawEllipseXY
+ DrawIcon = BufferedPaintDC.DrawIconXY
+ DrawBitmap = BufferedPaintDC.DrawBitmapXY
+ DrawText = BufferedPaintDC.DrawTextXY
+ DrawRotatedText = BufferedPaintDC.DrawRotatedTextXY
+ Blit = BufferedPaintDC.BlitXY
+
+
+ class ScreenDC_old(ScreenDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = ScreenDC.FloodFillXY
+ GetPixel = ScreenDC.GetPixelXY
+ DrawLine = ScreenDC.DrawLineXY
+ CrossHair = ScreenDC.CrossHairXY
+ DrawArc = ScreenDC.DrawArcXY
+ DrawCheckMark = ScreenDC.DrawCheckMarkXY
+ DrawEllipticArc = ScreenDC.DrawEllipticArcXY
+ DrawPoint = ScreenDC.DrawPointXY
+ DrawRectangle = ScreenDC.DrawRectangleXY
+ DrawRoundedRectangle = ScreenDC.DrawRoundedRectangleXY
+ DrawCircle = ScreenDC.DrawCircleXY
+ DrawEllipse = ScreenDC.DrawEllipseXY
+ DrawIcon = ScreenDC.DrawIconXY
+ DrawBitmap = ScreenDC.DrawBitmapXY
+ DrawText = ScreenDC.DrawTextXY
+ DrawRotatedText = ScreenDC.DrawRotatedTextXY
+ Blit = ScreenDC.BlitXY
+
+
+ class ClientDC_old(ClientDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = ClientDC.FloodFillXY
+ GetPixel = ClientDC.GetPixelXY
+ DrawLine = ClientDC.DrawLineXY
+ CrossHair = ClientDC.CrossHairXY
+ DrawArc = ClientDC.DrawArcXY
+ DrawCheckMark = ClientDC.DrawCheckMarkXY
+ DrawEllipticArc = ClientDC.DrawEllipticArcXY
+ DrawPoint = ClientDC.DrawPointXY
+ DrawRectangle = ClientDC.DrawRectangleXY
+ DrawRoundedRectangle = ClientDC.DrawRoundedRectangleXY
+ DrawCircle = ClientDC.DrawCircleXY
+ DrawEllipse = ClientDC.DrawEllipseXY
+ DrawIcon = ClientDC.DrawIconXY
+ DrawBitmap = ClientDC.DrawBitmapXY
+ DrawText = ClientDC.DrawTextXY
+ DrawRotatedText = ClientDC.DrawRotatedTextXY
+ Blit = ClientDC.BlitXY
+
+
+ class PaintDC_old(PaintDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = PaintDC.FloodFillXY
+ GetPixel = PaintDC.GetPixelXY
+ DrawLine = PaintDC.DrawLineXY
+ CrossHair = PaintDC.CrossHairXY
+ DrawArc = PaintDC.DrawArcXY
+ DrawCheckMark = PaintDC.DrawCheckMarkXY
+ DrawEllipticArc = PaintDC.DrawEllipticArcXY
+ DrawPoint = PaintDC.DrawPointXY
+ DrawRectangle = PaintDC.DrawRectangleXY
+ DrawRoundedRectangle = PaintDC.DrawRoundedRectangleXY
+ DrawCircle = PaintDC.DrawCircleXY
+ DrawEllipse = PaintDC.DrawEllipseXY
+ DrawIcon = PaintDC.DrawIconXY
+ DrawBitmap = PaintDC.DrawBitmapXY
+ DrawText = PaintDC.DrawTextXY
+ DrawRotatedText = PaintDC.DrawRotatedTextXY
+ Blit = PaintDC.BlitXY
+
+
+ class WindowDC_old(WindowDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = WindowDC.FloodFillXY
+ GetPixel = WindowDC.GetPixelXY
+ DrawLine = WindowDC.DrawLineXY
+ CrossHair = WindowDC.CrossHairXY
+ DrawArc = WindowDC.DrawArcXY
+ DrawCheckMark = WindowDC.DrawCheckMarkXY
+ DrawEllipticArc = WindowDC.DrawEllipticArcXY
+ DrawPoint = WindowDC.DrawPointXY
+ DrawRectangle = WindowDC.DrawRectangleXY
+ DrawRoundedRectangle = WindowDC.DrawRoundedRectangleXY
+ DrawCircle = WindowDC.DrawCircleXY
+ DrawEllipse = WindowDC.DrawEllipseXY
+ DrawIcon = WindowDC.DrawIconXY
+ DrawBitmap = WindowDC.DrawBitmapXY
+ DrawText = WindowDC.DrawTextXY
+ DrawRotatedText = WindowDC.DrawRotatedTextXY
+ Blit = WindowDC.BlitXY
+
+
+ class MirrorDC_old(MirrorDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = MirrorDC.FloodFillXY
+ GetPixel = MirrorDC.GetPixelXY
+ DrawLine = MirrorDC.DrawLineXY
+ CrossHair = MirrorDC.CrossHairXY
+ DrawArc = MirrorDC.DrawArcXY
+ DrawCheckMark = MirrorDC.DrawCheckMarkXY
+ DrawEllipticArc = MirrorDC.DrawEllipticArcXY
+ DrawPoint = MirrorDC.DrawPointXY
+ DrawRectangle = MirrorDC.DrawRectangleXY
+ DrawRoundedRectangle = MirrorDC.DrawRoundedRectangleXY
+ DrawCircle = MirrorDC.DrawCircleXY
+ DrawEllipse = MirrorDC.DrawEllipseXY
+ DrawIcon = MirrorDC.DrawIconXY
+ DrawBitmap = MirrorDC.DrawBitmapXY
+ DrawText = MirrorDC.DrawTextXY
+ DrawRotatedText = MirrorDC.DrawRotatedTextXY
+ Blit = MirrorDC.BlitXY
+
+
+ class PostScriptDC_old(PostScriptDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = PostScriptDC.FloodFillXY
+ GetPixel = PostScriptDC.GetPixelXY
+ DrawLine = PostScriptDC.DrawLineXY
+ CrossHair = PostScriptDC.CrossHairXY
+ DrawArc = PostScriptDC.DrawArcXY
+ DrawCheckMark = PostScriptDC.DrawCheckMarkXY
+ DrawEllipticArc = PostScriptDC.DrawEllipticArcXY
+ DrawPoint = PostScriptDC.DrawPointXY
+ DrawRectangle = PostScriptDC.DrawRectangleXY
+ DrawRoundedRectangle = PostScriptDC.DrawRoundedRectangleXY
+ DrawCircle = PostScriptDC.DrawCircleXY
+ DrawEllipse = PostScriptDC.DrawEllipseXY
+ DrawIcon = PostScriptDC.DrawIconXY
+ DrawBitmap = PostScriptDC.DrawBitmapXY
+ DrawText = PostScriptDC.DrawTextXY
+ DrawRotatedText = PostScriptDC.DrawRotatedTextXY
+ Blit = PostScriptDC.BlitXY
+
+
+ class MetaFileDC_old(MetaFileDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = MetaFileDC.FloodFillXY
+ GetPixel = MetaFileDC.GetPixelXY
+ DrawLine = MetaFileDC.DrawLineXY
+ CrossHair = MetaFileDC.CrossHairXY
+ DrawArc = MetaFileDC.DrawArcXY
+ DrawCheckMark = MetaFileDC.DrawCheckMarkXY
+ DrawEllipticArc = MetaFileDC.DrawEllipticArcXY
+ DrawPoint = MetaFileDC.DrawPointXY
+ DrawRectangle = MetaFileDC.DrawRectangleXY
+ DrawRoundedRectangle = MetaFileDC.DrawRoundedRectangleXY
+ DrawCircle = MetaFileDC.DrawCircleXY
+ DrawEllipse = MetaFileDC.DrawEllipseXY
+ DrawIcon = MetaFileDC.DrawIconXY
+ DrawBitmap = MetaFileDC.DrawBitmapXY
+ DrawText = MetaFileDC.DrawTextXY
+ DrawRotatedText = MetaFileDC.DrawRotatedTextXY
+ Blit = MetaFileDC.BlitXY
+
+
+ class PrinterDC_old(PrinterDC):
+ """DC class that has methods with 2.4 compatible parameters."""
+ FloodFill = PrinterDC.FloodFillXY
+ GetPixel = PrinterDC.GetPixelXY
+ DrawLine = PrinterDC.DrawLineXY
+ CrossHair = PrinterDC.CrossHairXY
+ DrawArc = PrinterDC.DrawArcXY
+ DrawCheckMark = PrinterDC.DrawCheckMarkXY
+ DrawEllipticArc = PrinterDC.DrawEllipticArcXY
+ DrawPoint = PrinterDC.DrawPointXY
+ DrawRectangle = PrinterDC.DrawRectangleXY
+ DrawRoundedRectangle = PrinterDC.DrawRoundedRectangleXY
+ DrawCircle = PrinterDC.DrawCircleXY
+ DrawEllipse = PrinterDC.DrawEllipseXY
+ DrawIcon = PrinterDC.DrawIconXY
+ DrawBitmap = PrinterDC.DrawBitmapXY
+ DrawText = PrinterDC.DrawTextXY
+ DrawRotatedText = PrinterDC.DrawRotatedTextXY
+ Blit = PrinterDC.BlitXY
+
+
#---------------------------------------------------------------------------
@@ -9450,6 +9727,7 @@ Works for single as well as multi-line strings.
#---------------------------------------------------------------------------
+ NullColor = NullColour
#---------------------------------------------------------------------------
@@ -10003,12 +10281,6 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy)
-
- SetModal(bool flag)
-
-
-
-
IsModal() -> bool
@@ -10209,12 +10481,12 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy)
- __init__(Window parent, int id, Point point=DefaultPosition,
- Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
+ __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
-
+
@@ -10224,12 +10496,12 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy)
PreSplitterWindow() -> SplitterWindow
- Create(Window parent, int id, Point point=DefaultPosition,
- Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
+ Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=SP_3D, String name=SplitterNameStr) -> bool
-
+
@@ -11350,15 +11622,15 @@ EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK )
- __init__(Window parent, String message, String caption, int LCOUNT,
- String choices, long style=CHOICEDLG_STYLE,
+ __init__(Window parent, String message, String caption, int choices=0,
+ String choices_array, long style=CHOICEDLG_STYLE,
Point pos=DefaultPosition) -> MultiChoiceDialog
-
-
+
+
@@ -12248,6 +12520,15 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE
+
+ GetOutputStream() -> OutputStream
+
+
+ SetOutputStream(OutputStream outputstream)
+
+
+
+
@@ -12622,7 +12903,7 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE
GetAbort() -> bool
- Printer.GetLastError() -> int
+ GetLastError() -> int
@@ -13161,18 +13442,22 @@ indeed almost any other window.
This sets the button to be the default item for the panel or dialog box.
- Button.GetDefaultSize() -> Size
+ GetDefaultSize() -> Size
- A Buttont that contains a bitmap.
+ A Button that contains a bitmap. A bitmap button can be supplied with a
+single bitmap, and wxWindows will draw all button states using this bitmap. If
+the application needs more control, additional bitmaps for the selected state,
+unpressed focused state, and greyed-out state may be supplied.
+
__init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition,
Size size=DefaultSize, long style=BU_AUTODRAW,
Validator validator=DefaultValidator,
String name=ButtonNameStr) -> BitmapButton
- Create and show a button.
+ Create and show a button with a bitmap for the label.
@@ -13337,7 +13622,7 @@ unselected state, and for all other states if no other bitmaps are provided.
__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
+ wxArrayString choices=wxPyEmptyStringArray,
long style=0, Validator validator=DefaultValidator,
String name=ChoiceNameStr) -> Choice
@@ -13345,8 +13630,7 @@ unselected state, and for all other states if no other bitmaps are provided.
-
-
+
@@ -13357,7 +13641,7 @@ unselected state, and for all other states if no other bitmaps are provided.
Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
+ wxArrayString choices=wxPyEmptyStringArray,
long style=0, Validator validator=DefaultValidator,
String name=ChoiceNameStr) -> bool
@@ -13365,8 +13649,7 @@ unselected state, and for all other states if no other bitmaps are provided.
-
-
+
@@ -13410,7 +13693,7 @@ unselected state, and for all other states if no other bitmaps are provided.
__init__(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition,
Size size=DefaultSize,
- int choices=0, String choices_array=None,
+ wxArrayString choices=wxPyEmptyStringArray,
long style=0, Validator validator=DefaultValidator,
String name=ComboBoxNameStr) -> ComboBox
@@ -13419,8 +13702,7 @@ unselected state, and for all other states if no other bitmaps are provided.
-
-
+
@@ -13432,7 +13714,7 @@ unselected state, and for all other states if no other bitmaps are provided.
Create(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition,
Size size=DefaultSize,
- int choices=0, String choices_array=None,
+ wxArrayString choices=wxPyEmptyStringArray,
long style=0, Validator validator=DefaultValidator,
String name=ComboBoxNameStr) -> bool
@@ -13441,8 +13723,7 @@ unselected state, and for all other states if no other bitmaps are provided.
-
-
+
@@ -13671,7 +13952,7 @@ unselected state, and for all other states if no other bitmaps are provided.IsVertical() -> bool
- StaticLine.GetDefaultSize() -> int
+ GetDefaultSize() -> int
@@ -13770,7 +14051,7 @@ unselected state, and for all other states if no other bitmaps are provided.
__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
+ wxArrayString choices=wxPyEmptyStringArray,
long style=0, Validator validator=DefaultValidator,
String name=ListBoxNameStr) -> ListBox
@@ -13778,8 +14059,7 @@ unselected state, and for all other states if no other bitmaps are provided.
-
-
+
@@ -13790,7 +14070,7 @@ unselected state, and for all other states if no other bitmaps are provided.
Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
+ wxArrayString choices=wxPyEmptyStringArray,
long style=0, Validator validator=DefaultValidator,
String name=ListBoxNameStr) -> bool
@@ -13798,8 +14078,7 @@ unselected state, and for all other states if no other bitmaps are provided.
-
-
+
@@ -13894,6 +14173,27 @@ unselected state, and for all other states if no other bitmaps are provided.
IsSorted() -> bool
+
+ SetItemForegroundColour(int item, Colour c)
+
+
+
+
+
+
+ SetItemBackgroundColour(int item, Colour c)
+
+
+
+
+
+
+ SetItemFont(int item, Font f)
+
+
+
+
+
#---------------------------------------------------------------------------
@@ -13902,7 +14202,7 @@ unselected state, and for all other states if no other bitmaps are provided.
__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
+ wxArrayString choices=wxPyEmptyStringArray,
long style=0, Validator validator=DefaultValidator,
String name=ListBoxNameStr) -> CheckListBox
@@ -13910,8 +14210,7 @@ unselected state, and for all other states if no other bitmaps are provided.
-
-
+
@@ -13922,7 +14221,7 @@ unselected state, and for all other states if no other bitmaps are provided.
Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
+ wxArrayString choices=wxPyEmptyStringArray,
long style=0, Validator validator=DefaultValidator,
String name=ListBoxNameStr) -> bool
@@ -13930,8 +14229,7 @@ unselected state, and for all other states if no other bitmaps are provided.
-
-
+
@@ -13983,6 +14281,9 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
+
+ __del__()
+
Init()
@@ -14090,7 +14391,7 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
IsDefault() -> bool
- TextAttr.Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr
+ Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr
@@ -14294,6 +14595,17 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
+
+ HitTest(Point pt) -> (result, row, col)
+ Find the character at position given in pixels.
+NB: pt is in device coords (not adjusted for the client area
+origin nor scrolling)
+
+
+
+
+
+
Copy()
@@ -14614,8 +14926,30 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
+
+
+
+ __init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> SpinEvent
+
+
+
+
+
+
+ GetPosition() -> int
+
+
+ SetPosition(int pos)
+
+
+
+
+
-EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
+EVT_SPIN_UP = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEUP, 1)
+EVT_SPIN_DOWN = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEDOWN, 1)
+EVT_SPIN = wx.PyEventBinder( wx.wxEVT_SCROLL_THUMBTRACK, 1)
+EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
#---------------------------------------------------------------------------
@@ -14623,19 +14957,18 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
- __init__(Window parent, int id, String label, Point point=DefaultPosition,
- Size size=DefaultSize, int choices=0,
- String choices_array=None, int majorDimension=0,
+ __init__(Window parent, int id, String label, Point pos=DefaultPosition,
+ Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
+ int majorDimension=0,
long style=RA_HORIZONTAL, Validator validator=DefaultValidator,
String name=RadioBoxNameStr) -> RadioBox
-
+
-
-
+
@@ -14646,19 +14979,18 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
PreRadioBox() -> RadioBox
- Create(Window parent, int id, String label, Point point=DefaultPosition,
- Size size=DefaultSize, int choices=0,
- String choices_array=None, int majorDimension=0,
+ Create(Window parent, int id, String label, Point pos=DefaultPosition,
+ Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
+ int majorDimension=0,
long style=RA_HORIZONTAL, Validator validator=DefaultValidator,
String name=RadioBoxNameStr) -> bool
-
+
-
-
+
@@ -14789,7 +15121,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
__init__(Window parent, int id, int value, int minValue, int maxValue,
- Point point=DefaultPosition, Size size=DefaultSize,
+ Point pos=DefaultPosition, Size size=DefaultSize,
long style=SL_HORIZONTAL, Validator validator=DefaultValidator,
String name=SliderNameStr) -> Slider
@@ -14798,7 +15130,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
-
+
@@ -14810,7 +15142,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
Create(Window parent, int id, int value, int minValue, int maxValue,
- Point point=DefaultPosition, Size size=DefaultSize,
+ Point pos=DefaultPosition, Size size=DefaultSize,
long style=SL_HORIZONTAL, Validator validator=DefaultValidator,
String name=SliderNameStr) -> bool
@@ -14819,7 +15151,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
-
+
@@ -14888,10 +15220,10 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
GetThumbLength() -> int
- SetTickFreq(int n, int pos)
+ SetTickFreq(int n, int pos=1)
-
+
@@ -15178,7 +15510,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
HitTest(Point pt) -> (tab, where)
- Returns the tab which is hit, and flags indicating where using wxNB_HITTEST_ flags.
+ Returns the tab which is hit, and flags indicating where using wx.NB_HITTEST_ flags.
@@ -16587,7 +16919,7 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)
-
+
@@ -16979,10 +17311,10 @@ EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
- GetNextChild(TreeItemId item, wxTreeItemIdValue cookie) -> PyObject
+ GetNextChild(TreeItemId item, void cookie) -> PyObject
-
+
@@ -17115,11 +17447,24 @@ EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
Unselect()
+
+ UnselectItem(TreeItemId item)
+
+
+
+
UnselectAll()
- SelectItem(TreeItemId item)
+ SelectItem(TreeItemId item, bool select=True)
+
+
+
+
+
+
+ ToggleItemSelection(TreeItemId item)
@@ -17537,13 +17882,13 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
- HelpProvider.Set(HelpProvider helpProvider) -> HelpProvider
+ Set(HelpProvider helpProvider) -> HelpProvider
- HelpProvider.Get() -> HelpProvider
+ Get() -> HelpProvider
GetHelp(Window window) -> String
@@ -17704,34 +18049,34 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
- SystemSettings.GetColour(int index) -> Colour
+ GetColour(int index) -> Colour
- SystemSettings.GetFont(int index) -> Font
+ GetFont(int index) -> Font
- SystemSettings.GetMetric(int index) -> int
+ GetMetric(int index) -> int
- SystemSettings.HasFeature(int index) -> bool
+ HasFeature(int index) -> bool
- SystemSettings.GetScreenType() -> int
+ GetScreenType() -> int
- SystemSettings.SetScreenType(int screen)
+ SetScreenType(int screen)
@@ -17743,33 +18088,33 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
__init__() -> SystemOptions
- SystemOptions.SetOption(String name, String value)
+ SetOption(String name, String value)
- SystemOptions.SetOptionInt(String name, int value)
+ SetOptionInt(String name, int value)
- SystemOptions.GetOption(String name) -> String
+ GetOption(String name) -> String
- SystemOptions.GetOptionInt(String name) -> int
+ GetOptionInt(String name) -> int
- SystemOptions.HasOption(String name) -> bool
+ HasOption(String name) -> bool
@@ -18158,13 +18503,13 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
GetWindow() -> Window
- ToolTip.Enable(bool flag)
+ Enable(bool flag)
- ToolTip.SetDelay(long milliseconds)
+ SetDelay(long milliseconds)
@@ -18576,16 +18921,16 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner__init__() -> Log
- Log.IsEnabled() -> bool
+ IsEnabled() -> bool
- Log.EnableLogging(bool doIt=True) -> bool
+ EnableLogging(bool doIt=True) -> bool
- Log.OnLog(wxLogLevel level, wxChar szString, time_t t)
+ OnLog(wxLogLevel level, wxChar szString, time_t t)
@@ -18596,88 +18941,88 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunnerFlush()
- Log.FlushActive()
+ FlushActive()
- Log.GetActiveTarget() -> Log
+ GetActiveTarget() -> Log
- Log.SetActiveTarget(Log pLogger) -> Log
+ SetActiveTarget(Log pLogger) -> Log
- Log.Suspend()
+ Suspend()
- Log.Resume()
+ Resume()
- Log.SetVerbose(bool bVerbose=True)
+ SetVerbose(bool bVerbose=True)
- Log.SetLogLevel(wxLogLevel logLevel)
+ SetLogLevel(wxLogLevel logLevel)
- Log.DontCreateOnDemand()
+ DontCreateOnDemand()
- Log.SetTraceMask(wxTraceMask ulMask)
+ SetTraceMask(wxTraceMask ulMask)
- Log.AddTraceMask(String str)
+ AddTraceMask(String str)
- Log.RemoveTraceMask(String str)
+ RemoveTraceMask(String str)
- Log.ClearTraceMasks()
+ ClearTraceMasks()
- Log.GetTraceMasks() -> wxArrayString
+ GetTraceMasks() -> wxArrayString
- Log.SetTimestamp(wxChar ts)
+ SetTimestamp(wxChar ts)
- Log.GetVerbose() -> bool
+ GetVerbose() -> bool
- Log.GetTraceMask() -> wxTraceMask
+ GetTraceMask() -> wxTraceMask
- Log.IsAllowedTraceMask(wxChar mask) -> bool
+ IsAllowedTraceMask(wxChar mask) -> bool
- Log.GetLogLevel() -> wxLogLevel
+ GetLogLevel() -> wxLogLevel
- Log.GetTimestamp() -> wxChar
+ GetTimestamp() -> wxChar
- Log.TimeStamp() -> String
+ TimeStamp() -> String
Destroy()
@@ -18896,20 +19241,20 @@ LogTrace(String mask, String msg)
- Process.Kill(int pid, int sig=SIGTERM) -> int
+ Kill(int pid, int sig=SIGTERM) -> int
- Process.Exists(int pid) -> bool
+ Exists(int pid) -> bool
- Process.Open(String cmd, int flags=EXEC_ASYNC) -> Process
+ Open(String cmd, int flags=EXEC_ASYNC) -> Process
@@ -19243,33 +19588,59 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN,
#---------------------------------------------------------------------------
-
-
- __init__(String fileName, bool isResource=False) -> Wave
+
+
+
-
+
-
- WaveData(String data) -> Wave
+
+ __init__() -> Sound
+__init__(String fileName, bool isResource=false) -> Sound
+__init__(int size, wxByte data) -> Sound
-
+
+
-
+
__del__()
+
+
+
+
+
+
+
+ Create(String fileName, bool isResource=false) -> bool
+Create(int size, wxByte data) -> bool
+
+
+
+
+
IsOk() -> bool
- Play(bool async=True, bool looped=False) -> bool
+ Play(unsigned int flags=SOUND_ASYNC) -> bool
-
-
+
+
+ PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool
+
+
+
+
+
+
+ Stop()
+
#---------------------------------------------------------------------------
@@ -19405,7 +19776,7 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN,
Unassociate() -> bool
- FileType.ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String
+ ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String
@@ -19421,7 +19792,7 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN,
__del__()
- MimeTypesManager.IsOfType(String mimeType, String wildcard) -> bool
+ IsOfType(String mimeType, String wildcard) -> bool
@@ -19499,18 +19870,18 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN,
- ArtProvider.PushProvider(ArtProvider provider)
+ PushProvider(ArtProvider provider)
Add new provider to the top of providers stack.
- ArtProvider.PopProvider() -> bool
+ PopProvider() -> bool
Remove latest added provider and delete it.
- ArtProvider.RemoveProvider(ArtProvider provider) -> bool
+ RemoveProvider(ArtProvider provider) -> bool
Remove provider. The provider must have been added previously!
The provider is _not_ deleted.
@@ -19518,7 +19889,7 @@ The provider is _not_ deleted.
- ArtProvider.GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap
+ GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap
Query the providers for bitmap with given ID and return it. Return
wx.NullBitmap if no provider provides it.
@@ -19528,7 +19899,7 @@ wx.NullBitmap if no provider provides it.
- ArtProvider.GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon
+ GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon
Query the providers for icon with given ID and return it. Return
wx.NullIcon if no provider provides it.
@@ -19549,22 +19920,22 @@ wx.NullIcon if no provider provides it.
__del__()
- ConfigBase.Set(ConfigBase pConfig) -> ConfigBase
+ Set(ConfigBase pConfig) -> ConfigBase
- ConfigBase.Get(bool createOnDemand=True) -> ConfigBase
+ Get(bool createOnDemand=True) -> ConfigBase
- ConfigBase.Create() -> ConfigBase
+ Create() -> ConfigBase
- ConfigBase.DontCreateOnDemand()
+ DontCreateOnDemand()
SetPath(String strPath)
@@ -19875,60 +20246,60 @@ wx.NullIcon if no provider provides it.
__del__()
- DateTime.SetCountry(int country)
+ SetCountry(int country)
- DateTime.GetCountry() -> int
+ GetCountry() -> int
- DateTime.IsWestEuropeanCountry(int country=Country_Default) -> bool
+ IsWestEuropeanCountry(int country=Country_Default) -> bool
- DateTime.GetCurrentYear(int cal=Gregorian) -> int
+ GetCurrentYear(int cal=Gregorian) -> int
- DateTime.ConvertYearToBC(int year) -> int
+ ConvertYearToBC(int year) -> int
- DateTime.GetCurrentMonth(int cal=Gregorian) -> int
+ GetCurrentMonth(int cal=Gregorian) -> int
- DateTime.IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool
+ IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool
- DateTime.GetCentury(int year=Inv_Year) -> int
+ GetCentury(int year=Inv_Year) -> int
- DateTime.GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int
+ GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int
- DateTime.GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int
+ GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int
@@ -19936,14 +20307,14 @@ wx.NullIcon if no provider provides it.
- DateTime.GetMonthName(int month, int flags=Name_Full) -> String
+ GetMonthName(int month, int flags=Name_Full) -> String
- DateTime.GetWeekDayName(int weekday, int flags=Name_Full) -> String
+ GetWeekDayName(int weekday, int flags=Name_Full) -> String
@@ -19958,34 +20329,34 @@ wx.NullIcon if no provider provides it.
- DateTime.IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool
+ IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool
- DateTime.GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime
+ GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime
- DateTime.GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime
+ GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime
- DateTime.Now() -> DateTime
+ Now() -> DateTime
- DateTime.UNow() -> DateTime
+ UNow() -> DateTime
- DateTime.Today() -> DateTime
+ Today() -> DateTime
SetToCurrent() -> DateTime
@@ -20479,7 +20850,7 @@ __sub__(DateSpan other) -> DateTime
- ParseFormat(String date, String format=DateFormatStr, DateTime dateDef=wxDefaultDateTime) -> int
+ ParseFormat(String date, String format=DateFormatStr, DateTime dateDef=DefaultDateTime) -> int
@@ -20538,49 +20909,49 @@ __sub__(DateSpan other) -> DateTime
__del__()
- TimeSpan.Seconds(long sec) -> TimeSpan
+ Seconds(long sec) -> TimeSpan
- TimeSpan.Second() -> TimeSpan
+ Second() -> TimeSpan
- TimeSpan.Minutes(long min) -> TimeSpan
+ Minutes(long min) -> TimeSpan
- TimeSpan.Minute() -> TimeSpan
+ Minute() -> TimeSpan
- TimeSpan.Hours(long hours) -> TimeSpan
+ Hours(long hours) -> TimeSpan
- TimeSpan.Hour() -> TimeSpan
+ Hour() -> TimeSpan
- TimeSpan.Days(long days) -> TimeSpan
+ Days(long days) -> TimeSpan
- TimeSpan.Day() -> TimeSpan
+ Day() -> TimeSpan
- TimeSpan.Weeks(long days) -> TimeSpan
+ Weeks(long days) -> TimeSpan
- TimeSpan.Week() -> TimeSpan
+ Week() -> TimeSpan
Add(TimeSpan diff) -> TimeSpan
@@ -20753,40 +21124,40 @@ __sub__(DateSpan other) -> DateTime
__del__()
- DateSpan.Days(int days) -> DateSpan
+ Days(int days) -> DateSpan
- DateSpan.Day() -> DateSpan
+ Day() -> DateSpan
- DateSpan.Weeks(int weeks) -> DateSpan
+ Weeks(int weeks) -> DateSpan
- DateSpan.Week() -> DateSpan
+ Week() -> DateSpan
- DateSpan.Months(int mon) -> DateSpan
+ Months(int mon) -> DateSpan
- DateSpan.Month() -> DateSpan
+ Month() -> DateSpan
- DateSpan.Years(int years) -> DateSpan
+ Years(int years) -> DateSpan
- DateSpan.Year() -> DateSpan
+ Year() -> DateSpan
SetYears(int n) -> DateSpan
@@ -21218,10 +21589,10 @@ __ne__(DataFormat format) -> bool
- __init__(Window win=None, Icon copy=wxNullIcon, Icon move=wxNullIcon,
+ __init__(Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon,
Icon none=wxNullIcon) -> DropSource
-
+
@@ -21494,25 +21865,21 @@ __ne__(DataFormat format) -> bool
wx = core
+ A set of customization attributes for a calendar date, which can be used to
+control the look of the Calendar object.
- __init__(Colour colText, Colour colBack=wxNullColour, Colour colBorder=wxNullColour,
- Font font=wxNullFont,
+ __init__(Colour colText=wxNullColour, Colour colBack=wxNullColour,
+ Colour colBorder=wxNullColour, Font font=wxNullFont,
int border=CAL_BORDER_NONE) -> CalendarDateAttr
+ Create a CalendarDateAttr.
-
+
-
- CalendarDateAttrBorder(int border, Colour colBorder=wxNullColour) -> CalendarDateAttr
-
-
-
-
-
SetTextColour(Colour colText)
@@ -21620,12 +21987,106 @@ EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1)
EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1)
+ The calendar control allows the user to pick a date interactively.
+ The CalendarCtrl displays a window containing several parts: the control to
+pick the month and the year at the top (either or both of them may be
+disabled) and a month area below them which shows all the days in the
+month. The user can move the current selection using the keyboard and select
+the date (generating EVT_CALENDAR event) by pressing <Return> or double
+clicking it.
+
+It has advanced possibilities for the customization of its display. All global
+settings (such as colours and fonts used) can, of course, be changed. But
+also, the display style for each day in the month can be set independently
+using CalendarDateAttr class.
+
+An item without custom attributes is drawn with the default colours and font
+and without border, but setting custom attributes with SetAttr allows to
+modify its appearance. Just create a custom attribute object and set it for
+the day you want to be displayed specially A day may be marked as being a
+holiday, (even if it is not recognized as one by wx.DateTime) by using the
+SetHoliday method.
+
+As the attributes are specified for each day, they may change when the month
+is changed, so you will often want to update them in an EVT_CALENDAR_MONTH
+event handler.
+
+ Styles
+ CAL_SUNDAY_FIRST: Show Sunday as the first day in the week
+ CAL_MONDAY_FIRST: Show Monday as the first day in the week
+ CAL_SHOW_HOLIDAYS: Highlight holidays in the calendar
+ CAL_NO_YEAR_CHANGE: Disable the year changing
+ CAL_NO_MONTH_CHANGE: Disable the month (and, implicitly, the year) changing
+ CAL_SHOW_SURROUNDING_WEEKS: Show the neighbouring weeks in the previous and next months
+ CAL_SEQUENTIAL_MONTH_SELECTION: Use alternative, more compact, style for the month and year selection controls.
+
+The default calendar style is wxCAL_SHOW_HOLIDAYS.
+
+ Events
+ EVT_CALENDAR: A day was double clicked in the calendar.
+ EVT_CALENDAR_SEL_CHANGED: The selected date changed.
+ EVT_CALENDAR_DAY: The selected day changed.
+ EVT_CALENDAR_MONTH: The selected month changed.
+ EVT_CALENDAR_YEAR: The selected year changed.
+ EVT_CALENDAR_WEEKDAY_CLICKED: User clicked on the week day header
+
+Note that changing the selected date will result in either of
+EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event.
+
+
- __init__(Window parent, int id, DateTime date=wxDefaultDateTime,
+ __init__(Window parent, int id, DateTime date=DefaultDateTime,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
String name=CalendarNameStr) -> CalendarCtrl
+ Create and show a calendar control.
+ The CalendarCtrl displays a window containing several parts: the control to
+pick the month and the year at the top (either or both of them may be
+disabled) and a month area below them which shows all the days in the
+month. The user can move the current selection using the keyboard and select
+the date (generating EVT_CALENDAR event) by pressing <Return> or double
+clicking it.
+
+It has advanced possibilities for the customization of its display. All global
+settings (such as colours and fonts used) can, of course, be changed. But
+also, the display style for each day in the month can be set independently
+using CalendarDateAttr class.
+
+An item without custom attributes is drawn with the default colours and font
+and without border, but setting custom attributes with SetAttr allows to
+modify its appearance. Just create a custom attribute object and set it for
+the day you want to be displayed specially A day may be marked as being a
+holiday, (even if it is not recognized as one by wx.DateTime) by using the
+SetHoliday method.
+
+As the attributes are specified for each day, they may change when the month
+is changed, so you will often want to update them in an EVT_CALENDAR_MONTH
+event handler.
+
+ Styles
+ CAL_SUNDAY_FIRST: Show Sunday as the first day in the week
+ CAL_MONDAY_FIRST: Show Monday as the first day in the week
+ CAL_SHOW_HOLIDAYS: Highlight holidays in the calendar
+ CAL_NO_YEAR_CHANGE: Disable the year changing
+ CAL_NO_MONTH_CHANGE: Disable the month (and, implicitly, the year) changing
+ CAL_SHOW_SURROUNDING_WEEKS: Show the neighbouring weeks in the previous and next months
+ CAL_SEQUENTIAL_MONTH_SELECTION: Use alternative, more compact, style for the month and year selection controls.
+
+The default calendar style is wxCAL_SHOW_HOLIDAYS.
+
+ Events
+ EVT_CALENDAR: A day was double clicked in the calendar.
+ EVT_CALENDAR_SEL_CHANGED: The selected date changed.
+ EVT_CALENDAR_DAY: The selected day changed.
+ EVT_CALENDAR_MONTH: The selected month changed.
+ EVT_CALENDAR_YEAR: The selected year changed.
+ EVT_CALENDAR_WEEKDAY_CLICKED: User clicked on the week day header
+
+Note that changing the selected date will result in either of
+EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event.
+
+
@@ -21638,12 +22099,60 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED,
PreCalendarCtrl() -> CalendarCtrl
+ Precreate a CalendarCtrl for 2-phase creation.
+ The CalendarCtrl displays a window containing several parts: the control to
+pick the month and the year at the top (either or both of them may be
+disabled) and a month area below them which shows all the days in the
+month. The user can move the current selection using the keyboard and select
+the date (generating EVT_CALENDAR event) by pressing <Return> or double
+clicking it.
+
+It has advanced possibilities for the customization of its display. All global
+settings (such as colours and fonts used) can, of course, be changed. But
+also, the display style for each day in the month can be set independently
+using CalendarDateAttr class.
+
+An item without custom attributes is drawn with the default colours and font
+and without border, but setting custom attributes with SetAttr allows to
+modify its appearance. Just create a custom attribute object and set it for
+the day you want to be displayed specially A day may be marked as being a
+holiday, (even if it is not recognized as one by wx.DateTime) by using the
+SetHoliday method.
+
+As the attributes are specified for each day, they may change when the month
+is changed, so you will often want to update them in an EVT_CALENDAR_MONTH
+event handler.
+
+ Styles
+ CAL_SUNDAY_FIRST: Show Sunday as the first day in the week
+ CAL_MONDAY_FIRST: Show Monday as the first day in the week
+ CAL_SHOW_HOLIDAYS: Highlight holidays in the calendar
+ CAL_NO_YEAR_CHANGE: Disable the year changing
+ CAL_NO_MONTH_CHANGE: Disable the month (and, implicitly, the year) changing
+ CAL_SHOW_SURROUNDING_WEEKS: Show the neighbouring weeks in the previous and next months
+ CAL_SEQUENTIAL_MONTH_SELECTION: Use alternative, more compact, style for the month and year selection controls.
+
+The default calendar style is wxCAL_SHOW_HOLIDAYS.
+
+ Events
+ EVT_CALENDAR: A day was double clicked in the calendar.
+ EVT_CALENDAR_SEL_CHANGED: The selected date changed.
+ EVT_CALENDAR_DAY: The selected day changed.
+ EVT_CALENDAR_MONTH: The selected month changed.
+ EVT_CALENDAR_YEAR: The selected year changed.
+ EVT_CALENDAR_WEEKDAY_CLICKED: User clicked on the week day header
+
+Note that changing the selected date will result in either of
+EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event.
+
+
- Create(Window parent, int id, DateTime date=wxDefaultDateTime,
+ Create(Window parent, int id, DateTime date=DefaultDateTime,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
String name=CalendarNameStr) -> bool
+ Acutally create the GUI portion of the CalendarCtrl for 2-phase creation.
@@ -21656,33 +22165,40 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED,
SetDate(DateTime date)
+ Sets the current date.
GetDate() -> DateTime
+ Gets the currently selected date.
- SetLowerDateLimit(DateTime date=wxDefaultDateTime) -> bool
+ SetLowerDateLimit(DateTime date=DefaultDateTime) -> bool
+ set the range in which selection can occur
-
- GetLowerDateLimit() -> DateTime
-
- SetUpperDateLimit(DateTime date=wxDefaultDateTime) -> bool
+ SetUpperDateLimit(DateTime date=DefaultDateTime) -> bool
+ set the range in which selection can occur
+
+ GetLowerDateLimit() -> DateTime
+ get the range in which selection can occur
+
GetUpperDateLimit() -> DateTime
+ get the range in which selection can occur
- SetDateRange(DateTime lowerdate=wxDefaultDateTime, DateTime upperdate=wxDefaultDateTime) -> bool
+ SetDateRange(DateTime lowerdate=DefaultDateTime, DateTime upperdate=DefaultDateTime) -> bool
+ set the range in which selection can occur
@@ -21690,24 +22206,33 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED,
EnableYearChange(bool enable=True)
+ This function should be used instead of changing CAL_NO_YEAR_CHANGE
+style bit directly. It allows or disallows the user to change the year
+interactively.
EnableMonthChange(bool enable=True)
+ This function should be used instead of changing CAL_NO_MONTH_CHANGE style
+bit. It allows or disallows the user to change the month interactively. Note
+that if the month can not be changed, the year can not be changed either.
EnableHolidayDisplay(bool display=True)
+ This function should be used instead of changing CAL_SHOW_HOLIDAYS style
+bit directly. It enables or disables the special highlighting of the holidays.
SetHeaderColours(Colour colFg, Colour colBg)
+ header colours are used for painting the weekdays at the top
@@ -21715,12 +22240,15 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED,
GetHeaderColourFg() -> Colour
+ header colours are used for painting the weekdays at the top
GetHeaderColourBg() -> Colour
+ header colours are used for painting the weekdays at the top
SetHighlightColours(Colour colFg, Colour colBg)
+ highlight colour is used for the currently selected date
@@ -21728,12 +22256,15 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED,
GetHighlightColourFg() -> Colour
+ highlight colour is used for the currently selected date
GetHighlightColourBg() -> Colour
+ highlight colour is used for the currently selected date
SetHolidayColours(Colour colFg, Colour colBg)
+ holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)
@@ -21741,18 +22272,24 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED,
GetHolidayColourFg() -> Colour
+ holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)
GetHolidayColourBg() -> Colour
+ holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)
GetAttr(size_t day) -> CalendarDateAttr
+ Returns the attribute for the given date (should be in the range 1...31).
+The returned value may be None
SetAttr(size_t day, CalendarDateAttr attr)
+ Associates the attribute with the specified date (in the range 1...31).
+If the attribute passed is None, the items attribute is cleared.
@@ -21760,41 +22297,39 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED,
SetHoliday(size_t day)
+ Marks the specified day as being a holiday in the current month.
ResetAttr(size_t day)
+ Clears any attributes associated with the given day (in the range 1...31).
-
- HitTest(Point pos, DateTime date=None, int wd=None) -> int
+
+ HitTest(Point pos) -> (result, date, weekday)
+ Returns 3-tuple with information about the given position on the calendar
+control. The first value of the tuple is a result code and determines the
+validity of the remaining two values. The result codes are:
+
+ CAL_HITTEST_NOWHERE: hit outside of anything
+ CAL_HITTEST_HEADER: hit on the header, weekday is valid
+ CAL_HITTEST_DAY: hit on a day in the calendar, date is set.
+
-
-
-
-
-
- Enable(bool enable=True) -> bool
-
-
-
-
-
- Show(bool show=True) -> bool
-
-
GetMonthControl() -> Control
+ get the currently shown control for month
GetYearControl() -> Control
+ get the currently shown control for year
@@ -25140,11 +25675,26 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
- HtmlWindow.AddFilter(HtmlFilter filter)
+ AddFilter(HtmlFilter filter)
+
+ SelectWord(Point pos)
+
+
+
+
+
+ SelectLine(Point pos)
+
+
+
+
+
+ SelectAll()
+
base_OnLinkClicked(HtmlLinkInfo link)
@@ -25289,13 +25839,13 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
- HtmlPrintout.AddFilter(wxHtmlFilter filter)
+ AddFilter(wxHtmlFilter filter)
- HtmlPrintout.CleanUpStatics()
+ CleanUpStatics()
@@ -25877,7 +26427,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
- WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)
+ Chain(WizardPageSimple first, WizardPageSimple second)
@@ -26039,8 +26589,8 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
-
- wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition,
+
+ GLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize,
long style=0, String name=GLCanvasNameStr,
int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas
@@ -26222,6 +26772,20 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
ClearText()
+
+
+
+ __init__(int id=0, double x=0.0, double y=0.0) -> AttachmentPoint
+
+
+
+
+
+
+
+
+
+
@@ -27045,6 +27609,9 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
+
+ GetAttachments() -> PyObject
+
GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0,
int no_arcs=1, PyLineShape line=None) -> bool
@@ -27226,6 +27793,12 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
GetRotation() -> double
+
+ SetRotation(double rotation)
+
+
+
+
ClearAttachments()
@@ -27755,6 +28328,9 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
+
+ GetCornerRadius() -> double
+
base_OnDelete()
@@ -30782,6 +31358,38 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
Unlink()
+
+ SetAlignmentOrientation(bool isEnd, bool isHoriz)
+
+
+
+
+
+
+ SetAlignmentType(bool isEnd, int alignType)
+
+
+
+
+
+
+ GetAlignmentOrientation(bool isEnd) -> bool
+
+
+
+
+
+ GetAlignmentType(bool isEnd) -> int
+
+
+
+
+
+ GetAlignmentStart() -> int
+
+
+ GetAlignmentEnd() -> int
+
base_OnDraw(DC dc)
@@ -31053,6 +31661,27 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
GetPoints() -> PyObject
+
+ GetOriginalPoints() -> PyObject
+
+
+ GetOriginalWidth() -> double
+
+
+ GetOriginalHeight() -> double
+
+
+ SetOriginalWidth(double w)
+
+
+
+
+
+ SetOriginalHeight(double h)
+
+
+
+
UpdateOriginalPoints()
@@ -31854,6 +32483,7 @@ ControlPoint = PyControlPoint
+
wx = core
@@ -33451,6 +34081,12 @@ ControlPoint = PyControlPoint
+
+ SetHotspotSingleLine(bool singleLine)
+
+
+
+
PositionBefore(int pos) -> int
@@ -33477,6 +34113,39 @@ ControlPoint = PyControlPoint
+
+ SetSelectionMode(int mode)
+
+
+
+
+
+ GetSelectionMode() -> int
+
+
+ GetLineSelStartPosition(int line) -> int
+
+
+
+
+
+ GetLineSelEndPosition(int line) -> int
+
+
+
+
+
+ SetWhitespaceChars(String characters)
+
+
+
+
+
+ SetCharsDefault()
+
+
+ AutoCompGetCurrent() -> int
+
StartRecord()
@@ -33628,7 +34297,7 @@ ControlPoint = PyControlPoint
- DoDragOver(int x, int y, wxDragResult def) -> wxDragResult
+ DoDragOver(int x, int y, int def) -> int
@@ -33643,6 +34312,15 @@ ControlPoint = PyControlPoint
+
+ SetUseAntiAliasing(bool useAA)
+
+
+
+
+
+ GetUseAntiAliasing() -> bool
+
@@ -33771,7 +34449,7 @@ ControlPoint = PyControlPoint
- SetDragResult(wxDragResult val)
+ SetDragResult(int val)
@@ -33834,7 +34512,7 @@ ControlPoint = PyControlPoint
GetDragAllowMove() -> bool
- GetDragResult() -> wxDragResult
+ GetDragResult() -> int
GetShift() -> bool
@@ -33933,7 +34611,7 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
ClearHandlers()
- XmlResource.AddSubclassFactory(XmlSubclassFactory factory)
+ AddSubclassFactory(XmlSubclassFactory factory)
@@ -34047,7 +34725,7 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
- XmlResource.GetXRCID(String str_id) -> int
+ GetXRCID(String str_id) -> int
@@ -34065,10 +34743,10 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
- XmlResource.Get() -> XmlResource
+ Get() -> XmlResource
- XmlResource.Set(XmlResource res) -> XmlResource
+ Set(XmlResource res) -> XmlResource