wxNotebook(3) See external documentation: wxNotebook.

DESCRIPTION

See external documentation: wxNotebook.

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

DATA TYPES

wxNotebook():

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

See external documentation.

new(Parent, Winid) -> wxNotebook()

Types:

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

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

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

Types:

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

See external documentation.

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

Types:

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

Equivalent to addPage(This, Page, Text, []).

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

Types:

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

See external documentation.

advanceSelection(This) -> ok

Types:

This = wxNotebook()

Equivalent to advanceSelection(This, []).

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

Types:

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

See external documentation.

assignImageList(This, ImageList) -> ok

Types:

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

See external documentation.

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

Types:

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

Equivalent to create(This, Parent, Id, []).

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

Types:

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

See external documentation.

deleteAllPages(This) -> boolean()

Types:

This = wxNotebook()

See external documentation.

deletePage(This, NPage) -> boolean()

Types:

This = wxNotebook()
NPage = integer()

See external documentation.

removePage(This, NPage) -> boolean()

Types:

This = wxNotebook()
NPage = integer()

See external documentation.

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

Types:

This = wxNotebook()

See external documentation.

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

Types:

This = wxNotebook()

See external documentation.

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

Types:

This = wxNotebook()
N = integer()

See external documentation.

getPageCount(This) -> integer()

Types:

This = wxNotebook()

See external documentation.

getPageImage(This, NPage) -> integer()

Types:

This = wxNotebook()
NPage = integer()

See external documentation.

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

Types:

This = wxNotebook()
NPage = integer()

See external documentation.

getRowCount(This) -> integer()

Types:

This = wxNotebook()

See external documentation.

getSelection(This) -> integer()

Types:

This = wxNotebook()

See external documentation.

getThemeBackgroundColour(This) -> wx_colour4() (see module wx)

Types:

This = wxNotebook()

See external documentation.

hitTest(This, Pt) -> Result

Types:

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

See external documentation.

insertPage(This, Position, Win, StrText) -> boolean()

Types:

This = wxNotebook()
Position = integer()
Win = wxWindow() (see module wxWindow)
StrText = chardata() (see module unicode)

Equivalent to insertPage(This, Position, Win, StrText, []).

insertPage(This, Position, Win, StrText, Options::[Option]) -> boolean()

Types:

This = wxNotebook()
Position = integer()
Win = wxWindow() (see module wxWindow)
StrText = chardata() (see module unicode)
Option = {bSelect, boolean()} | {imageId, integer()}

See external documentation.

setImageList(This, ImageList) -> ok

Types:

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

See external documentation.

setPadding(This, Padding) -> ok

Types:

This = wxNotebook()
Padding = {W::integer(), H::integer()}

See external documentation.

setPageSize(This, Size) -> ok

Types:

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

See external documentation.

setPageImage(This, NPage, NImage) -> boolean()

Types:

This = wxNotebook()
NPage = integer()
NImage = integer()

See external documentation.

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

Types:

This = wxNotebook()
NPage = integer()
StrText = chardata() (see module unicode)

See external documentation.

setSelection(This, NPage) -> integer()

Types:

This = wxNotebook()
NPage = integer()

See external documentation.

changeSelection(This, NPage) -> integer()

Types:

This = wxNotebook()
NPage = integer()

See external documentation.

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

Destroys this object, do not use object again

AUTHORS

<>