X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/909b16f6294d47cae7be032cd2bcab6874ad31af..955e46d25d6ac0f9fa55ec9fe11f0c21da3a494d:/wxPython/src/_picker.i diff --git a/wxPython/src/_picker.i b/wxPython/src/_picker.i index a324df1275..5314d3686b 100644 --- a/wxPython/src/_picker.i +++ b/wxPython/src/_picker.i @@ -69,6 +69,33 @@ The value passed to this function must be >= 1.", ""); "Returns the proportion between the text control and the picker.", ""); + DocDeclStr( + void , SetPickerCtrlProportion(int prop), + "Sets the proportion value of the picker.", ""); + + DocDeclStr( + int , GetPickerCtrlProportion() const, + "Gets the proportion value of 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, "Returns true if this class has a valid text control (i.e. if the @@ -256,6 +283,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 +325,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; };