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