Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.6.1


Expand All
Contract All

Table of Contents

wxScrolledWindow

MODULE

wxScrolledWindow

MODULE SUMMARY

See external documentation: wxScrolledWindow.

DESCRIPTION

See external documentation: wxScrolledWindow.

This class is derived (and can use functions) from:
wxPanel
wxWindow
wxEvtHandler

DATA TYPES

wxScrolledWindow()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

EXPORTS

new() -> wxScrolledWindow()

new(Parent) -> wxScrolledWindow()

Types:

Parent = wxWindow() (see module wxWindow)

Equivalent to new(Parent, []).

new(Parent, Options::[Option]) -> wxScrolledWindow()

Types:

Parent = wxWindow() (see module wxWindow)
Option = {winid, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}

calcScrolledPosition(This, Pt) -> {X::integer(), Y::integer()}

Types:

This = wxScrolledWindow()
Pt = {X::integer(), Y::integer()}

calcScrolledPosition(This, X, Y) -> {Xx::integer(), Yy::integer()}

Types:

This = wxScrolledWindow()
X = integer()
Y = integer()

calcUnscrolledPosition(This, Pt) -> {X::integer(), Y::integer()}

Types:

This = wxScrolledWindow()
Pt = {X::integer(), Y::integer()}

calcUnscrolledPosition(This, X, Y) -> {Xx::integer(), Yy::integer()}

Types:

This = wxScrolledWindow()
X = integer()
Y = integer()

enableScrolling(This, X_scrolling, Y_scrolling) -> ok

Types:

This = wxScrolledWindow()
X_scrolling = boolean()
Y_scrolling = boolean()

getScrollPixelsPerUnit(This) -> {PixelsPerUnitX::integer(), PixelsPerUnitY::integer()}

Types:

This = wxScrolledWindow()

getViewStart(This) -> {X::integer(), Y::integer()}

Types:

This = wxScrolledWindow()

doPrepareDC(This, Dc) -> ok

Types:

This = wxScrolledWindow()
Dc = wxDC() (see module wxDC)

prepareDC(This, Dc) -> ok

Types:

This = wxScrolledWindow()
Dc = wxDC() (see module wxDC)

scroll(This, X, Y) -> ok

Types:

This = wxScrolledWindow()
X = integer()
Y = integer()

setScrollbars(This, PixelsPerUnitX, PixelsPerUnitY, NoUnitsX, NoUnitsY) -> ok

Types:

This = wxScrolledWindow()
PixelsPerUnitX = integer()
PixelsPerUnitY = integer()
NoUnitsX = integer()
NoUnitsY = integer()

setScrollbars(This, PixelsPerUnitX, PixelsPerUnitY, NoUnitsX, NoUnitsY, Options::[Option]) -> ok

Types:

This = wxScrolledWindow()
PixelsPerUnitX = integer()
PixelsPerUnitY = integer()
NoUnitsX = integer()
NoUnitsY = integer()
Option = {xPos, integer()} | {yPos, integer()} | {noRefresh, boolean()}

setScrollRate(This, Xstep, Ystep) -> ok

Types:

This = wxScrolledWindow()
Xstep = integer()
Ystep = integer()

setTargetWindow(This, Target) -> ok

Types:

This = wxScrolledWindow()
Target = wxWindow() (see module wxWindow)

destroy(This::wxScrolledWindow()) -> ok

Destroys this object, do not use object again