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

wxErlang
Reference Manual
Version 0.98.4


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::wxWindow() (see module wxWindow)) -> wxScrolledWindow()

Equivalent to new(Parent, []).

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

Types:

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

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

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

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

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

enableScrolling(This::wxScrolledWindow(), X_scrolling::bool(), Y_scrolling::bool()) -> ok

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

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

doPrepareDC(This::wxScrolledWindow(), Dc::wxDC() (see module wxDC)) -> ok

prepareDC(This::wxScrolledWindow(), Dc::wxDC() (see module wxDC)) -> ok

scroll(This::wxScrolledWindow(), X::integer(), Y::integer()) -> ok

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

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

Types:

Option = {xPos, integer()} | {yPos, integer()} | {noRefresh, bool()}

setScrollRate(This::wxScrolledWindow(), Xstep::integer(), Ystep::integer()) -> ok

setTargetWindow(This::wxScrolledWindow(), Target::wxWindow() (see module wxWindow)) -> ok

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

Destroys this object, do not use object again