DOKK / manpages / debian 11 / erlang-manpages / wxMenuItem.3erl.en
wxMenuItem(3erl) Erlang Module Definition wxMenuItem(3erl)

wxMenuItem - See external documentation: wxMenuItem.

See external documentation: wxMenuItem.

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.

new() -> wxMenuItem()

Equivalent to new([]).

new(Options::[Option]) -> wxMenuItem()

Types:

Option = {parentMenu, wxMenu:wxMenu()} | {id, integer()} | {text, unicode:chardata()} | {help, unicode:chardata()} | {kind, wx:wx_enum()} | {subMenu, wxMenu:wxMenu()}

See external documentation.
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX

check(This) -> ok

Types:

This = wxMenuItem()

Equivalent to check(This, []).

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

Types:

This = wxMenuItem()
Option = {check, boolean()}

See external documentation.

enable(This) -> ok

Types:

This = wxMenuItem()

Equivalent to enable(This, []).

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

Types:

This = wxMenuItem()
Option = {enable, boolean()}

See external documentation.

getBitmap(This) -> wxBitmap:wxBitmap()

Types:

This = wxMenuItem()

See external documentation.

getHelp(This) -> unicode:charlist()

Types:

This = wxMenuItem()

See external documentation.

getId(This) -> integer()

Types:

This = wxMenuItem()

See external documentation.

getKind(This) -> wx:wx_enum()

Types:

This = wxMenuItem()

See external documentation.
Res = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX

getLabel(This) -> unicode:charlist()

Types:

This = wxMenuItem()

See external documentation.

getLabelFromText(Text) -> unicode:charlist()

Types:

Text = unicode:chardata()

See external documentation.

getMenu(This) -> wxMenu:wxMenu()

Types:

This = wxMenuItem()

See external documentation.

getText(This) -> unicode:charlist()

Types:

This = wxMenuItem()

See external documentation.

getSubMenu(This) -> wxMenu:wxMenu()

Types:

This = wxMenuItem()

See external documentation.

isCheckable(This) -> boolean()

Types:

This = wxMenuItem()

See external documentation.

isChecked(This) -> boolean()

Types:

This = wxMenuItem()

See external documentation.

isEnabled(This) -> boolean()

Types:

This = wxMenuItem()

See external documentation.

isSeparator(This) -> boolean()

Types:

This = wxMenuItem()

See external documentation.

isSubMenu(This) -> boolean()

Types:

This = wxMenuItem()

See external documentation.

setBitmap(This, Bitmap) -> ok

Types:

This = wxMenuItem()
Bitmap = wxBitmap:wxBitmap()

See external documentation.

setHelp(This, Str) -> ok

Types:

This = wxMenuItem()
Str = unicode:chardata()

See external documentation.

setMenu(This, Menu) -> ok

Types:

This = wxMenuItem()
Menu = wxMenu:wxMenu()

See external documentation.

setSubMenu(This, Menu) -> ok

Types:

This = wxMenuItem()
Menu = wxMenu:wxMenu()

See external documentation.

setText(This, Str) -> ok

Types:

This = wxMenuItem()
Str = unicode:chardata()

See external documentation.

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

Destroys this object, do not use object again

<>

wx 1.9.2