X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/909b16f6294d47cae7be032cd2bcab6874ad31af..80b08b7f31dc3feb8f52a9c88e258cb3a0deb803:/wxPython/src/_picker.i diff --git a/wxPython/src/_picker.i b/wxPython/src/_picker.i index a324df1275..78eb6632c2 100644 --- a/wxPython/src/_picker.i +++ b/wxPython/src/_picker.i @@ -68,6 +68,23 @@ The value passed to this function must be >= 1.", ""); int , GetTextCtrlProportion() const, "Returns the proportion between the text control and the picker.", ""); + DocDeclStr( + bool , IsTextCtrlGrowable() const, + "", ""); + + DocDeclStr( + void , SetTextCtrlGrowable(bool grow = true), + "", ""); + + + DocDeclStr( + bool , IsPickerCtrlGrowable() const, + "", ""); + + DocDeclStr( + void , SetPickerCtrlGrowable(bool grow = true), + "", ""); + DocDeclStr( bool , HasTextCtrl() const, @@ -256,6 +273,12 @@ public: wxString GetPath() const; void SetPath(const wxString &str); + // return true if the given path is valid for this control + bool CheckPath(const wxString& path) const; + + // Returns the filtered value currently placed in the text control (if present). + wxString GetTextCtrlValue() const; + }; @@ -292,6 +315,12 @@ public: wxString GetPath() const; void SetPath(const wxString &str); + + // return true if the given path is valid for this control + bool CheckPath(const wxString& path) const; + + // Returns the filtered value currently placed in the text control (if present). + wxString GetTextCtrlValue() const; };