.TH wxMenu 3erl "wx 1.9.2" "" "Erlang Module Definition" .SH NAME wxMenu \- See external documentation: wxMenu. .SH DESCRIPTION .LP See external documentation: wxMenu\&. .LP This class is derived (and can use functions) from: .br wxEvtHandler .SH "DATA TYPES" .RS 2 .TP 2 .B wxMenu(): .RS 2 .LP 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\&. .RE .RE .SH EXPORTS .LP .B new() -> wxMenu() .br .RS .LP Equivalent to new([])\&. .RE .LP .B new(Options::[Option]) -> wxMenu() .br .RS .LP Types: .RS 3 Option = {style, integer()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B new(Title, Options::[Option]) -> wxMenu() .br .RS .LP Types: .RS 3 Title = unicode:chardata() .br Option = {style, integer()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B append(This, Item) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Item = wxMenuItem:wxMenuItem() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B append(This, Itemid, Text) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br .RE .RE .RS .LP Equivalent to append(This, Itemid, Text, [])\&. .RE .LP .B append(This, Itemid, Text, Submenu) -> wxMenuItem:wxMenuItem() .br .B append(This, Itemid, Text, Submenu::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Submenu = wxMenu() .br This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Option = {help, unicode:chardata()} | {kind, wx:wx_enum()} .br .RE .RE .RS .LP See external documentation\&. .br Also: .br append(This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when .br This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), .br Option :: {\&'help\&', unicode:chardata()} .br | {\&'kind\&', wx:wx_enum()}\&. .br .LP .br Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX .RE .LP .B append(This, Itemid, Text, Help, IsCheckable) -> ok .br .B append(This, Itemid, Text, Submenu, IsCheckable::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Help = unicode:chardata() .br IsCheckable = boolean() .br This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Submenu = wxMenu() .br Option = {help, unicode:chardata()} .br .RE .RE .RS .LP See external documentation\&. .br Also: .br append(This, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when .br This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(), .br Option :: {\&'help\&', unicode:chardata()}\&. .br .RE .LP .B appendCheckItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br .RE .RE .RS .LP Equivalent to appendCheckItem(This, Itemid, Text, [])\&. .RE .LP .B appendCheckItem(This, Itemid, Text, Options::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Option = {help, unicode:chardata()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B appendRadioItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br .RE .RE .RS .LP Equivalent to appendRadioItem(This, Itemid, Text, [])\&. .RE .LP .B appendRadioItem(This, Itemid, Text, Options::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Option = {help, unicode:chardata()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B appendSeparator(This) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B break(This) -> ok .br .RS .LP Types: .RS 3 This = wxMenu() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B check(This, Itemid, Check) -> ok .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Check = boolean() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B delete(This, Itemid) -> boolean() .br .B delete(This, Item) -> boolean() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br This = wxMenu() .br Item = wxMenuItem:wxMenuItem() .br .RE .RE .RS .LP See external documentation\&. .br Also: .br delete(This, Item) -> boolean() when .br This::wxMenu(), Item::wxMenuItem:wxMenuItem()\&. .br .RE .LP .B Destroy(This, Itemid) -> boolean() .br .B Destroy(This, Item) -> boolean() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br This = wxMenu() .br Item = wxMenuItem:wxMenuItem() .br .RE .RE .RS .LP See external documentation\&. .br Also: .br \&'Destroy\&'(This, Item) -> boolean() when .br This::wxMenu(), Item::wxMenuItem:wxMenuItem()\&. .br .RE .LP .B enable(This, Itemid, Enable) -> ok .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Enable = boolean() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B findItem(This, Itemid) -> wxMenuItem:wxMenuItem() .br .B findItem(This, Item) -> integer() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br This = wxMenu() .br Item = unicode:chardata() .br .RE .RE .RS .LP See external documentation\&. .br Also: .br findItem(This, Item) -> integer() when .br This::wxMenu(), Item::unicode:chardata()\&. .br .RE .LP .B findItemByPosition(This, Position) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Position = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getHelpString(This, Itemid) -> unicode:charlist() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getLabel(This, Itemid) -> unicode:charlist() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getMenuItemCount(This) -> integer() .br .RS .LP Types: .RS 3 This = wxMenu() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getMenuItems(This) -> [wxMenuItem:wxMenuItem()] .br .RS .LP Types: .RS 3 This = wxMenu() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getTitle(This) -> unicode:charlist() .br .RS .LP Types: .RS 3 This = wxMenu() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B insert(This, Pos, Itemid) -> wxMenuItem:wxMenuItem() .br .B insert(This, Pos, Item) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Pos = integer() .br Itemid = integer() .br This = wxMenu() .br Pos = integer() .br Item = wxMenuItem:wxMenuItem() .br .RE .RE .RS .LP See external documentation\&. .br Also: .br insert(This, Pos, Item) -> wxMenuItem:wxMenuItem() when .br This::wxMenu(), Pos::integer(), Item::wxMenuItem:wxMenuItem()\&. .br .LP .br Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX .RE .LP .B insert(This, Pos, Itemid, Options::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Pos = integer() .br Itemid = integer() .br Option = {text, unicode:chardata()} | {help, unicode:chardata()} | {kind, wx:wx_enum()} .br .RE .RE .RS .LP See external documentation\&. .br Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX .RE .LP .B insert(This, Pos, Itemid, Text, Submenu) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Pos = integer() .br Itemid = integer() .br Text = unicode:chardata() .br Submenu = wxMenu() .br .RE .RE .RS .LP Equivalent to insert(This, Pos, Itemid, Text, Submenu, [])\&. .RE .LP .B insert(This, Pos, Itemid, Text, Help, IsCheckable) -> ok .br .B insert(This, Pos, Itemid, Text, Submenu, IsCheckable::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Pos = integer() .br Itemid = integer() .br Text = unicode:chardata() .br Help = unicode:chardata() .br IsCheckable = boolean() .br This = wxMenu() .br Pos = integer() .br Itemid = integer() .br Text = unicode:chardata() .br Submenu = wxMenu() .br Option = {help, unicode:chardata()} .br .RE .RE .RS .LP See external documentation\&. .br Also: .br insert(This, Pos, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when .br This::wxMenu(), Pos::integer(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(), .br Option :: {\&'help\&', unicode:chardata()}\&. .br .RE .LP .B insertCheckItem(This, Pos, Itemid, Text) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Pos = integer() .br Itemid = integer() .br Text = unicode:chardata() .br .RE .RE .RS .LP Equivalent to insertCheckItem(This, Pos, Itemid, Text, [])\&. .RE .LP .B insertCheckItem(This, Pos, Itemid, Text, Options::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Pos = integer() .br Itemid = integer() .br Text = unicode:chardata() .br Option = {help, unicode:chardata()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B insertRadioItem(This, Pos, Itemid, Text) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Pos = integer() .br Itemid = integer() .br Text = unicode:chardata() .br .RE .RE .RS .LP Equivalent to insertRadioItem(This, Pos, Itemid, Text, [])\&. .RE .LP .B insertRadioItem(This, Pos, Itemid, Text, Options::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Pos = integer() .br Itemid = integer() .br Text = unicode:chardata() .br Option = {help, unicode:chardata()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B insertSeparator(This, Pos) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Pos = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B isChecked(This, Itemid) -> boolean() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B isEnabled(This, Itemid) -> boolean() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B prepend(This, Itemid) -> wxMenuItem:wxMenuItem() .br .B prepend(This, Item) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br This = wxMenu() .br Item = wxMenuItem:wxMenuItem() .br .RE .RE .RS .LP See external documentation\&. .br Also: .br prepend(This, Item) -> wxMenuItem:wxMenuItem() when .br This::wxMenu(), Item::wxMenuItem:wxMenuItem()\&. .br .LP .br Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX .RE .LP .B prepend(This, Itemid, Options::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Option = {text, unicode:chardata()} | {help, unicode:chardata()} | {kind, wx:wx_enum()} .br .RE .RE .RS .LP See external documentation\&. .br Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX .RE .LP .B prepend(This, Itemid, Text, Submenu) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Submenu = wxMenu() .br .RE .RE .RS .LP Equivalent to prepend(This, Itemid, Text, Submenu, [])\&. .RE .LP .B prepend(This, Itemid, Text, Help, IsCheckable) -> ok .br .B prepend(This, Itemid, Text, Submenu, IsCheckable::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Help = unicode:chardata() .br IsCheckable = boolean() .br This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Submenu = wxMenu() .br Option = {help, unicode:chardata()} .br .RE .RE .RS .LP See external documentation\&. .br Also: .br prepend(This, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when .br This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(), .br Option :: {\&'help\&', unicode:chardata()}\&. .br .RE .LP .B prependCheckItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br .RE .RE .RS .LP Equivalent to prependCheckItem(This, Itemid, Text, [])\&. .RE .LP .B prependCheckItem(This, Itemid, Text, Options::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Option = {help, unicode:chardata()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B prependRadioItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br .RE .RE .RS .LP Equivalent to prependRadioItem(This, Itemid, Text, [])\&. .RE .LP .B prependRadioItem(This, Itemid, Text, Options::[Option]) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Text = unicode:chardata() .br Option = {help, unicode:chardata()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B prependSeparator(This) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B remove(This, Itemid) -> wxMenuItem:wxMenuItem() .br .B remove(This, Item) -> wxMenuItem:wxMenuItem() .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br This = wxMenu() .br Item = wxMenuItem:wxMenuItem() .br .RE .RE .RS .LP See external documentation\&. .br Also: .br remove(This, Item) -> wxMenuItem:wxMenuItem() when .br This::wxMenu(), Item::wxMenuItem:wxMenuItem()\&. .br .RE .LP .B setHelpString(This, Itemid, HelpString) -> ok .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br HelpString = unicode:chardata() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B setLabel(This, Itemid, Label) -> ok .br .RS .LP Types: .RS 3 This = wxMenu() .br Itemid = integer() .br Label = unicode:chardata() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B setTitle(This, Title) -> ok .br .RS .LP Types: .RS 3 This = wxMenu() .br Title = unicode:chardata() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B destroy(This::wxMenu()) -> ok .br .RS .LP Destroys this object, do not use object again .RE .SH AUTHORS .LP .I <>