Home | Trees | Index | Help |
|
---|
Package wx :: Class ScrolledWindow |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |Panel
--+ | ScrolledWindow
Editor
,
Grid
,
HtmlWindow
,
MVCTree
,
PreviewCanvas
,
PrintTableDraw
,
PyScrolledWindow
,
ShapeCanvas
,
SplitterScrolledWindow
Method Summary | |
---|---|
Window |
Construct and show a generic Window. |
__repr__(self)
| |
AdjustScrollbars(self)
| |
Point |
CalcScrolledPosition(int x, int y) -> (sx, sy) |
int | CalcScrollInc(self,
event)
|
Point |
CalcUnscrolledPosition(int x, int y) -> (ux, uy) |
bool |
Create the GUI part of the Window for 2-phase creation mode. |
Normally what is called by PrepareDC . | |
EnableScrolling(self,
x_scrolling,
y_scrolling)
| |
VisualAttributes |
Get the default attributes for this class. (Static method) |
double | GetScaleX(self)
|
double | GetScaleY(self)
|
int | GetScrollPageSize(self,
orient)
|
(xUnit, yUnit) |
Get the size of one logical unit in physical units. |
Window | GetTargetWindow(self)
|
(x,y) |
Get the view start |
Scroll(self,
x,
y)
| |
SetScale(self,
xs,
ys)
| |
SetScrollbars(self,
pixelsPerUnitX,
pixelsPerUnitY,
noUnitsX,
noUnitsY,
xPos,
yPos,
noRefresh)
| |
SetScrollPageSize(self,
orient,
pageSize)
| |
SetScrollRate(self,
xstep,
ystep)
| |
SetTargetWindow(self,
target)
|
Instance Method Details |
---|
__init__(self,
parent,
id=-1,
pos=DefaultPosition,
size=DefaultSize,
style=wxHSCROLL|wxVSCROLL,
name=PanelNameStr)
Construct and show a generic Window. |
CalcScrolledPosition(self, pt)CalcScrolledPosition(int x, int y) -> (sx, sy) Translate between scrolled and unscrolled coordinates.
|
CalcUnscrolledPosition(self, pt)CalcUnscrolledPosition(int x, int y) -> (ux, uy) Translate between scrolled and unscrolled coordinates.
|
Create(self, parent, id=-1, pos=DefaultPosition, size=DefaultSize, style=wxHSCROLL|wxVSCROLL, name=PanelNameStr)Create the GUI part of the Window for 2-phase creation mode.
|
DoPrepareDC(self, dc)Normally what is called byPrepareDC .
|
GetScrollPixelsPerUnit()Get the size of one logical unit in physical units.
|
GetViewStart()Get the view start
|
Static Method Details |
---|
GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)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
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:18 2005 | http://epydoc.sf.net |