Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.6


Expand All
Contract All

Table of Contents

wxMenuItem

MODULE

wxMenuItem

MODULE SUMMARY

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(Option::[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, Option::[Option]) -> ok

Types:

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

enable(This) -> ok

Types:

This = wxMenuItem()

Equivalent to enable(This, []).

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

Types:

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

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

Types:

This = wxMenuItem()

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

Types:

This = wxMenuItem()

getId(This) -> integer()

Types:

This = wxMenuItem()

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

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

Types:

Text = chardata() (see module unicode)

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

Types:

This = wxMenuItem()

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

Types:

This = wxMenuItem()

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

Types:

This = wxMenuItem()

isCheckable(This) -> boolean()

Types:

This = wxMenuItem()

isChecked(This) -> boolean()

Types:

This = wxMenuItem()

isEnabled(This) -> boolean()

Types:

This = wxMenuItem()

isSeparator(This) -> boolean()

Types:

This = wxMenuItem()

isSubMenu(This) -> boolean()

Types:

This = wxMenuItem()

setBitmap(This, Bitmap) -> ok

Types:

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

setHelp(This, Str) -> ok

Types:

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

setMenu(This, Menu) -> ok

Types:

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

setSubMenu(This, Menu) -> ok

Types:

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

setText(This, Str) -> ok

Types:

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

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

Destroys this object, do not use object again