wxMenuItem(3) See external documentation: wxMenuItem.

DESCRIPTION

See external documentation: wxMenuItem.

DATA TYPES

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.

EXPORTS

new() -> wxMenuItem()

Equivalent to new([]).

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

Types:

Option = {parentMenu, wxMenu() (see module wxMenu)} | {id, integer()} | {text, chardata() (see module unicode)} | {help, chardata() (see module unicode)} | {kind, wx_enum() (see module wx)} | {subMenu, wxMenu() (see module 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() (see module wxBitmap)

Types:

This = wxMenuItem()

See external documentation.

getHelp(This) -> charlist() (see module unicode)

Types:

This = wxMenuItem()

See external documentation.

getId(This) -> integer()

Types:

This = wxMenuItem()

See external documentation.

getKind(This) -> wx_enum() (see module wx)

Types:

This = wxMenuItem()

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

getLabel(This) -> charlist() (see module unicode)

Types:

This = wxMenuItem()

See external documentation.

getLabelFromText(Text) -> charlist() (see module unicode)

Types:

Text = chardata() (see module unicode)

See external documentation.

getMenu(This) -> wxMenu() (see module wxMenu)

Types:

This = wxMenuItem()

See external documentation.

getText(This) -> charlist() (see module unicode)

Types:

This = wxMenuItem()

See external documentation.

getSubMenu(This) -> wxMenu() (see module 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() (see module wxBitmap)

See external documentation.

setHelp(This, Str) -> ok

Types:

This = wxMenuItem()
Str = chardata() (see module unicode)

See external documentation.

setMenu(This, Menu) -> ok

Types:

This = wxMenuItem()
Menu = wxMenu() (see module wxMenu)

See external documentation.

setSubMenu(This, Menu) -> ok

Types:

This = wxMenuItem()
Menu = wxMenu() (see module wxMenu)

See external documentation.

setText(This, Str) -> ok

Types:

This = wxMenuItem()
Str = chardata() (see module unicode)

See external documentation.

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

Destroys this object, do not use object again

AUTHORS

<>