X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b08d67c27b13cea7d7a54a45a5c0c4edeb0b6ec8..b5d59f11f00a3865641d9c3b8981972f6df67ef3:/wxPython/src/gtk/_controls.py?ds=inline diff --git a/wxPython/src/gtk/_controls.py b/wxPython/src/gtk/_controls.py index f1a81dc24b..233923129c 100644 --- a/wxPython/src/gtk/_controls.py +++ b/wxPython/src/gtk/_controls.py @@ -7268,6 +7268,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 bitmap) @@ -7299,6 +7317,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