X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6239913aca6489030e0a1a54b3725d2b08b243a..365271b573e3d0ab7512471358f98a589f18c104:/wxPython/src/mac/_controls.py diff --git a/wxPython/src/mac/_controls.py b/wxPython/src/mac/_controls.py index cfad5cc0ba..898eb10064 100644 --- a/wxPython/src/mac/_controls.py +++ b/wxPython/src/mac/_controls.py @@ -4831,7 +4831,6 @@ class ListCtrl(_core.Control): CountPerPage = property(GetCountPerPage,doc="See `GetCountPerPage`") EditControl = property(GetEditControl,doc="See `GetEditControl`") FocusedItem = property(GetFocusedItem,doc="See `GetFocusedItem`") - ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`") ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`") MainWindow = property(GetMainWindow,doc="See `GetMainWindow`") SelectedItemCount = property(GetSelectedItemCount,doc="See `GetSelectedItemCount`") @@ -5319,6 +5318,10 @@ class TreeCtrl(_core.Control): """IsBold(self, TreeItemId item) -> bool""" return _controls_.TreeCtrl_IsBold(*args, **kwargs) + def IsEmpty(*args, **kwargs): + """IsEmpty(self) -> bool""" + return _controls_.TreeCtrl_IsEmpty(*args, **kwargs) + def GetChildrenCount(*args, **kwargs): """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t""" return _controls_.TreeCtrl_GetChildrenCount(*args, **kwargs) @@ -5431,6 +5434,14 @@ class TreeCtrl(_core.Control): """Collapse(self, TreeItemId item)""" return _controls_.TreeCtrl_Collapse(*args, **kwargs) + def CollapseAllChildren(*args, **kwargs): + """CollapseAllChildren(self, TreeItemId item)""" + return _controls_.TreeCtrl_CollapseAllChildren(*args, **kwargs) + + def CollapseAll(*args, **kwargs): + """CollapseAll(self)""" + return _controls_.TreeCtrl_CollapseAll(*args, **kwargs) + def CollapseAndReset(*args, **kwargs): """CollapseAndReset(self, TreeItemId item)""" return _controls_.TreeCtrl_CollapseAndReset(*args, **kwargs) @@ -7250,6 +7261,24 @@ class SearchCtrl(TextCtrl): """ return _controls_.SearchCtrl_IsCancelButtonVisible(*args, **kwargs) + def SetDescriptiveText(*args, **kwargs): + """ + SetDescriptiveText(self, String text) + + Set the text to be displayed when the user has not yet typed anything + in the control. + """ + return _controls_.SearchCtrl_SetDescriptiveText(*args, **kwargs) + + def GetDescriptiveText(*args, **kwargs): + """ + GetDescriptiveText(self) -> String + + Get the text to be displayed when the user has not yet typed anything + in the control. + """ + return _controls_.SearchCtrl_GetDescriptiveText(*args, **kwargs) + def SetSearchBitmap(*args, **kwargs): """ SetSearchBitmap(self, Bitmap ?) @@ -7281,6 +7310,7 @@ class SearchCtrl(TextCtrl): Menu = property(GetMenu,SetMenu) SearchButtonVisible = property(IsSearchButtonVisible,ShowSearchButton) CancelButtonVisible = property(IsCancelButtonVisible,ShowCancelButton) + DescriptiveText = property(GetDescriptiveText,SetDescriptiveText) _controls_.SearchCtrl_swigregister(SearchCtrl) SearchCtrlNameStr = cvar.SearchCtrlNameStr