Module wxMenu

See external documentation: wxMenu.

Description

See external documentation: wxMenu.
This class is derived (and can use functions) from:
  • wxEvtHandler
  • Data Types

    wxMenu()

    abstract datatype: wxMenu()

    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.

    Function Index

    'Destroy'/2*See external documentation.
    append/2*See external documentation.
    append/3*Equivalent to append(This, Itemid, Text, []).
    append/4*See external documentation.
    append/5*See external documentation.
    appendCheckItem/3*Equivalent to appendCheckItem(This, Itemid, Text, []).
    appendCheckItem/4*See external documentation.
    appendRadioItem/3*Equivalent to appendRadioItem(This, Itemid, Text, []).
    appendRadioItem/4*See external documentation.
    appendSeparator/1*See external documentation.
    break/1*See external documentation.
    check/3*See external documentation.
    delete/2*See external documentation.
    destroy/1*Destroys this object, do not use object again.
    enable/3*See external documentation.
    findItem/2*See external documentation.
    findItemByPosition/2*See external documentation.
    getHelpString/2*See external documentation.
    getLabel/2*See external documentation.
    getMenuItemCount/1*See external documentation.
    getMenuItems/1*See external documentation.
    getTitle/1*See external documentation.
    insert/3*See external documentation.
    insert/4*See external documentation.
    insert/5*Equivalent to insert(This, Pos, Itemid, Text, Submenu, []).
    insert/6*See external documentation.
    insertCheckItem/4*Equivalent to insertCheckItem(This, Pos, Itemid, Text, []).
    insertCheckItem/5*See external documentation.
    insertRadioItem/4*Equivalent to insertRadioItem(This, Pos, Itemid, Text, []).
    insertRadioItem/5*See external documentation.
    insertSeparator/2*See external documentation.
    isChecked/2*See external documentation.
    isEnabled/2*See external documentation.
    new/0*Equivalent to new([]).
    new/1*See external documentation.
    new/2*See external documentation.
    prepend/2*See external documentation.
    prepend/3*See external documentation.
    prepend/4*Equivalent to prepend(This, Itemid, Text, Submenu, []).
    prepend/5*See external documentation.
    prependCheckItem/3*Equivalent to prependCheckItem(This, Itemid, Text, []).
    prependCheckItem/4*See external documentation.
    prependRadioItem/3*Equivalent to prependRadioItem(This, Itemid, Text, []).
    prependRadioItem/4*See external documentation.
    prependSeparator/1*See external documentation.
    remove/2*See external documentation.
    setHelpString/3*See external documentation.
    setLabel/3*See external documentation.
    setTitle/2*See external documentation.

    Function Details

    'Destroy'/2 *

    'Destroy'(This::wxMenu(), X::integer() | term()) -> bool()

    See external documentation.
    Alternatives:

  • 'Destroy'(This::wxMenu(), Itemid::integer()) -> bool()
  • 'Destroy'(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> bool()
  • append/2 *

    append(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem()

    See external documentation.

    append/3 *

    append(This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()

    Equivalent to append(This, Itemid, Text, []).

    append/4 *

    append(This::wxMenu(), Itemid::integer(), Text::string(), X::wxMenu() | term()) -> wxMenuItem:wxMenuItem()

    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
  • append/5 *

    append(This::wxMenu(), Itemid::integer(), Text::string(), X::string() | wxMenu(), X::bool() | term()) -> ok | wxMenuItem:wxMenuItem()

    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()}
  • appendCheckItem/3 *

    appendCheckItem(This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()

    Equivalent to appendCheckItem(This, Itemid, Text, []).

    appendCheckItem/4 *

    appendCheckItem(This::wxMenu(), Itemid::integer(), Text::string(), Options::[Option]) -> wxMenuItem:wxMenuItem()

    See external documentation.

    appendRadioItem/3 *

    appendRadioItem(This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()

    Equivalent to appendRadioItem(This, Itemid, Text, []).

    appendRadioItem/4 *

    appendRadioItem(This::wxMenu(), Itemid::integer(), Text::string(), Options::[Option]) -> wxMenuItem:wxMenuItem()

    See external documentation.

    appendSeparator/1 *

    appendSeparator(This::wxMenu()) -> wxMenuItem:wxMenuItem()

    See external documentation.

    break/1 *

    break(This::wxMenu()) -> ok

    See external documentation.

    check/3 *

    check(This::wxMenu(), Itemid::integer(), Check::bool()) -> ok

    See external documentation.

    delete/2 *

    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/1 *

    destroy(This::wxMenu()) -> ok

    Destroys this object, do not use object again

    enable/3 *

    enable(This::wxMenu(), Itemid::integer(), Enable::bool()) -> ok

    See external documentation.

    findItem/2 *

    findItem(This::wxMenu(), X::integer() | string()) -> wxMenuItem:wxMenuItem() | integer()

    See external documentation.
    Alternatives:

  • findItem(This::wxMenu(), Itemid::integer()) -> wxMenuItem:wxMenuItem()
  • findItem(This::wxMenu(), Item::string()) -> integer()
  • findItemByPosition/2 *

    findItemByPosition(This::wxMenu(), Position::integer()) -> wxMenuItem:wxMenuItem()

    See external documentation.

    getHelpString/2 *

    getHelpString(This::wxMenu(), Itemid::integer()) -> string()

    See external documentation.

    getLabel/2 *

    getLabel(This::wxMenu(), Itemid::integer()) -> string()

    See external documentation.

    getMenuItemCount/1 *

    getMenuItemCount(This::wxMenu()) -> integer()

    See external documentation.

    getMenuItems/1 *

    getMenuItems(This::wxMenu()) -> [wxMenuItem:wxMenuItem()]

    See external documentation.

    getTitle/1 *

    getTitle(This::wxMenu()) -> string()

    See external documentation.

    insert/3 *

    insert(This::wxMenu(), Pos::integer(), X::integer() | term()) -> wxMenuItem:wxMenuItem()

    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()
  • insert/4 *

    insert(This::wxMenu(), Pos::integer(), Itemid::integer(), Options::[Option]) -> wxMenuItem:wxMenuItem()

    See external documentation.
    WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX

    insert/5 *

    insert(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Submenu::wxMenu()) -> wxMenuItem:wxMenuItem()

    Equivalent to insert(This, Pos, Itemid, Text, Submenu, []).

    insert/6 *

    insert(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), X::string() | wxMenu(), X::bool() | term()) -> ok | wxMenuItem:wxMenuItem()

    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()}
  • insertCheckItem/4 *

    insertCheckItem(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()

    Equivalent to insertCheckItem(This, Pos, Itemid, Text, []).

    insertCheckItem/5 *

    insertCheckItem(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Options::[Option]) -> wxMenuItem:wxMenuItem()

    See external documentation.

    insertRadioItem/4 *

    insertRadioItem(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()

    Equivalent to insertRadioItem(This, Pos, Itemid, Text, []).

    insertRadioItem/5 *

    insertRadioItem(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Options::[Option]) -> wxMenuItem:wxMenuItem()

    See external documentation.

    insertSeparator/2 *

    insertSeparator(This::wxMenu(), Pos::integer()) -> wxMenuItem:wxMenuItem()

    See external documentation.

    isChecked/2 *

    isChecked(This::wxMenu(), Itemid::integer()) -> bool()

    See external documentation.

    isEnabled/2 *

    isEnabled(This::wxMenu(), Itemid::integer()) -> bool()

    See external documentation.

    new/0 *

    new() -> wxMenu()

    Equivalent to new([]).

    new/1 *

    new(Options::[Option]) -> wxMenu()

    See external documentation.

    new/2 *

    new(Title::string(), Options::[Option]) -> wxMenu()

    See external documentation.

    prepend/2 *

    prepend(This::wxMenu(), X::integer() | term()) -> wxMenuItem:wxMenuItem()

    See external documentation.
    Alternatives:

  • prepend(This::wxMenu(), Itemid::integer()) -> prepend(This,Itemid, [])
  • prepend(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem()
  • prepend/3 *

    prepend(This::wxMenu(), Itemid::integer(), Options::[Option]) -> wxMenuItem:wxMenuItem()

    See external documentation.
    WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX

    prepend/4 *

    prepend(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu()) -> wxMenuItem:wxMenuItem()

    Equivalent to prepend(This, Itemid, Text, Submenu, []).

    prepend/5 *

    prepend(This::wxMenu(), Itemid::integer(), Text::string(), X::string() | wxMenu(), X::bool() | term()) -> ok | wxMenuItem:wxMenuItem()

    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()}
  • prependCheckItem/3 *

    prependCheckItem(This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()

    Equivalent to prependCheckItem(This, Itemid, Text, []).

    prependCheckItem/4 *

    prependCheckItem(This::wxMenu(), Itemid::integer(), Text::string(), Options::[Option]) -> wxMenuItem:wxMenuItem()

    See external documentation.

    prependRadioItem/3 *

    prependRadioItem(This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()

    Equivalent to prependRadioItem(This, Itemid, Text, []).

    prependRadioItem/4 *

    prependRadioItem(This::wxMenu(), Itemid::integer(), Text::string(), Options::[Option]) -> wxMenuItem:wxMenuItem()

    See external documentation.

    prependSeparator/1 *

    prependSeparator(This::wxMenu()) -> wxMenuItem:wxMenuItem()

    See external documentation.

    remove/2 *

    remove(This::wxMenu(), X::integer() | term()) -> wxMenuItem:wxMenuItem()

    See external documentation.
    Alternatives:

  • remove(This::wxMenu(), Itemid::integer()) -> wxMenuItem:wxMenuItem()
  • remove(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem()
  • setHelpString/3 *

    setHelpString(This::wxMenu(), Itemid::integer(), HelpString::string()) -> ok

    See external documentation.

    setLabel/3 *

    setLabel(This::wxMenu(), Itemid::integer(), Label::string()) -> ok

    See external documentation.

    setTitle/2 *

    setTitle(This::wxMenu(), Title::string()) -> ok

    See external documentation.


    Generated by EDoc, May 26 2008, 12:35:34.