wxErlang

Reference Manual

Version 1.8.3

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

Equivalent to new(Parent, []).

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

Types

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

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

Types

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

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

Types

X = integer()
Y = integer()

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

Types

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

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

Types

X = integer()
Y = integer()

enableScrolling(This, X_scrolling, Y_scrolling) -> ok

Types

X_scrolling = boolean()
Y_scrolling = boolean()

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

Types

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

Types

doPrepareDC(This, Dc) -> ok

Types

prepareDC(This, Dc) -> ok

Types

scroll(This, X, Y) -> ok

Types

X = integer()
Y = integer()

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

Types

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

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

Types

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

setScrollRate(This, Xstep, Ystep) -> ok

Types

Xstep = integer()
Ystep = integer()

setTargetWindow(This, Target) -> ok

Types

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

Destroys this object, do not use object again