table of contents
- stretch 1:19.2.1+dfsg-2+deb9u2
- testing 1:21.2.6+dfsg-1
- unstable 1:21.2.6+dfsg-1
- experimental 1:22.0.4+dfsg-1
wxNotebook(3erl) | Erlang Module Definition | wxNotebook(3erl) |
NAME¶
wxNotebook - 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:
Winid = integer()
Equivalent to new(Parent, Winid, []).
new(Parent, Winid, Options::[Option]) ->
wxNotebook()
Types:
Winid = integer()
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}
See external documentation.
addPage(This, Page, Text) -> boolean()
Types:
Page = wxWindow:wxWindow()
Text = unicode:chardata()
Equivalent to addPage(This, Page, Text, []).
addPage(This, Page, Text, Options::[Option]) ->
boolean()
Types:
Page = wxWindow:wxWindow()
Text = unicode:chardata()
Option = {bSelect, boolean()} | {imageId, integer()}
See external documentation.
advanceSelection(This) -> ok
Types:
Equivalent to advanceSelection(This, []).
advanceSelection(This, Options::[Option]) -> ok
Types:
Option = {forward, boolean()}
See external documentation.
assignImageList(This, ImageList) -> ok
Types:
ImageList = wxImageList:wxImageList()
See external documentation.
create(This, Parent, Id) -> boolean()
Types:
Parent = wxWindow:wxWindow()
Id = integer()
Equivalent to create(This, Parent, Id, []).
create(This, Parent, Id, Options::[Option]) -> boolean()
Types:
Parent = wxWindow:wxWindow()
Id = integer()
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}
See external documentation.
deleteAllPages(This) -> boolean()
Types:
See external documentation.
deletePage(This, NPage) -> boolean()
Types:
NPage = integer()
See external documentation.
removePage(This, NPage) -> boolean()
Types:
NPage = integer()
See external documentation.
getCurrentPage(This) -> wxWindow:wxWindow()
Types:
See external documentation.
getImageList(This) -> wxImageList:wxImageList()
Types:
See external documentation.
getPage(This, N) -> wxWindow:wxWindow()
Types:
N = integer()
See external documentation.
getPageCount(This) -> integer()
Types:
See external documentation.
getPageImage(This, NPage) -> integer()
Types:
NPage = integer()
See external documentation.
getPageText(This, NPage) -> unicode:charlist()
Types:
NPage = integer()
See external documentation.
getRowCount(This) -> integer()
Types:
See external documentation.
getSelection(This) -> integer()
Types:
See external documentation.
getThemeBackgroundColour(This) -> wx:wx_colour4()
Types:
See external documentation.
hitTest(This, Pt) -> Result
Types:
This = wxNotebook()
Pt = {X::integer(), Y::integer()}
See external documentation.
insertPage(This, Position, Win, StrText) -> boolean()
Types:
Position = integer()
Win = wxWindow:wxWindow()
StrText = unicode:chardata()
Equivalent to insertPage(This, Position, Win, StrText, []).
insertPage(This, Position, Win, StrText, Options::[Option])
-> boolean()
Types:
Position = integer()
Win = wxWindow:wxWindow()
StrText = unicode:chardata()
Option = {bSelect, boolean()} | {imageId, integer()}
See external documentation.
setImageList(This, ImageList) -> ok
Types:
ImageList = wxImageList:wxImageList()
See external documentation.
setPadding(This, Padding) -> ok
Types:
Padding = {W::integer(), H::integer()}
See external documentation.
setPageSize(This, Size) -> ok
Types:
Size = {W::integer(), H::integer()}
See external documentation.
setPageImage(This, NPage, NImage) -> boolean()
Types:
NPage = integer()
NImage = integer()
See external documentation.
setPageText(This, NPage, StrText) -> boolean()
Types:
NPage = integer()
StrText = unicode:chardata()
See external documentation.
setSelection(This, NPage) -> integer()
Types:
NPage = integer()
See external documentation.
changeSelection(This, NPage) -> integer()
Types:
NPage = integer()
See external documentation.
destroy(This::wxNotebook()) -> ok
Destroys this object, do not use object again
AUTHORS¶
<>wx 1.8 |