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, Options::[Option]) -> wxMenu()
Types:
append(This, Item) -> wxMenuItem() (see module wxMenuItem)
Types:
append(This, Itemid, Text) -> wxMenuItem() (see module wxMenuItem)
Types:
Equivalent to append(This, Itemid, Text, []).
append(This, Itemid, Text, Submenu) -> wxMenuItem() (see module wxMenuItem)
Types:
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() (see module wxMenuItem)
Types:
Equivalent to appendCheckItem(This, Itemid, Text, []).
appendCheckItem(This, Itemid, Text, Options::[Option]) -> wxMenuItem() (see module wxMenuItem)
Types:
appendRadioItem(This, Itemid, Text) -> wxMenuItem() (see module wxMenuItem)
Types:
Equivalent to appendRadioItem(This, Itemid, Text, []).
appendRadioItem(This, Itemid, Text, Options::[Option]) -> wxMenuItem() (see module wxMenuItem)
Types:
appendSeparator(This) -> wxMenuItem() (see module wxMenuItem)
Types:
Types:
check(This, Itemid, Check) -> ok
Types:
delete(This, Itemid) -> boolean()
Types:
See external documentation.
Also:
delete(This, Item) -> boolean() when
This::wxMenu(), Item::wxMenuItem:wxMenuItem().
Destroy(This, Itemid) -> boolean()
Types:
See external documentation.
Also:
'Destroy'(This, Item) -> boolean() when
This::wxMenu(), Item::wxMenuItem:wxMenuItem().
enable(This, Itemid, Enable) -> ok
Types:
findItem(This, Itemid) -> wxMenuItem() (see module wxMenuItem)
Types:
See external documentation.
Also:
findItem(This, Item) -> integer() when
This::wxMenu(), Item::unicode:chardata().
findItemByPosition(This, Position) -> wxMenuItem() (see module wxMenuItem)
Types:
getHelpString(This, Itemid) -> charlist() (see module unicode)
Types:
getLabel(This, Itemid) -> charlist() (see module unicode)
Types:
getMenuItemCount(This) -> integer()
Types:
getMenuItems(This) -> [wxMenuItem() (see module wxMenuItem)]
Types:
getTitle(This) -> charlist() (see module unicode)
Types:
insert(This, Pos, Itemid) -> wxMenuItem() (see module wxMenuItem)
Types:
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() (see module wxMenuItem)
Types:
See external documentation.
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
insert(This, Pos, Itemid, Text, Submenu) -> wxMenuItem() (see module 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() (see module wxMenuItem)
Types:
Equivalent to insertCheckItem(This, Pos, Itemid, Text, []).
insertCheckItem(This, Pos, Itemid, Text, Options::[Option]) -> wxMenuItem() (see module wxMenuItem)
Types:
insertRadioItem(This, Pos, Itemid, Text) -> wxMenuItem() (see module wxMenuItem)
Types:
Equivalent to insertRadioItem(This, Pos, Itemid, Text, []).
insertRadioItem(This, Pos, Itemid, Text, Options::[Option]) -> wxMenuItem() (see module wxMenuItem)
Types:
insertSeparator(This, Pos) -> wxMenuItem() (see module wxMenuItem)
Types:
isChecked(This, Itemid) -> boolean()
Types:
isEnabled(This, Itemid) -> boolean()
Types:
prepend(This, Itemid) -> wxMenuItem() (see module wxMenuItem)
Types:
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() (see module wxMenuItem)
Types:
See external documentation.
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
prepend(This, Itemid, Text, Submenu) -> wxMenuItem() (see module wxMenuItem)
Types:
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() (see module wxMenuItem)
Types:
Equivalent to prependCheckItem(This, Itemid, Text, []).
prependCheckItem(This, Itemid, Text, Options::[Option]) -> wxMenuItem() (see module wxMenuItem)
Types:
prependRadioItem(This, Itemid, Text) -> wxMenuItem() (see module wxMenuItem)
Types:
Equivalent to prependRadioItem(This, Itemid, Text, []).
prependRadioItem(This, Itemid, Text, Options::[Option]) -> wxMenuItem() (see module wxMenuItem)
Types:
prependSeparator(This) -> wxMenuItem() (see module wxMenuItem)
Types:
remove(This, Itemid) -> wxMenuItem() (see module wxMenuItem)
Types:
See external documentation.
Also:
remove(This, Item) -> wxMenuItem:wxMenuItem() when
This::wxMenu(), Item::wxMenuItem:wxMenuItem().
setHelpString(This, Itemid, HelpString) -> ok
Types:
setLabel(This, Itemid, Label) -> ok
Types:
Types: