wxMenuItem(3)

MODULE
wxMenuItem - See external documentation: wxMenuItem.

DESCRIPTION

See external documentation: wxMenuItem <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html>.

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, string()} | {help, string()} | {kind, WxItemKind} | {subMenu, wxMenu() (see module wxMenu)}
        WxItemKind = integer()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemwxmenuitem>.
     WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX

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

    Equivalent to check(This, []).

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

    Types
        Option = {check, bool()}

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemcheck>.

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

    Equivalent to enable(This, []).

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

    Types
        Option = {enable, bool()}

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemenable>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetbitmap>.

getHelp(This::wxMenuItem()) -> string()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgethelp>.

getId(This::wxMenuItem()) -> integer()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetid>.

getKind(This::wxMenuItem()) -> WxItemKind

    Types
        WxItemKind = integer()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetkind>.
     WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX

getLabel(This::wxMenuItem()) -> string()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetlabel>.

getLabelFromText(Text::string()) -> string()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetlabelfromtext>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetmenu>.

getText(This::wxMenuItem()) -> string()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgettext>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetsubmenu>.

isCheckable(This::wxMenuItem()) -> bool()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemischeckable>.

isChecked(This::wxMenuItem()) -> bool()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemischecked>.

isEnabled(This::wxMenuItem()) -> bool()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemisenabled>.

isSeparator(This::wxMenuItem()) -> bool()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemisseparator>.

isSubMenu(This::wxMenuItem()) -> bool()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemissubmenu>.

setBitmap(This::wxMenuItem(), Bitmap::wxBitmap() (see module wxBitmap)) -> ok

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemsetbitmap>.

setHelp(This::wxMenuItem(), Str::string()) -> ok

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemsethelp>.

setMenu(This::wxMenuItem(), Menu::wxMenu() (see module wxMenu)) -> ok

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemsetmenu>.

setSubMenu(This::wxMenuItem(), Menu::wxMenu() (see module wxMenu)) -> ok

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemsetsubmenu>.

setText(This::wxMenuItem(), Str::string()) -> ok

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemsettext>.

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

    Destroys this object, do not use object again