wxErlang

Reference Manual

Version 1.8.1

Table of Contents

wxChoicebook

Module

wxChoicebook

Module Summary

See external documentation: wxChoicebook.

Description

See external documentation: wxChoicebook.

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

DATA TYPES

wxChoicebook()

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() -> wxChoicebook()

new(Parent, Id) -> wxChoicebook()

Types

Id = integer()

Equivalent to new(Parent, Id, []).

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

Types

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

addPage(This, Page, Text) -> boolean()

addPage(This, Page, Text, Options::[Option]) -> boolean()

Types

Option = {bSelect, boolean()} | {imageId, integer()}

advanceSelection(This) -> ok

Types

advanceSelection(This, Options::[Option]) -> ok

Types

Option = {forward, boolean()}

assignImageList(This, ImageList) -> ok

Types

create(This, Parent, Id) -> boolean()

Types

Id = integer()

create(This, Parent, Id, Options::[Option]) -> boolean()

Types

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

deleteAllPages(This) -> boolean()

Types

deletePage(This, N) -> boolean()

Types

N = integer()

removePage(This, N) -> boolean()

Types

N = integer()

getCurrentPage(This) -> wxWindow:wxWindow()

Types

getImageList(This) -> wxImageList:wxImageList()

Types

getPage(This, N) -> wxWindow:wxWindow()

Types

N = integer()

getPageCount(This) -> integer()

Types

getPageImage(This, N) -> integer()

Types

N = integer()

getPageText(This, N) -> unicode:charlist()

Types

N = integer()

getSelection(This) -> integer()

Types

hitTest(This, Pt) -> Result

Types

Result = {Res::integer(), Flags::integer()}
Pt = {X::integer(), Y::integer()}

insertPage(This, N, Page, Text) -> boolean()

Types

N = integer()

insertPage(This, N, Page, Text, Options::[Option]) -> boolean()

Types

N = integer()
Option = {bSelect, boolean()} | {imageId, integer()}

setImageList(This, ImageList) -> ok

Types

setPageSize(This, Size) -> ok

Types

Size = {W::integer(), H::integer()}

setPageImage(This, N, ImageId) -> boolean()

Types

N = integer()
ImageId = integer()

setPageText(This, N, StrText) -> boolean()

Types

N = integer()
StrText = unicode:chardata()

setSelection(This, N) -> integer()

Types

N = integer()

changeSelection(This, N) -> integer()

Types

N = integer()

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

Destroys this object, do not use object again