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

wxErlang
Reference Manual
Version 1.3


Expand All
Contract All

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:

Parent = wxWindow() (see module wxWindow)
Id = integer()

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

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

Types:

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

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

Types:

This = wxChoicebook()
Page = wxWindow() (see module wxWindow)
Text = chardata() (see module unicode)

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

Types:

This = wxChoicebook()
Page = wxWindow() (see module wxWindow)
Text = chardata() (see module unicode)
Option = {bSelect, boolean()} | {imageId, integer()}

advanceSelection(This) -> ok

Types:

This = wxChoicebook()

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

Types:

This = wxChoicebook()
Option = {forward, boolean()}

assignImageList(This, ImageList) -> ok

Types:

This = wxChoicebook()
ImageList = wxImageList() (see module wxImageList)

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

Types:

This = wxChoicebook()
Parent = wxWindow() (see module wxWindow)
Id = integer()

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

Types:

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

deleteAllPages(This) -> boolean()

Types:

This = wxChoicebook()

deletePage(This, N) -> boolean()

Types:

This = wxChoicebook()
N = integer()

removePage(This, N) -> boolean()

Types:

This = wxChoicebook()
N = integer()

getCurrentPage(This) -> wxWindow() (see module wxWindow)

Types:

This = wxChoicebook()

getImageList(This) -> wxImageList() (see module wxImageList)

Types:

This = wxChoicebook()

getPage(This, N) -> wxWindow() (see module wxWindow)

Types:

This = wxChoicebook()
N = integer()

getPageCount(This) -> integer()

Types:

This = wxChoicebook()

getPageImage(This, N) -> integer()

Types:

This = wxChoicebook()
N = integer()

getPageText(This, N) -> charlist() (see module unicode)

Types:

This = wxChoicebook()
N = integer()

getSelection(This) -> integer()

Types:

This = wxChoicebook()

hitTest(This, Pt) -> Result

Types:

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

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

Types:

This = wxChoicebook()
N = integer()
Page = wxWindow() (see module wxWindow)
Text = chardata() (see module unicode)

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

Types:

This = wxChoicebook()
N = integer()
Page = wxWindow() (see module wxWindow)
Text = chardata() (see module unicode)
Option = {bSelect, boolean()} | {imageId, integer()}

setImageList(This, ImageList) -> ok

Types:

This = wxChoicebook()
ImageList = wxImageList() (see module wxImageList)

setPageSize(This, Size) -> ok

Types:

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

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

Types:

This = wxChoicebook()
N = integer()
ImageId = integer()

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

Types:

This = wxChoicebook()
N = integer()
StrText = chardata() (see module unicode)

setSelection(This, N) -> integer()

Types:

This = wxChoicebook()
N = integer()

changeSelection(This, N) -> integer()

Types:

This = wxChoicebook()
N = integer()

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

Destroys this object, do not use object again