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

wxErlang
Reference Manual
Version 0.98.10


Expand All
Contract All

Table of Contents

wxNotebook

MODULE

wxNotebook

MODULE SUMMARY

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

new(Parent::wxWindow() (see module wxWindow), Winid::integer()) -> wxNotebook()

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

new(Parent::wxWindow() (see module wxWindow), Winid::integer(), Options::[Option]) -> wxNotebook()

Types:

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

addPage(This::wxNotebook(), Page::wxWindow() (see module wxWindow), Text::string()) -> bool()

addPage(This::wxNotebook(), Page::wxWindow() (see module wxWindow), Text::string(), Options::[Option]) -> bool()

Types:

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

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

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

Types:

Option = {forward, bool()}

assignImageList(This::wxNotebook(), ImageList::wxImageList() (see module wxImageList)) -> ok

create(This::wxNotebook(), Parent::wxWindow() (see module wxWindow), Id::integer()) -> bool()

create(This::wxNotebook(), Parent::wxWindow() (see module wxWindow), Id::integer(), Options::[Option]) -> bool()

Types:

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

deleteAllPages(This::wxNotebook()) -> bool()

deletePage(This::wxNotebook(), NPage::integer()) -> bool()

removePage(This::wxNotebook(), NPage::integer()) -> bool()

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

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

getPage(This::wxNotebook(), N::integer()) -> wxWindow() (see module wxWindow)

getPageCount(This::wxNotebook()) -> integer()

getPageImage(This::wxNotebook(), NPage::integer()) -> integer()

getPageText(This::wxNotebook(), NPage::integer()) -> string()

getRowCount(This::wxNotebook()) -> integer()

getSelection(This::wxNotebook()) -> integer()

getThemeBackgroundColour(This::wxNotebook()) -> colour() (see module wx)

hitTest(This::wxNotebook(), Pt::{X::integer(), Y::integer()}) -> {integer(), Flags::integer()}

insertPage(This::wxNotebook(), Position::integer(), Win::wxWindow() (see module wxWindow), StrText::string()) -> bool()

insertPage(This::wxNotebook(), Position::integer(), Win::wxWindow() (see module wxWindow), StrText::string(), Options::[Option]) -> bool()

Types:

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

setImageList(This::wxNotebook(), ImageList::wxImageList() (see module wxImageList)) -> ok

setPadding(This::wxNotebook(), Padding::{W::integer(), H::integer()}) -> ok

setPageSize(This::wxNotebook(), Size::{W::integer(), H::integer()}) -> ok

setPageImage(This::wxNotebook(), NPage::integer(), NImage::integer()) -> bool()

setPageText(This::wxNotebook(), NPage::integer(), StrText::string()) -> bool()

setSelection(This::wxNotebook(), NPage::integer()) -> integer()

changeSelection(This::wxNotebook(), NPage::integer()) -> integer()

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

Destroys this object, do not use object again