long style = wxSB_HORIZONTAL,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxPyScrollBarNameStr);
- %name(PreScrollBar)wxScrollBar();
+ %RenameCtor(PreScrollBar, wxScrollBar());
bool Create(wxWindow* parent, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
bool IsVertical() const { return (m_windowStyle & wxVERTICAL) != 0; }
virtual void SetThumbPosition(int viewStart);
- virtual void SetScrollbar(int position, int thumbSize,
- int range, int pageSize,
- bool refresh = true);
+
+ DocDeclStr(
+ virtual void , SetScrollbar(int position, int thumbSize,
+ int range, int pageSize,
+ bool refresh = true),
+ "", "");
+
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
+ %property(PageSize, GetPageSize, doc="See `GetPageSize`");
+ %property(Range, GetRange, doc="See `GetRange`");
+ %property(ThumbPosition, GetThumbPosition, SetThumbPosition, doc="See `GetThumbPosition` and `SetThumbPosition`");
+ %property(ThumbSize, GetThumbSize, doc="See `GetThumbSize`");
};
//---------------------------------------------------------------------------