wxMenu
See external documentation: wxMenu.
See external documentation:
This class is derived (and can use functions) from:
wxEvtHandler
Functions
new() -> wxMenu()
Equivalent to new([]).
new(Option::[Option]) -> wxMenu()
Option = {style, integer()}
See
new(Title, Option::[Option]) -> wxMenu()
Title = chardata() (see module unicode)
Option = {style, integer()}
See
append(This, Item) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Item = wxMenuItem() (see module wxMenuItem)
See
append(This, Itemid, Text) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Equivalent to append(This, Itemid, Text, []).
append(This, Itemid, Text, Submenu) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Submenu = wxMenu()
See
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
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Help = chardata() (see module unicode)
IsCheckable = boolean()
See
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)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Equivalent to appendCheckItem(This, Itemid, Text, []).
appendCheckItem(This, Itemid, Text, Option::[Option]) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Option = {help, chardata() (see module unicode)}
See
appendRadioItem(This, Itemid, Text) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Equivalent to appendRadioItem(This, Itemid, Text, []).
appendRadioItem(This, Itemid, Text, Option::[Option]) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Option = {help, chardata() (see module unicode)}
See
appendSeparator(This) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
See
break(This) -> ok
This = wxMenu()
See
check(This, Itemid, Check) -> ok
This = wxMenu()
Itemid = integer()
Check = boolean()
See
delete(This, Itemid) -> boolean()
This = wxMenu()
Itemid = integer()
See
Also:
delete(This, Item) -> boolean() when
This::wxMenu(), Item::wxMenuItem:wxMenuItem().
Destroy(This, Itemid) -> boolean()
This = wxMenu()
Itemid = integer()
See
Also:
'Destroy'(This, Item) -> boolean() when
This::wxMenu(), Item::wxMenuItem:wxMenuItem().
enable(This, Itemid, Enable) -> ok
This = wxMenu()
Itemid = integer()
Enable = boolean()
See
findItem(This, Itemid) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
See
Also:
findItem(This, Item) -> integer() when
This::wxMenu(), Item::unicode:chardata().
findItemByPosition(This, Position) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Position = integer()
See
getHelpString(This, Itemid) -> charlist() (see module unicode)
This = wxMenu()
Itemid = integer()
See
getLabel(This, Itemid) -> charlist() (see module unicode)
This = wxMenu()
Itemid = integer()
See
getMenuItemCount(This) -> integer()
This = wxMenu()
See
getMenuItems(This) -> [wxMenuItem() (see module wxMenuItem)]
This = wxMenu()
See
getTitle(This) -> charlist() (see module unicode)
This = wxMenu()
See
insert(This, Pos, Itemid) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Pos = integer()
Itemid = integer()
See
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, Option::[Option]) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Pos = integer()
Itemid = integer()
Option = {text, chardata() (see module unicode)} | {help, chardata() (see module unicode)} | {kind, wx_enum() (see module wx)}
See
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
insert(This, Pos, Itemid, Text, Submenu) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Pos = integer()
Itemid = integer()
Text = chardata() (see module unicode)
Submenu = wxMenu()
Equivalent to insert(This, Pos, Itemid, Text, Submenu, []).
insert(This, Pos, Itemid, Text, Help, IsCheckable) -> ok
This = wxMenu()
Pos = integer()
Itemid = integer()
Text = chardata() (see module unicode)
Help = chardata() (see module unicode)
IsCheckable = boolean()
See
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)
This = wxMenu()
Pos = integer()
Itemid = integer()
Text = chardata() (see module unicode)
Equivalent to insertCheckItem(This, Pos, Itemid, Text, []).
insertCheckItem(This, Pos, Itemid, Text, Option::[Option]) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Pos = integer()
Itemid = integer()
Text = chardata() (see module unicode)
Option = {help, chardata() (see module unicode)}
See
insertRadioItem(This, Pos, Itemid, Text) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Pos = integer()
Itemid = integer()
Text = chardata() (see module unicode)
Equivalent to insertRadioItem(This, Pos, Itemid, Text, []).
insertRadioItem(This, Pos, Itemid, Text, Option::[Option]) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Pos = integer()
Itemid = integer()
Text = chardata() (see module unicode)
Option = {help, chardata() (see module unicode)}
See
insertSeparator(This, Pos) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Pos = integer()
See
isChecked(This, Itemid) -> boolean()
This = wxMenu()
Itemid = integer()
See
isEnabled(This, Itemid) -> boolean()
This = wxMenu()
Itemid = integer()
See
prepend(This, Itemid) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
See
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, Option::[Option]) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
Option = {text, chardata() (see module unicode)} | {help, chardata() (see module unicode)} | {kind, wx_enum() (see module wx)}
See
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
prepend(This, Itemid, Text, Submenu) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Submenu = wxMenu()
Equivalent to prepend(This, Itemid, Text, Submenu, []).
prepend(This, Itemid, Text, Help, IsCheckable) -> ok
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Help = chardata() (see module unicode)
IsCheckable = boolean()
See
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)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Equivalent to prependCheckItem(This, Itemid, Text, []).
prependCheckItem(This, Itemid, Text, Option::[Option]) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Option = {help, chardata() (see module unicode)}
See
prependRadioItem(This, Itemid, Text) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Equivalent to prependRadioItem(This, Itemid, Text, []).
prependRadioItem(This, Itemid, Text, Option::[Option]) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
Text = chardata() (see module unicode)
Option = {help, chardata() (see module unicode)}
See
prependSeparator(This) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
See
remove(This, Itemid) -> wxMenuItem() (see module wxMenuItem)
This = wxMenu()
Itemid = integer()
See
Also:
remove(This, Item) -> wxMenuItem:wxMenuItem() when
This::wxMenu(), Item::wxMenuItem:wxMenuItem().
setHelpString(This, Itemid, HelpString) -> ok
This = wxMenu()
Itemid = integer()
HelpString = chardata() (see module unicode)
See
setLabel(This, Itemid, Label) -> ok
This = wxMenu()
Itemid = integer()
Label = chardata() (see module unicode)
See
setTitle(This, Title) -> ok
This = wxMenu()
Title = chardata() (see module unicode)
See
destroy(This::wxMenu()) -> ok
Destroys this object, do not use object again