wx._windows.ScrolledWindow
Proxy of C++ ScrolledWindow class
AdjustScrollbars(args, kwargs)
AdjustScrollbars(self)
CalcScrollInc(args, kwargs)
CalcScrollInc(self, ScrollWinEvent event) -> int
CalcScrolledPosition(args)
CalcScrolledPosition(self, Point pt) -> Point
CalcScrolledPosition(int x, int y) -> (sx, sy)
Translate between scrolled and unscrolled coordinates.
CalcUnscrolledPosition(args)
CalcUnscrolledPosition(self, Point pt) -> Point
CalcUnscrolledPosition(int x, int y) -> (ux, uy)
Translate between scrolled and unscrolled coordinates.
Create(args, kwargs)
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
String name=PanelNameStr) -> bool
Create the GUI part of the Window for 2-phase creation mode.
DoPrepareDC(args, kwargs)
DoPrepareDC(self, DC dc)
Normally what is called by `PrepareDC`.
EnableScrolling(args, kwargs)
EnableScrolling(self, bool x_scrolling, bool y_scrolling)
GetClassDefaultAttributes
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
Get the default attributes for this class. This is useful if you want
to use the same font or colour in your own control as in a standard
control -- which is a much better idea than hard coding specific
colours or fonts which might look completely out of place on the
user's system, especially if it uses themes.
The variant parameter is only relevant under Mac currently and is
ignore under other platforms. Under Mac, it will change the size of
the returned font. See `wx.Window.SetWindowVariant` for more about
this.
GetScaleX(args, kwargs)
GetScaleX(self) -> double
GetScaleY(args, kwargs)
GetScaleY(self) -> double
GetScrollPageSize(args, kwargs)
GetScrollPageSize(self, int orient) -> int
GetScrollPixelsPerUnit(args, kwargs)
GetScrollPixelsPerUnit() -> (xUnit, yUnit)
Get the size of one logical unit in physical units.
GetTargetRect(args, kwargs)
GetTargetRect(self) -> Rect
GetTargetWindow(args, kwargs)
GetTargetWindow(self) -> Window
GetViewStart(args, kwargs)
GetViewStart() -> (x,y)
Get the view start
Scroll(args, kwargs)
Scroll(self, int x, int y)
SetScale(args, kwargs)
SetScale(self, double xs, double ys)
SetScrollPageSize(args, kwargs)
SetScrollPageSize(self, int orient, int pageSize)
SetScrollRate(args, kwargs)
SetScrollRate(self, int xstep, int ystep)
SetScrollbars(args, kwargs)
SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
SetTargetRect(args, kwargs)
SetTargetRect(self, Rect rect)
SetTargetWindow(args, kwargs)
SetTargetWindow(self, Window target)
[constructor]
Usage: classname(arguments)
[member '__doc__']
Documentation for this class
[member '__module__']
The module that this class belongs to
[operator 'repr']
Usage: repr(a)