X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b8c7ba607a15a2ff8a04448138df9ffff7df6c5..5d6f17a5b92df0fdf4909ed78c35b4a86905ec7e:/wxPython/src/_slider.i diff --git a/wxPython/src/_slider.i b/wxPython/src/_slider.i index 106c3aaf7d..544af4c90f 100644 --- a/wxPython/src/_slider.i +++ b/wxPython/src/_slider.i @@ -25,6 +25,22 @@ MAKE_CONST_WXSTRING(SliderNameStr); //--------------------------------------------------------------------------- %newgroup +enum { + wxSL_HORIZONTAL, + wxSL_VERTICAL, + wxSL_TICKS, + wxSL_AUTOTICKS, + wxSL_LABELS, + wxSL_LEFT, + wxSL_TOP, + wxSL_RIGHT, + wxSL_BOTTOM, + wxSL_BOTH, + wxSL_SELRANGE, + wxSL_INVERSE +}; + + MustHaveApp(wxSlider); class wxSlider : public wxControl { @@ -88,6 +104,16 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + + %property(LineSize, GetLineSize, SetLineSize, doc="See `GetLineSize` and `SetLineSize`"); + %property(Max, GetMax, SetMax, doc="See `GetMax` and `SetMax`"); + %property(Min, GetMin, SetMin, doc="See `GetMin` and `SetMin`"); + %property(PageSize, GetPageSize, SetPageSize, doc="See `GetPageSize` and `SetPageSize`"); + %property(SelEnd, GetSelEnd, doc="See `GetSelEnd`"); + %property(SelStart, GetSelStart, doc="See `GetSelStart`"); + %property(ThumbLength, GetThumbLength, SetThumbLength, doc="See `GetThumbLength` and `SetThumbLength`"); + %property(TickFreq, GetTickFreq, SetTickFreq, doc="See `GetTickFreq` and `SetTickFreq`"); + %property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`"); }; //---------------------------------------------------------------------------