wxNotebook

See external documentation: wxNotebook.

See external documentation: wxNotebook.

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

Types


wxNotebook() = wx:wx_object()

Functions


new() -> wxNotebook()

See external documentation.

new(Parent, Winid) -> wxNotebook()

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

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

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

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

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

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

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

See external documentation.

advanceSelection(This) -> ok

  • This = wxNotebook()

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

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

See external documentation.

assignImageList(This, ImageList) -> ok

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

See external documentation.

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

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

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

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

  • This = wxNotebook()

See external documentation.

deletePage(This, NPage) -> boolean()

  • This = wxNotebook()
  • NPage = integer()

See external documentation.

removePage(This, NPage) -> boolean()

  • This = wxNotebook()
  • NPage = integer()

See external documentation.

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

  • This = wxNotebook()

See external documentation.

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

  • This = wxNotebook()

See external documentation.

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

  • This = wxNotebook()
  • N = integer()

See external documentation.

getPageCount(This) -> integer()

  • This = wxNotebook()

See external documentation.

getPageImage(This, NPage) -> integer()

  • This = wxNotebook()
  • NPage = integer()

See external documentation.

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

  • This = wxNotebook()
  • NPage = integer()

See external documentation.

getRowCount(This) -> integer()

  • This = wxNotebook()

See external documentation.

getSelection(This) -> integer()

  • This = wxNotebook()

See external documentation.

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

  • This = wxNotebook()

See external documentation.

hitTest(This, Pt) -> Result

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

See external documentation.

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

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

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

  • 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

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

See external documentation.

setPadding(This, Padding) -> ok

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

See external documentation.

setPageSize(This, Size) -> ok

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

See external documentation.

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

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

See external documentation.

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

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

See external documentation.

setSelection(This, NPage) -> integer()

  • This = wxNotebook()
  • NPage = integer()

See external documentation.

changeSelection(This, NPage) -> integer()

  • This = wxNotebook()
  • NPage = integer()

See external documentation.

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

Destroys this object, do not use object again