X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cff531b1a85a05ea1cec6e13a543ddd6a7fb0ab3..e3f9e20cb15c62bd347a8e52d2d36529adbdb3d6:/wxPython/docs/xml/wxPython-metadata.xml diff --git a/wxPython/docs/xml/wxPython-metadata.xml b/wxPython/docs/xml/wxPython-metadata.xml index 0c7460d458..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 @@ -2761,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 @@ -2968,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 @@ -3037,6 +3037,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) __init__() -> PyApp + Create a new application object, starting the bootstrap process. __del__() @@ -3227,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) @@ -3276,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. @@ -3697,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 @@ -4026,7 +4027,7 @@ more or less independent of the screen window size. SetFocusFromKbd() - Window.FindFocus() -> Window + FindFocus() -> Window AcceptsFocus() -> bool @@ -4200,7 +4201,7 @@ more or less independent of the screen window size. ReleaseMouse() - Window.GetCapture() -> Window + GetCapture() -> Window HasCapture() -> bool @@ -4642,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) @@ -4677,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 @@ -4686,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 @@ -4714,8 +4715,8 @@ def DLG_SZE(win, size_width, height=None): - - AppendItem(MenuItem item) + + AppendItem(MenuItem item) -> MenuItem @@ -4723,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 @@ -4741,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 @@ -4756,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 @@ -4765,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 @@ -4775,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 @@ -4790,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 @@ -5211,7 +5212,7 @@ def DLG_SZE(win, size_width, height=None): GetText() -> String - MenuItem.GetLabelFromText(String text) -> String + GetLabelFromText(String text) -> String @@ -5280,7 +5281,7 @@ def DLG_SZE(win, size_width, height=None): - MenuItem.GetDefaultMarginWidth() -> int + GetDefaultMarginWidth() -> int SetBitmap(Bitmap bitmap) @@ -6828,6 +6829,11 @@ _core._wxPyFixStockObjects() Get() -> PyObject + + Color = Colour + NamedColor = NamedColour + ColorRGB = ColourRGB + @@ -6937,6 +6943,12 @@ _core._wxPyFixStockObjects() GetDashes() -> PyObject + + __eq__(Pen pen) -> bool + + + + GetDashCount() -> int @@ -7175,22 +7187,16 @@ 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 @@ -7752,10 +7758,10 @@ background. __del__() - FontMapper.Get() -> FontMapper + Get() -> FontMapper - FontMapper.Set(FontMapper mapper) -> FontMapper + Set(FontMapper mapper) -> FontMapper @@ -7768,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 @@ -7801,7 +7807,7 @@ background. - FontMapper.GetDefaultConfigPath() -> String + GetDefaultConfigPath() -> String GetAltForEncoding(int encoding, String facename=EmptyString, bool interactive=True) -> PyObject @@ -8003,10 +8009,10 @@ background. GetNoAntiAliasing() -> bool - Font.GetDefaultEncoding() -> int + GetDefaultEncoding() -> int - Font.SetDefaultEncoding(int encoding) + SetDefaultEncoding(int encoding) @@ -8089,13 +8095,13 @@ background. - Locale.GetSystemLanguage() -> int + GetSystemLanguage() -> int - Locale.GetSystemEncoding() -> int + GetSystemEncoding() -> int - Locale.GetSystemEncodingName() -> String + GetSystemEncodingName() -> String IsOk() -> bool @@ -8113,7 +8119,7 @@ background. GetCanonicalName() -> String - Locale.AddCatalogLookupPathPrefix(String prefix) + AddCatalogLookupPathPrefix(String prefix) @@ -8131,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) @@ -8170,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 - - + + @@ -8208,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 @@ -8755,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. @@ -9079,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 + @@ -9099,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 + + + @@ -9201,13 +9229,13 @@ Works for single as well as multi-line strings. - PostScriptDC.SetResolution(int ppi) + SetResolution(int ppi) - PostScriptDC.GetResolution() -> int + GetResolution() -> int @@ -9699,6 +9727,7 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- + NullColor = NullColour #--------------------------------------------------------------------------- @@ -10452,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 - + @@ -10467,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 - + @@ -11593,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 - - + + @@ -12491,6 +12520,15 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE + + GetOutputStream() -> OutputStream + + + SetOutputStream(OutputStream outputstream) + + + + @@ -12865,7 +12903,7 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE GetAbort() -> bool - Printer.GetLastError() -> int + GetLastError() -> int @@ -13404,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. @@ -13580,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 @@ -13588,8 +13630,7 @@ unselected state, and for all other states if no other bitmaps are provided. - - + @@ -13600,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 @@ -13608,8 +13649,7 @@ unselected state, and for all other states if no other bitmaps are provided. - - + @@ -13653,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 @@ -13662,8 +13702,7 @@ unselected state, and for all other states if no other bitmaps are provided. - - + @@ -13675,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 @@ -13684,8 +13723,7 @@ unselected state, and for all other states if no other bitmaps are provided. - - + @@ -13914,7 +13952,7 @@ unselected state, and for all other states if no other bitmaps are provided.IsVertical() -> bool - StaticLine.GetDefaultSize() -> int + GetDefaultSize() -> int @@ -14013,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 @@ -14021,8 +14059,7 @@ unselected state, and for all other states if no other bitmaps are provided. - - + @@ -14033,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 @@ -14041,8 +14078,7 @@ unselected state, and for all other states if no other bitmaps are provided. - - + @@ -14137,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) + + + + + #--------------------------------------------------------------------------- @@ -14145,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 @@ -14153,8 +14210,7 @@ unselected state, and for all other states if no other bitmaps are provided. - - + @@ -14165,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 @@ -14173,8 +14229,7 @@ unselected state, and for all other states if no other bitmaps are provided. - - + @@ -14226,6 +14281,9 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, + + __del__() + Init() @@ -14333,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 @@ -14537,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() @@ -14888,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 - + - - + @@ -14911,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 - + - - + @@ -15054,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 @@ -15063,7 +15130,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) - + @@ -15075,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 @@ -15084,7 +15151,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) - + @@ -15153,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) - + @@ -15443,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. @@ -16852,7 +16919,7 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.) - + @@ -17244,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 - + @@ -17380,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) @@ -17802,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 @@ -17969,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) @@ -18008,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 @@ -18423,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) @@ -18841,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) @@ -18861,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() @@ -19161,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 @@ -19508,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() + #--------------------------------------------------------------------------- @@ -19670,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 @@ -19686,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 @@ -19764,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. @@ -19783,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. @@ -19793,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. @@ -19814,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) @@ -20140,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 @@ -20201,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 @@ -20223,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 @@ -20744,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 @@ -20803,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 @@ -21018,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 @@ -21759,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) @@ -21885,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. + + @@ -21903,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. @@ -21921,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 @@ -21955,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 @@ -21980,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 @@ -21993,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) @@ -22006,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. @@ -22025,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 @@ -25405,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) @@ -25554,13 +25839,13 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) - HtmlPrintout.AddFilter(wxHtmlFilter filter) + AddFilter(wxHtmlFilter filter) - HtmlPrintout.CleanUpStatics() + CleanUpStatics() @@ -26142,7 +26427,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second) + Chain(WizardPageSimple first, WizardPageSimple second) @@ -26304,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 @@ -32198,6 +32483,7 @@ ControlPoint = PyControlPoint + wx = core @@ -33795,6 +34081,12 @@ ControlPoint = PyControlPoint + + SetHotspotSingleLine(bool singleLine) + + + + PositionBefore(int pos) -> int @@ -33821,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() @@ -33972,7 +34297,7 @@ ControlPoint = PyControlPoint - DoDragOver(int x, int y, wxDragResult def) -> wxDragResult + DoDragOver(int x, int y, int def) -> int @@ -33987,6 +34312,15 @@ ControlPoint = PyControlPoint + + SetUseAntiAliasing(bool useAA) + + + + + + GetUseAntiAliasing() -> bool + @@ -34115,7 +34449,7 @@ ControlPoint = PyControlPoint - SetDragResult(wxDragResult val) + SetDragResult(int val) @@ -34178,7 +34512,7 @@ ControlPoint = PyControlPoint GetDragAllowMove() -> bool - GetDragResult() -> wxDragResult + GetDragResult() -> int GetShift() -> bool @@ -34277,7 +34611,7 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 ) ClearHandlers() - XmlResource.AddSubclassFactory(XmlSubclassFactory factory) + AddSubclassFactory(XmlSubclassFactory factory) @@ -34391,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 @@ -34409,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