X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aaca5bac6f3ad13add44c220163fda423c40351..8f7ed3f3a5b05c8e245d34379c3cd759a41bac67:/wxPython/src/_picker.i diff --git a/wxPython/src/_picker.i b/wxPython/src/_picker.i index 5314d3686b..3d1384ca96 100644 --- a/wxPython/src/_picker.i +++ b/wxPython/src/_picker.i @@ -119,6 +119,16 @@ etc).", ""); wxControl *, GetPickerCtrl(), "", ""); + + %property(InternalMargin, GetInternalMargin, SetInternalMargin, doc="See `GetInternalMargin` and `SetInternalMargin`"); + %property(PickerCtrl, GetPickerCtrl, doc="See `GetPickerCtrl`"); + %property(PickerCtrlProportion, GetPickerCtrlProportion, SetPickerCtrlProportion, doc="See `GetPickerCtrlProportion` and `SetPickerCtrlProportion`"); + %property(TextCtrl, GetTextCtrl, doc="See `GetTextCtrl`"); + %property(TextCtrlProportion, GetTextCtrlProportion, SetTextCtrlProportion, doc="See `GetTextCtrlProportion` and `SetTextCtrlProportion`"); + + %property(TextCtrlGrowable, IsTextCtrlGrowable, SetTextCtrlGrowable, doc="See `IsTextCtrlGrowable` and `SetTextCtrlGrowable`"); + %property(PickerCtrlGrowable, IsPickerCtrlGrowable, SetPickerCtrlGrowable, doc="See `IsPickerCtrlGrowable` and `SetPickerCtrlGrowable`"); + }; //--------------------------------------------------------------------------- @@ -143,6 +153,7 @@ clicked. Native implementations may differ but this is usually a " Window Styles ------------- + ====================== ============================================ wx.CLRP_DEFAULT Default style. wx.CLRP_USE_TEXTCTRL Creates a text control to the left of the @@ -158,6 +169,7 @@ Window Styles Events ------ + ======================== ========================================== EVT_COLOURPICKER_CHANGED The user changed the colour selected in the control either using the button or using the @@ -200,6 +212,7 @@ public: void , SetColour(const wxColour& col), "Set the displayed colour.", ""); + %property(Colour, GetColour, SetColour, doc="See `GetColour` and `SetColour`"); }; @@ -216,6 +229,8 @@ public: wxColour GetColour() const; void SetColour(const wxColour &c); + + %property(Colour, GetColour, SetColour, doc="See `GetColour` and `SetColour`"); }; @@ -289,6 +304,8 @@ public: // Returns the filtered value currently placed in the text control (if present). wxString GetTextCtrlValue() const; + %property(Path, GetPath, SetPath, doc="See `GetPath` and `SetPath`"); + %property(TextCtrlValue, GetTextCtrlValue, doc="See `GetTextCtrlValue`"); }; @@ -331,6 +348,10 @@ public: // Returns the filtered value currently placed in the text control (if present). wxString GetTextCtrlValue() const; + + %property(Path, GetPath, SetPath, doc="See `GetPath` and `SetPath`"); + %property(TextCtrlValue, GetTextCtrlValue, doc="See `GetTextCtrlValue`"); + }; @@ -349,6 +370,8 @@ public: wxString GetPath() const { return m_path; } void SetPath(const wxString &p) { m_path = p; } + + %property(Path, GetPath, SetPath, doc="See `GetPath` and `SetPath`"); }; @@ -379,7 +402,7 @@ public: wxFontPickerCtrl(wxWindow *parent, wxWindowID id=-1, - const wxFont& initial = *wxNORMAL_FONT, + const wxFont& initial = wxNullFont, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxFNTP_DEFAULT_STYLE, @@ -389,7 +412,7 @@ public: bool Create(wxWindow *parent, wxWindowID id=-1, - const wxFont& initial = *wxNORMAL_FONT, + const wxFont& initial = wxNullFont, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxFNTP_DEFAULT_STYLE, @@ -406,6 +429,9 @@ public: // set/get the max pointsize void SetMaxPointSize(unsigned int max); unsigned int GetMaxPointSize() const; + + %property(MaxPointSize, GetMaxPointSize, SetMaxPointSize, doc="See `GetMaxPointSize` and `SetMaxPointSize`"); + %property(SelectedFont, GetSelectedFont, SetSelectedFont, doc="See `GetSelectedFont` and `SetSelectedFont`"); }; @@ -423,6 +449,8 @@ public: wxFont GetFont() const; void SetFont(const wxFont &c); + + %property(Font, GetFont, SetFont, doc="See `GetFont` and `SetFont`"); }; //---------------------------------------------------------------------------