wxMenu
MODULE
MODULE SUMMARY
DESCRIPTION
See external documentation: wxMenu.
This class is derived (and can use functions) from:
wxEvtHandler
DATA TYPES
EXPORTS
Equivalent to new([]).
new(Options::[Option]) -> wxMenu()
Types:
new(Title::string(), Options::[Option]) -> wxMenu()
Types:
append(This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem() (see module wxMenuItem)
Equivalent to append(This, Itemid, Text, []).
See external documentation.
Alternatives:
append(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu()) -> append(This,Itemid,Text,Submenu, [])
append(This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem()
Option = {help, string()} | {kind, WxItemKind}
WxItemKind = integer()
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
See external documentation.
Alternatives:
append(This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok
append(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(), [Option]) -> wxMenuItem:wxMenuItem()
Option = {help, string()}
Equivalent to appendCheckItem(This, Itemid, Text, []).
Types:
Equivalent to appendRadioItem(This, Itemid, Text, []).
Types:
appendSeparator(This::wxMenu()) -> wxMenuItem() (see module wxMenuItem)
check(This::wxMenu(), Itemid::integer(), Check::bool()) -> ok
delete(This::wxMenu(), X::integer() | term()) -> bool()
See external documentation.
Alternatives:
delete(This::wxMenu(), Itemid::integer()) -> bool()
delete(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> bool()
Destroy(This::wxMenu(), X::integer() | term()) -> bool()
See external documentation.
Alternatives:
'Destroy'(This::wxMenu(), Itemid::integer()) -> bool()
'Destroy'(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> bool()
enable(This::wxMenu(), Itemid::integer(), Enable::bool()) -> ok
See external documentation.
Alternatives:
findItem(This::wxMenu(), Itemid::integer()) -> wxMenuItem:wxMenuItem()
findItem(This::wxMenu(), Item::string()) -> integer()
findItemByPosition(This::wxMenu(), Position::integer()) -> wxMenuItem() (see module wxMenuItem)
getHelpString(This::wxMenu(), Itemid::integer()) -> string()
getLabel(This::wxMenu(), Itemid::integer()) -> string()
getMenuItemCount(This::wxMenu()) -> integer()
getMenuItems(This::wxMenu()) -> [wxMenuItem() (see module wxMenuItem)]
getTitle(This::wxMenu()) -> string()
See external documentation.
Alternatives:
insert(This::wxMenu(), Pos::integer(), Itemid::integer()) -> insert(This,Pos,Itemid, [])
insert(This::wxMenu(), Pos::integer(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem()
Types:
See external documentation.
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
Equivalent to insert(This, Pos, Itemid, Text, Submenu, []).
See external documentation.
Alternatives:
insert(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok
insert(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Submenu::wxMenu(), [Option]) -> wxMenuItem:wxMenuItem()
Option = {help, string()}
Equivalent to insertCheckItem(This, Pos, Itemid, Text, []).
Types:
Equivalent to insertRadioItem(This, Pos, Itemid, Text, []).
Types:
insertSeparator(This::wxMenu(), Pos::integer()) -> wxMenuItem() (see module wxMenuItem)
isChecked(This::wxMenu(), Itemid::integer()) -> bool()
isEnabled(This::wxMenu(), Itemid::integer()) -> bool()
prepend(This::wxMenu(), X::integer() | term()) -> wxMenuItem() (see module wxMenuItem)
See external documentation.
Alternatives:
prepend(This::wxMenu(), Itemid::integer()) -> prepend(This,Itemid, [])
prepend(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem()
Types:
See external documentation.
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
Equivalent to prepend(This, Itemid, Text, Submenu, []).
See external documentation.
Alternatives:
prepend(This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok
prepend(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(), [Option]) -> wxMenuItem:wxMenuItem()
Option = {help, string()}
Equivalent to prependCheckItem(This, Itemid, Text, []).
Types:
Equivalent to prependRadioItem(This, Itemid, Text, []).
Types:
prependSeparator(This::wxMenu()) -> wxMenuItem() (see module wxMenuItem)
remove(This::wxMenu(), X::integer() | term()) -> wxMenuItem() (see module wxMenuItem)
See external documentation.
Alternatives:
remove(This::wxMenu(), Itemid::integer()) -> wxMenuItem:wxMenuItem()
remove(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem()
setHelpString(This::wxMenu(), Itemid::integer(), HelpString::string()) -> ok
setLabel(This::wxMenu(), Itemid::integer(), Label::string()) -> ok