wxMenuItem

See external documentation: wxMenuItem.

See external documentation: wxMenuItem.

Types


wxMenuItem() = wx:wx_object()

Functions


new() -> wxMenuItem()

Equivalent to new([]).

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

  • 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

  • This = wxMenuItem()

Equivalent to check(This, []).

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

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

See external documentation.

enable(This) -> ok

  • This = wxMenuItem()

Equivalent to enable(This, []).

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

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

See external documentation.

getBitmap(This) -> wxBitmap() (see module wxBitmap)

  • This = wxMenuItem()

See external documentation.

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

  • This = wxMenuItem()

See external documentation.

getId(This) -> integer()

  • This = wxMenuItem()

See external documentation.

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

  • This = wxMenuItem()

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

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

  • This = wxMenuItem()

See external documentation.

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

  • Text = chardata() (see module unicode)

See external documentation.

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

  • This = wxMenuItem()

See external documentation.

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

  • This = wxMenuItem()

See external documentation.

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

  • This = wxMenuItem()

See external documentation.

isCheckable(This) -> boolean()

  • This = wxMenuItem()

See external documentation.

isChecked(This) -> boolean()

  • This = wxMenuItem()

See external documentation.

isEnabled(This) -> boolean()

  • This = wxMenuItem()

See external documentation.

isSeparator(This) -> boolean()

  • This = wxMenuItem()

See external documentation.

isSubMenu(This) -> boolean()

  • This = wxMenuItem()

See external documentation.

setBitmap(This, Bitmap) -> ok

  • This = wxMenuItem()
  • Bitmap = wxBitmap() (see module wxBitmap)

See external documentation.

setHelp(This, Str) -> ok

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

See external documentation.

setMenu(This, Menu) -> ok

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

See external documentation.

setSubMenu(This, Menu) -> ok

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

See external documentation.

setText(This, Str) -> ok

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

See external documentation.

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

Destroys this object, do not use object again